welcome on board new 'Sparkle' theme and also welcome on board BNoiZe as theme maintainer (creater of Sparkle theme)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
61
templates/Sparkle/admin/traffic/index_table.tpl
vendored
Normal file
61
templates/Sparkle/admin/traffic/index_table.tpl
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
<h3>{$lng['traffic']['trafficoverview']} {$overview['type']} {$overview['year']}</h3>
|
||||
<table class="bradiusodd" id="stats{$overview['year']}">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$overview['type']}</th>
|
||||
<th>{$lng['traffic']['months']['jan']}</td>
|
||||
<th>{$lng['traffic']['months']['feb']}</td>
|
||||
<th>{$lng['traffic']['months']['mar']}</td>
|
||||
<th>{$lng['traffic']['months']['apr']}</td>
|
||||
<th>{$lng['traffic']['months']['may']}</td>
|
||||
<th>{$lng['traffic']['months']['jun']}</td>
|
||||
<th>{$lng['traffic']['months']['jul']}</td>
|
||||
<th>{$lng['traffic']['months']['aug']}</td>
|
||||
<th>{$lng['traffic']['months']['sep']}</td>
|
||||
<th>{$lng['traffic']['months']['oct']}</td>
|
||||
<th>{$lng['traffic']['months']['nov']}</td>
|
||||
<th>{$lng['traffic']['months']['dec']}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{$domain_list}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{$total_list}
|
||||
</tfoot>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
var myTextExtraction = function(node)
|
||||
{
|
||||
// extract data from markup and return it
|
||||
if(node.innerHTML != '-') {
|
||||
return 1 + node.innerHTML.substr(0,node.innerHTML.length);
|
||||
} else {
|
||||
return '0 B';
|
||||
}
|
||||
}
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#stats{$overview['year']}").tablesorter( {
|
||||
textExtraction: myTextExtraction,
|
||||
headers: {
|
||||
1: {sorter: 'filesize'},
|
||||
2: {sorter: 'filesize'},
|
||||
3: {sorter: 'filesize'},
|
||||
4: {sorter: 'filesize'},
|
||||
5: {sorter: 'filesize'},
|
||||
6: {sorter: 'filesize'},
|
||||
7: {sorter: 'filesize'},
|
||||
8: {sorter: 'filesize'},
|
||||
9: {sorter: 'filesize'},
|
||||
10: {sorter: 'filesize'},
|
||||
11: {sorter: 'filesize'},
|
||||
12: {sorter: 'filesize'}
|
||||
},
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user