File: guymager_runstats_active.template

package info (click to toggle)
guymager 0.8.13-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,764 kB
  • sloc: cpp: 17,479; makefile: 30; sh: 22
file content (104 lines) | stat: -rw-r--r-- 2,159 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>

<style type="text/css">
   #maintable
   {
      background-color: whiteSmoke;
      border-collapse:collapse;
      border-radius: 6px;
   }

   #maintable td, #maintable th
   {
      padding: 5px 10px;
      font-family: Helvetica, Arial, sans-serif;
      border: 1px solid lightgray;
   }

   #maintable th
   {
      color: #333;
      font-size: 16px;
      text-align: center;
   }

   #maintable tr
   {
      line-height: 20px;
      font-size: 14px;
   }

   #maintable tr.LocalDeviceNO
   {
      color: #0064A4;
   }

   #maintable tr.LocalDeviceYES
   {
      color: #C02020;
   }

   #maintable td.RightAligned
   {
      text-align: right;
   }

   #maintable td:hover
   {
      background-color: #fff;
   }
</style>

<head>
   <script type="text/JavaScript">
      function timedRefresh(timeoutPeriod)
      {
         setTimeout("location.reload(true);",timeoutPeriod);
      }
   </script>
</head>

<body onload="JavaScript:timedRefresh(5000);">
Guymager status information<br/>
Hostname: %HostName%<br/>
Last Updated: %dddd%, %d%. %MMMM% %yyyy% %h%:%mm%:%ss%<br/>
Version: %Version%<br/><br/>

<table id="maintable">
   <thead>
      <th>Serial</th>
      <th>Linux<br/>device</th>
      <th>Model</th>
      <th>State</th>
      <th>Size</th>
      <th>Progress<br/>[%]</th>
      <th>Current speed<br/>[MB/s]</th>
      <th>Average speed<br/>[MB/s]</th>
      <th>Time<br/>remaining</th>
      <th>Bad<br/>sectors</th>
      <th>Examiner</th>
      <th>Case<br/>number</th>
   </thead>
   <tbody>
      %DEVICE_BLOCK%
      <tr class="LocalDevice%LocalDevice%">
         <td>%Serial%</td>
         <td>%Dev%</td>
         <td>%Model%</td>
         <td>%State%</td>
         <td class="RightAligned">%SizeHuman%</td>
         <td class="RightAligned">%Progress%</td>
         <td class="RightAligned">%CurrentSpeed%</td>
         <td class="RightAligned">%AverageSpeed%</td>
         <td class="RightAligned">%TimeRemaining%</td>
         <td class="RightAligned">%BadSectors%</td>
         <td>%Examiner%</td>
         <td>%CaseNumber%</td>
      </tr>
      %DEVICE_BLOCK%
   </tbody>
</table>

</body>
</html>