bump version of Net-Async-Redis
[andk-cpan-tools.git] / CPAN-Blame / root / mgmt.tt
blobb12efa5f3638d381783bff7ccb7c3fd1d113e105
1 [% WRAPPER page.tt title = "mgmt@analysis" %]
2 <h3><a href=".">&#x21d1;</a> Management</h3>
4 <a href="#nupcom">Upcoming jobs ("nupcom")</a><br/>
5 <a href="#nrecent">Recent jobs ("nrecent")</a><br/>
7 <dl>
9 <dt><b>Running Jobs ([% mgmt.runningcnt -%]/[% mgmt.concurrencylimit -%])</b></dt>
10 <dd>
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;">
13  <thead>
14   <tr>
15    <th>id</th>
16    <th>distv</th>
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>
22   </tr>
23  </thead>
24  <tbody>
25 [% FOR job IN mgmt.running %]
26   <tr>
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>
34   </tr>
35 [% END %]
36 [% ELSE %]
37 -none-
38 [% END %]
39  </tbody>
40 </table>
41 </dd>
43 <a name="nupcom">
44 <dt><b>Upcoming Jobs ([% mgmt.upcomingcnt -%]/[% mgmt.upcomingtotal -%])</b></dt>
45 </a>
46 <dd>
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">
49  <thead>
50   <tr>
51    <th>score</th>
52    <th>distv</th>
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>
57   </tr>
58  </thead>
59  <tbody>
60 [% FOR job IN mgmt.upcoming %]
61   <tr>
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>
68   </tr>
69 [% END %]
70 [% ELSE %]
71 -none-
72 [% END %]
73  </tbody>
74 </table>
75 </dd>
77 <a name="nrecent">
78 <dt><b>Recent Jobs ([% mgmt.recentcnt -%]/[% mgmt.recenttotal -%])</b></dt>
79 </a>
80 <dd>
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">
83  <thead>
84   <tr>
85    <th>id</th>
86    <th>distv</th>
87    <th data-sorter="text">start</th>
88    <th data-sorter="text">finished</th>
89    <th>took (s)</th>
90   </tr>
91  </thead>
92  <tbody>
93 [% FOR job IN mgmt.recent %]
94   <tr>
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>
100   </tr>
101 [% END %]
102 [% ELSE %]
103 -none-
104 [% END %]
105  </tbody>
106 </table>
107 </dd>
109 </dl>
110 [% END %]