-
Notifications
You must be signed in to change notification settings - Fork 3
/
stats-template.html
142 lines (122 loc) · 1.83 KB
/
stats-template.html
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<html>
<head>
<title>Footage Details</title>
<style>
.floatLeft {
width: 50%;
float: left;
}
.floatRight {
width: 45%;
float: right;
}
.container {
overflow: hidden;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
h1 {
font-size: 32px;
font-weight: bold;
}
h2 {
font-size: 24px;
}
th, td {
padding: 12px;
}
th {
font-size: 16px;
font-weight: bold;
}
td {
font-size: 16px;
font-weight: normal;
}
td.small {
font-size: 14px;
}
td.smaller {
font-size: 12px;
}
td.number {
text-align: right;
}
td.smallnumber {
font-size: 14px;
text-align: right;
}
td.smallernumber {
font-size: 12px;
text-align: right;
}
td.diskspace {
text-align: right;
background-color: DISK_COLOR;
}
td.servicerunning {
text-align: center;
background-color: rgb(0, 255, 0);
}
td.servicedead {
text-align: center;
background-color: rgb(255, 0, 0);
}
table {
border-collapse: collapse;
}
table, th, td {
border: 1px solid black;
}
.spacer {
font-size: 10px;
}
.footer {
font-size: 12px;
}
</style>
</head>
<body><h1>Footage Details</h1>
<div class="container">
<div class="floatLeft">
<h2>Video Files</h2>
<table><thead><tr>
<th>Folder</th>
<th>#</th>
<th>Size</th>
</tr></thead>
<tbody>
DIRECTORY_TABLE_ROWS
</tbody></table>
</div>
<div class="floatRight">
<h2>Services</h2>
<table>
<tbody>
SERVICE_TABLE_ROWS
</tbody></table>
</div>
</div>
<div class="spacer"> </div>
<h2>Disk Space Details</h2>
<table><thead><tr>
<th>Filesystem</th>
<th>Size</th>
<th>Used</th>
<th>Avail</th>
<th>Use%</th>
<th>Mount</th>
</tr></thead>
<tbody><tr>
<td>DEVICE</td>
<td class="number">SIZE</td>
<td class="number">USED</td>
<td class="number">AVAILABLE</td>
<td class="diskspace">USED_PERCENTAGE</td>
<td>MOUNT_POINT</td>
</tr></tbody></table>
<div class="spacer"> </div>
<div class="footer">Generated at TIMESTAMP</div>
</body>
</html>