source: branches/1.0/web/addons/job_monarch/templates/overview.tpl @ 876

Last change on this file since 876 was 876, checked in by ramonb, 7 years ago

overview.tpl:

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