forked from amekkawi/diskusagereports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
311 lines (251 loc) · 10.1 KB
/
index.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Disk Usage Report</title>
<!--
Disk Usage Reports
http://diskusagereports.com/
Copyright (c) 2011 André Mekkawi <[email protected]>
Version: $Source Version$
LICENSE
This source file is subject to the MIT license in the file LICENSE.txt.
The license is also available at http://diskusagereports.com/license.html
-->
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
<link href="css/jquery.ui.tree.css" type="text/css" rel="stylesheet" />
<link href="css/jquery.ui.dialog.css" type="text/css" rel="stylesheet" />
<link href="css/layout.css" type="text/css" rel="stylesheet" />
<!-- Third-Party Scripts -->
<script type="text/javascript" src="js/external/jquery.js"></script>
<script type="text/javascript" src="js/external/jquery.ui.core.js"></script>
<script type="text/javascript" src="js/external/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/external/jquery.sortelements.js"></script>
<script type="text/javascript" src="js/external/jquery.json.js"></script>
<!-- Plugins & Extensions -->
<script type="text/javascript" src="js/plugins/general.js"></script>
<script type="text/javascript" src="js/plugins/jquery.scrollintoview.js"></script>
<script type="text/javascript" src="js/plugins/jquery.scrollbarsize.js"></script>
<script type="text/javascript" src="js/plugins/jquery.scrollerresize.js"></script>
<script type="text/javascript" src="js/plugins/jquery.ui.dialog.js"></script>
<script type="text/javascript" src="js/plugins/jquery.ui.tree.js"></script>
<script type="text/javascript" src="js/plugins/jquery.history.js"></script>
<script type="text/javascript" src="js/plugins/jquery.consolex.js"></script>
<!-- Controller -->
<script type="text/javascript" src="js/controller.js"></script>
<script type="text/javascript" src="js/controller.errors.js"></script>
<script type="text/javascript" src="js/controller.loading.js"></script>
<script type="text/javascript" src="js/controller.populate.js"></script>
<script type="text/javascript" src="js/controller.language.js"></script>
<!-- Packed Version -->
<!-- <script type="text/javascript" src="js/packed.js"></script> -->
<!-- Disk Usage Reporting Scripts -->
<script type="text/javascript">
$(function() {
window.controller = new Controller();
// Optional setting examples
// =============================================================
// Path to the directory that contains the reports.
//controller.reportsBaseURL = '/path/to/report/data/';
// Override the bar colors for the 'total size' and 'total count' columns.
// The first array index represents the color for 0%. The last array item is for 100%.
//controller.gradient = [ 'green', 'yellow', 'orange', 'red' ];
// Override the normal way the report name is determined.
//controller.report = '<?php //echo $_GET['reportid']; ?>';
// Change the maximum number of rows displayed at once in a table.
//controller.pageMax = 100;
// Change the suffix that report files will have.
// Can either be set to a string or an array of suffixes that will be checked in order.
//controller.suffix = '.json';
//controller.suffix = [ '.txt', '' ];
// Add additional languages. You must include the respective language files (e.g. de.txt) in the 'lang' directory.
//controller.addLanguage('de', 'Deutsch');
// Change the default language that is used if the language passed via setLanguage() is not supported.
//controller.defaultLanguage = 'en-us';
// Pass the browser's Accept-Language header to determine their preferred language.
//controller.setLanguage('<?php echo $_SERVER['HTTP_ACCEPT_LANGUAGE']; ?>');
// =============================================================
controller.load();
});
</script>
</head>
<body>
<iframe src="javascript:''" id="__gwt_historyFrame" style="width:0; height:0; border:0; position: absolute; left: 0; top: 0;"></iframe>
<div id="Title" style="display: none;"><!-- Disk Usage Report --></div>
<div id="NoScript">You must enable JavaScript in your browser in order to view this report.</div>
<script type="text/javascript">$('#NoScript').remove();</script>
<div id="ErrorCountPositioner"><div id="ErrorCount"><span></span></div></div>
<div id="Dimmer"></div>
<div id="Container">
<div id="Loading"></div>
<div id="LanguageDialog"></div>
<div id="ErrorsDialog"></div>
<div id="Columns" style="display: none;">
<div id="LeftColumn">
<div id="LeftColumnBorder">
<table class="styledtable" width="100%" id="TreeSort" border="0" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th class="tree-sortby-label"><span><!-- Name --></span></th>
<th class="tree-sortby-byte" colspan="3"><span><!-- Size --></span></th>
<th class="tree-sortby-num" colspan="3"><span><!-- Count --></span></th>
</tr>
</thead>
</table>
<div id="LeftColumnScroller">
<div id="DirectoryTree"></div>
</div>
</div>
</div>
<div id="LeftColumnResizer"></div>
<div id="Error" style="display: none;"></div>
<div id="RightColumn">
<div id="ReportHead">
<div id="Path"></div>
<div id="DirSummary"></div>
</div>
<div id="Tabs">
<ul>
<li id="Tab_SubDirs"></li>
<li id="Tab_Files"></li>
<li id="Tab_Modified"></li>
<li id="Tab_Sizes"></li>
<li id="Tab_Types"></li>
<li id="Tab_Top100"></li>
</ul>
</div>
<div id="Report">
<div id="Sections">
<div class="pager pager-top">
<a href="#" class="pager-prev"></a>
<a href="#" class="pager-next"></a>
<span class="pager-range"></span>
<span class="pager-pages"></span>
<div style="clear: both;"></div>
</div>
<div id="Section_SubDirs">
<table class="styledtable" id="SubDirs" border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th class="totals-sortby-label"><span></span></th>
<th class="totals-sortby-byte" colspan="3"><span></span></th>
<th class="totals-sortby-num" colspan="3"><span></span></th>
</tr>
</thead>
<tfoot>
<tr>
<td><!-- Total --></td>
<td colspan="3"></td>
<td colspan="3"></td>
</tr>
</tfoot>
<tbody>
</tbody>
</table>
</div>
<div id="Section_Modified">
<table class="styledtable" id="Modified" border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th class="totals-sortby-label"><span><!-- Age --></span></th>
<th class="totals-sortby-byte" colspan="3"><span><!-- Total Size --></span></th>
<th class="totals-sortby-num" colspan="3"><span><!-- File Count --></span></th>
</tr>
</thead>
<tfoot>
<tr>
<td><!-- Total --></td>
<td colspan="3"></td>
<td colspan="3"></td>
</tr>
</tfoot>
<tbody>
</tbody>
</table>
</div>
<div id="Section_Sizes">
<table class="styledtable" id="Sizes" border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th class="totals-sortby-label"><span><!-- Range --></span></th>
<th class="totals-sortby-byte" colspan="3"><span><!-- Total Size --></span></th>
<th class="totals-sortby-num" colspan="3"><span><!-- File Count --></span></th>
</tr>
</thead>
<tfoot>
<tr>
<td><!-- Total --></td>
<td colspan="3"></td>
<td colspan="3"></td>
</tr>
</tfoot>
<tbody>
</tbody>
</table>
</div>
<div id="Section_Types">
<table class="styledtable" id="Types" border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th class="totals-sortby-label"><span><!-- Extension --></span></th>
<th class="totals-sortby-byte" colspan="3"><span><!-- Total Size --></span></th>
<th class="totals-sortby-num" colspan="3"><span><!-- File Count --></span></th>
</tr>
</thead>
<tfoot>
<tr>
<td><!-- Total --></td>
<td colspan="3"></td>
<td colspan="3"></td>
</tr>
</tfoot>
<tbody>
</tbody>
</table>
</div>
<div id="Section_Files">
<table class="styledtable" id="Files" border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th id="Files-SortBy-name"><span><!-- Name --></span></th>
<th id="Files-SortBy-type"><span><!-- Type --></span></th>
<th id="Files-SortBy-size"><span><!-- Size --></span></th>
<th id="Files-SortBy-modified"><span><!-- Modified --></span></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div id="Section_Top100">
<table class="styledtable" id="Top100" border="1" cellspacing="0" cellpadding="4">
<thead>
<tr>
<th id="Top100-SortBy-name"><span><!-- Name --></span></th>
<th id="Top100-SortBy-type"><span><!-- Type --></span></th>
<th id="Top100-SortBy-size"><span><!-- Size --></span></th>
<th id="Top100-SortBy-modified"><span><!-- Modified --></span></th>
<th id="Top100-SortBy-path"><span><!-- Path --></span></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="pager pager-bottom">
<a href="#" class="pager-prev"></a>
<a href="#" class="pager-next"></a>
<span class="pager-range"></span>
<span class="pager-pages"></span>
<div style="clear: both;"></div>
</div>
<div style="clear: both; display: block !important;"></div>
<div id="Section_Message" style="display: none;"></div>
</div>
</div> <!-- Report -->
</div> <!-- Right Column -->
</div> <!-- Columns -->
</div> <!-- Container -->
<div id="Footer"><a href="http://diskusagereport.sourceforge.net/" target="_blank">Disk Usage Reports</a></div>
</body>
</html>