source: trunk/web/addons/job_monarch/templates/overview.tpl @ 247

Last change on this file since 247 was 247, checked in by bastiaans, 16 years ago

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

  • changed to reflect same style as overview (optional memory column)

web/addons/job_monarch/search.php:

  • changed to new style with optional memory column

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

  • corrected small typo
File size: 5.0 KB
Line 
1<BR><BR>
2
3<CENTER>
4<TABLE cellpadding="15">
5<TR>
6
7  <TD>
8
9<TABLE ALIGN=CENTER class="overview" cellpadding="5">
10
11<COL id="kol1">
12<COL id="kol2">
13<COL id="kol3">
14<COL id="kol4">
15
16<TR class="overview_header">
17<TD>Batch</TD>
18<TD>Jobs</TD>
19<TD>Nodes</TD>
20<TD>Cpus</TD>
21</TR>
22
23<TR class="overview_line">
24<TD class="blue">
25Capacity
26</TD>
27<TD class="blue">
28</TD>
29<TD class="blue">
30{avail_nodes}
31</TD>
32<TD class="blue">
33{avail_cpus}
34</TD>
35</TR>
36
37
38<TR class="overview">
39<TD class="red">
40Running
41</TD>
42<TD class="red">
43{running_jobs}
44</TD>
45<TD class="red">
46{running_nodes}
47</TD>
48<TD class="red">
49{running_cpus}
50</TD>
51</TR>
52
53<TR class="overview_line">
54<TD class="gray">
55Queued
56</TD>
57<TD class="gray">
58{queued_jobs}
59</TD>
60<TD class="gray">
61{queued_nodes}
62</TD>
63<TD class="gray">
64{queued_cpus}
65</TD>
66</TR>
67
68<TR class="overview">
69<TD class="brown">
70Total
71</TD>
72<TD class="brown">
73{total_jobs}
74</TD>
75<TD class="brown">
76{total_nodes}
77</TD>
78<TD class="brown">
79{total_cpus}
80</TD>
81</TR>
82
83<TR class="overview">
84<TD class="green">
85Free
86</TD>
87<TD class="green">
88</TD>
89<TD class="green">
90{free_nodes}
91</TD>
92<TD class="green">
93{free_cpus}
94</TD>
95</TR>
96
97<TR class="overview" id="selected">
98<TD>
99View
100</TD>
101<TD>
102{view_jobs}
103</TD>
104<TD>
105{view_nodes}
106</TD>
107<TD>
108{view_cpus}
109</TD>
110</TR>
111
112</TABLE>
113
114  <TD ALIGN="CENTER"><CENTER>
115    <IMG SRC="{clusterimage}"><BR>
116<FONT class="footer">Last updated: {report_time}</FONT></CENTER>
117  </TD>
118
119  </TD>
120  <TD ALIGN="CENTER">
121    <IMG SRC="{pie}">
122  </TD>
123</TR>
124</TABLE>
125
126<BR>
127
128<SCRIPT TYPE="text/javascript" SRC="libtoga.js"></SCRIPT>
129
130<INPUT TYPE="HIDDEN" NAME="sortby" VALUE="{sortby}">
131<INPUT TYPE="HIDDEN" NAME="sortorder" VALUE="{sortorder}">
132<INPUT TYPE="HIDDEN" NAME="c" VALUE="{clustername}">
133<INPUT TYPE="HIDDEN" NAME="queue" VALUE="{f_queue}">
134<INPUT TYPE="HIDDEN" NAME="state" VALUE="{f_state}">
135<INPUT TYPE="HIDDEN" NAME="user" VALUE="{f_user}">
136<INPUT TYPE="HIDDEN" NAME="id" VALUE="{f_id}">
137<INPUT TYPE="HIDDEN" NAME="filterorder" VALUE="{f_order}">
138
139<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="2" BORDER=0>
140<TR CLASS="monarch">
141<TH><B><A HREF="#" onClick="setSort( 'id' )" ALT="Jobid" TITLE="Jobid">Id</A></B></TH>
142<TH><B><A HREF="#" onClick="setSort( 'state' )" ALT="State" TITLE="State">S</A></B></TH>
143<TH><B><A HREF="#" onClick="setSort( 'user' )">User</A></B></TH>
144<TH><B><A HREF="#" onClick="setSort( 'queue' )">Queue</A></B></TH>
145<TH><B><A HREF="#" onClick="setSort( 'name' )" ALT="Jobname" TITLE="Jobname">Name</A></B></TH>
146<TH><B><A HREF="#" onClick="setSort( 'req_cpu' )" ALT="Requested CPU Time (walltime)" TITLE="Requested CPU Time (walltime)">Req. CPU time</A></B></TH>
147<!-- START BLOCK : column_header_req_mem -->
148<TH><B><A HREF="#" onClick="setSort( 'req_mem' )" ALT="Requested Memory" TITLE="Requested Memory">Req. Memory</A></B></TH>
149<!-- END BLOCK : column_header_req_mem -->
150<TH><B><A HREF="#" onClick="setSort( 'nodes' )" ALT="Nodes" TITLE="Nodes">N</A>/<A HREF="#" onClick="setSort( 'cpus' )" ALT="Processors" TITLE="Processors">P</A></B></TH>
151<!-- START BLOCK : column_header_queued -->
152<TH><B><A HREF="#" onClick="setSort( 'queued' )">Queued</A></B></TH>
153<!-- END BLOCK : column_header_queued -->
154<TH><B><A HREF="#" onClick="setSort( 'start' )">Started</A></B></TH>
155<TH><B><A HREF="#" onClick="setSort( 'runningtime' )">Runningtime</A></B></TH>
156</TR>
157
158<!-- START BLOCK : node -->
159  <TR CLASS="{nodeclass}">
160    <TD><A HREF="#" onClick="setFilter( 'id', '{id}' )">{id}</A></TD>
161    <TD><A HREF="#" onClick="setFilter( 'state', '{state}' )" ALT="{fullstate}" TITLE="{fullstate}">{state}</A></TD>
162    <TD><A HREF="#" onClick="setFilter( 'user', '{user}' )">{user}</A></TD>
163    <TD><A HREF="#" onClick="setFilter( 'queue', '{queue}' )">{queue}</A></TD>
164    <TD ALT="{fulljobname}" TITLE="{fulljobname}">
165<!-- START BLOCK : jobname_hint_start -->
166    <FONT CLASS="jobname_hint">
167<!-- END BLOCK : jobname_hint_start -->
168    {name}
169<!-- START BLOCK : jobname_hint_end -->
170    </FONT>
171<!-- END BLOCK : jobname_hint_end -->
172    </TD>
173    <TD>{req_cpu}</TD>
174<!-- START BLOCK : column_req_mem -->
175    <TD>{req_memory}</TD>
176<!-- END BLOCK : column_req_mem -->
177    <TD>{nodes}/{cpus}</TD>
178<!-- START BLOCK : column_queued -->
179    <TD>{queued}</TD>
180<!-- END BLOCK : column_queued -->
181    <TD>{started}</TD>
182    <TD>{runningtime}</TD>
183  </TR>
184<!-- END BLOCK : node -->
185</TABLE>
186</CENTER>
187
188<!-- START BLOCK : showhosts -->
189<TABLE BORDER="0" WIDTH="100%">
190<TR>
191  <TD CLASS=title COLSPAN="2">
192  <FONT SIZE="-1">
193  Show Hosts:
194  yes<INPUT type=radio name="sh" value="1" OnClick="toga_form.submit();" {checked1}>
195  no<INPUT type=radio name="sh" value="0" OnClick="toga_form.submit();" {checked0}>
196  </FONT>
197  |
198  job <strong>{id}</strong> metric <strong>{metric}</strong>
199  |
200   <FONT SIZE="-1">
201   Columns&nbsp;&nbsp;{cols_menu}
202   </FONT>
203  </TD>
204</TR>
205   
206</TABLE>
207
208<CENTER>
209<TABLE>
210<TR>
211<!-- START BLOCK : sorted_list -->
212{metric_image}{br}
213<!-- END BLOCK : sorted_list -->
214</TR>
215</TABLE>
216
217<p>
218(Nodes colored by 1-minute load) | <A HREF="../../node_legend.html" ALT="Node Image egend">Legend</A>
219
220</CENTER>
221
222<!-- END BLOCK : showhosts -->
Note: See TracBrowser for help on using the repository browser.