source: trunk/web/addons/toga/templates/search.tpl @ 138

Last change on this file since 138 was 138, checked in by bastiaans, 18 years ago

web/addons/toga/templates/search_results.tpl:

  • Setup for search results template

web/addons/toga/templates/overview.tpl:

  • Misc testing stuff for remembering filter order

web/addons/toga/templates/search.tpl:

  • Template for search

web/addons/toga/index.php:

  • Testing stuff from remembering filter order
  • Do not add filters in a search window

web/addons/toga/overview.php:

  • Extra test field for filterorder

web/addons/toga/search.php:

  • First good setup for search page

web/addons/toga/libtoga.php:

  • Added class TarchDbase? for searching SQL dbase for archived jobs
  • Added TarchRrd? for future generation of RRD Graphs for archived jobs
  • Cleaned up old RRD file generation code (we can graph on the fly!)
File size: 3.4 KB
Line 
1<CENTER>
2</FORM>
3<SCRIPT LANGUAGE="javascript" SRC="ts_picker.js"></SCRIPT>
4<SCRIPT LANGUAGE="javascript">
5
6        function setHiddenTimestamps() {
7
8                document.archive_search_form.start_from_time.value = document.archive_search_form.start_from_pick.value;
9                document.archive_search_form.start_to_time.value = document.archive_search_form.start_to_pick.value;
10                document.archive_search_form.end_from_time.value = document.archive_search_form.end_from_pick.value;
11                document.archive_search_form.end_to_time.value = document.archive_search_form.end_to_pick.value;
12                alert( "poep gezet" );
13        }
14
15</SCRIPT>
16
17<FORM NAME="archive_search_form" ACTION="./">
18
19<INPUT TYPE="hidden" NAME="c" VALUE="{cluster}">
20<INPUT TYPE="hidden" NAME="view" VALUE="search">
21
22<BR><BR>
23
24<TABLE WIDTH="90%">
25
26<TR>
27  <TD CLASS=title COLSPAN="2">
28  <B>Search job archive</B>
29  </TD>
30</TR>
31
32</TABLE>
33
34<BR><BR>
35
36<TABLE WIDTH="90%">
37
38<TR>
39  <TD></TD>
40  <TD></TD>
41  <TD></TD>
42  <TD></TD>
43  <TD></TD>
44  <TD></TD>
45</TR>
46
47<TR>
48
49  <TD>
50  Id:
51  </TD>
52  <TD>
53  <INPUT TYPE="TEXT" NAME="id" VALUE="{id_value}">
54  </TD>
55
56</TR>
57
58<TR>
59
60  <TD>
61  User:
62  </TD>
63  <TD>
64  <INPUT TYPE="TEXT" NAME="user" VALUE="{user_value}">
65  </TD>
66
67  <TD>
68  Queue:
69  </TD>
70  <TD>
71  <INPUT TYPE="TEXT" NAME="queue" VALUE="{queue_value}">
72  </TD>
73
74  <TD>
75  Name:
76  </TD>
77  <TD>
78  <INPUT TYPE="TEXT" NAME="name" VALUE="{name_value}">
79  </TD>
80
81</TR>
82
83<TR>
84
85  <TD></TD>
86  <TD>
87  Job <B>start</B> between
88  </TD>
89
90  <TD>
91  From:
92  </TD>
93  <TD>
94  <INPUT TYPE="HIDDEN" NAME="start_from_time" VALUE="{start_from_value}">
95  <INPUT TYPE="TEXT" NAME="start_from_pick" VALUE="{start_from_value}" DISABLED="TRUE"> <A HREF="javascript:show_calendar('document.archive_search_form.start_from_pick', document.archive_search_form.start_from_pick.value );"><IMG SRC="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>
96  </TD>
97 
98  <TD>
99  To:
100  </TD>
101  <TD>
102  <INPUT TYPE="HIDDEN" NAME="start_to_time" VALUE="{start_to_value}">
103  <INPUT TYPE="TEXT" NAME="start_to_pick" VALUE="{start_to_value}" DISABLED="TRUE"><a href="javascript:show_calendar('document.archive_search_form.start_to_pick', document.archive_search_form.start_to_pick.value );"> <img src="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>
104  </TD>
105 
106</TR>
107
108<TR>
109
110  <TD></TD>
111  <TD>
112  Job <B>end</B> between
113  </TD>
114
115  <TD>
116  From:
117  </TD>
118  <TD>
119  <INPUT TYPE="HIDDEN" NAME="end_from_time" VALUE="{end_from_value}">
120  <INPUT TYPE="TEXT" NAME="end_from_pick" VALUE="{end_from_value}" DISABLED="TRUE"> <A HREF="javascript:show_calendar('document.archive_search_form.end_from_pick', document.archive_search_form.end_from_pick.value );"><IMG SRC="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>
121  </TD>
122 
123  <TD>
124  To:
125  </TD>
126  <TD>
127  <INPUT TYPE="HIDDEN" NAME="end_to_time" VALUE="{end_to_value}">
128  <INPUT TYPE="TEXT" NAME="end_to_pick" VALUE="{end_to_value}" DISABLED="TRUE"><a href="javascript:show_calendar('document.archive_search_form.end_to_pick', document.archive_search_form.end_to_pick.value );"> <img src="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>
129  </TD>
130 
131</TR>
132
133<TR>
134
135  <TD></TD>
136  <TD></TD>
137  <TD></TD>
138  <TD></TD>
139  <TD>{form_error_msg}</TD>
140  <TD>
141  <INPUT TYPE="submit" VALUE="Search archive" onClick="setHiddenTimestamps();">
142  </TD>
143
144</TR>
145
146</TABLE>
147</FORM>
148<BR><BR>
149<!-- INCLUDE BLOCK : search_results -->
150<BR><BR>
151<!-- INCLUDE BLOCK : job_details -->
152</CENTER>
Note: See TracBrowser for help on using the repository browser.