1 [% WRAPPER page.tt title = "mgmt@analysis" %]
2 <h3><a href=".">⇑</a> Management</h3>
4 <a href="#nupcom">Upcoming jobs ("nupcom")</a><br/>
5 <a href="#nrecent">Recent jobs ("nrecent")</a><br/>
9 <dt><b>Running Jobs ([% mgmt.runningcnt -%]/[% mgmt.concurrencylimit -%])</b></dt>
11 [% IF mgmt.runningcnt OR mgmt.concurrencylimit %]
12 <table class="texttable" id="mgmt_0" style="width: auto; border-collapse: collapse; border: solid black 2px; margin: 12px 12px 12px 12px;">
17 <th data-sorter="text">start</th>
18 <th data-sorter="text">estimation type</th>
19 <th data-sorter="text">estimated calc time</th>
20 <th data-sorter="text">ETA</th>
21 <th data-sorter="text">slot free at</th>
25 [% FOR job IN mgmt.running %]
27 <td style="border: black solid 1px; padding: 4px">[% job.id |html%]</td>
28 <td style="border: black solid 1px; padding: 4px">[% IF job.href %]<a href="solved?distv=[% job.distv %]">[% job.distv |html %][% ELSE %][% job.distv |html %][% END %]</td>
29 <td style="border: black solid 1px; padding: 4px">[% job.start |html%]</td>
30 <td style="border: black solid 1px; padding: 4px; text-align: center">[% job.et OR '-' %]</td>
31 <td style="border: black solid 1px; padding: 4px; text-align: right">[% job.ett OR '-' %]</td>
32 <td style="border: black solid 1px; padding: 4px; text-align: left">[% job.eta OR '-' -%][% IF job.overtime -%] (overdue)[% END -%]</td>
33 <td style="border: black solid 1px; padding: 4px; text-align: left">[% job.slot_free_at OR 'now' %][% IF job.slot_free_at_max -%] (last)[% END -%]</td>
44 <dt><b>Upcoming Jobs ([% mgmt.upcomingcnt -%]/[% mgmt.upcomingtotal -%])</b></dt>
47 [% IF mgmt.upcomingcnt %]
48 <table class="texttable" id="mgmt_1" style="width: auto; border-collapse: collapse; border: solid black 2px; margin: 12px 12px 12px 12px">
53 <th data-sorter="text">estimation type</th>
54 <th data-sorter="text">estimated calc time</th>
55 <th data-sorter="text">estimated time of start</th>
56 <th data-sorter="text">ETA</th>
60 [% FOR job IN mgmt.upcoming %]
62 <td style="border: black solid 1px; padding: 4px; text-align: right">[% job.score %]</td>
63 <td style="border: black solid 1px; padding: 4px"><a href="solved?distv=[% job.distv %]">[% job.distv |html%]</td>
64 <td style="border: black solid 1px; padding: 4px; text-align: center">[% job.et OR '-' %]</td>
65 <td style="border: black solid 1px; padding: 4px; text-align: right">[% job.ett OR '-' %]</td>
66 <td style="border: black solid 1px; padding: 4px; text-align: right">[% job.ets OR '-' %]</td>
67 <td style="border: black solid 1px; padding: 4px; text-align: right">[% job.eta OR '-' %]</td>
78 <dt><b>Recent Jobs ([% mgmt.recentcnt -%]/[% mgmt.recenttotal -%])</b></dt>
81 [% IF mgmt.recentcnt %]
82 <table class="texttable" id="mgmt_2" style="width: auto; border-collapse: collapse; border: solid black 2px; margin: 12px 12px 12px 12px">
87 <th data-sorter="text">start</th>
88 <th data-sorter="text">finished</th>
93 [% FOR job IN mgmt.recent %]
95 <td style="border: black solid 1px; padding: 4px">[% job.id |html%]</td>
96 <td style="border: black solid 1px; padding: 4px"><a href="solved?distv=[% job.distv %]">[% job.distv |html%]</td>
97 <td style="border: black solid 1px; padding: 4px">[% job.start |html%]</td>
98 <td style="border: black solid 1px; padding: 4px">[% job.finished |html%]</td>
99 <td style="border: black solid 1px; padding: 4px; text-align: right">[% job.took |html%]</td>