Line 1... |
Line 1... |
1 |
<div class="container">
|
1 |
<div class="container">
|
2 |
<ul class="nav nav-tabs" id="tableTab" role="tablist">
|
2 |
<ul class="nav nav-tabs" id="tableTab" role="tablist">
|
- |
|
3 |
{if $jsonVersion gt 1}
|
3 |
<li class="nav-item">
|
4 |
<li class="nav-item">
|
- |
|
5 |
<a class="nav-link active" id="five-table-tab" data-toggle="tab" href="#five-table" role="tab" aria-controls="five-table" aria-selected="true">Five Minute</a>
|
- |
|
6 |
</li>
|
- |
|
7 |
<li class="nav-item">
|
- |
|
8 |
<a class="nav-link" id="hourly-table-tab" data-toggle="tab" href="#hourly-table" role="tab" aria-controls="hourly-table" aria-selected="false">Hourly</a>
|
- |
|
9 |
</li>
|
- |
|
10 |
{else}
|
- |
|
11 |
<li class="nav-item">
|
4 |
<a class="nav-link active" id="hourly-table-tab" data-toggle="tab" href="#hourly-table" role="tab" aria-controls="hourly-table" aria-selected="true">Hourly</a>
|
12 |
<a class="nav-link active" id="hourly-table-tab" data-toggle="tab" href="#hourly-table" role="tab" aria-controls="hourly-table" aria-selected="true">Hourly</a>
|
5 |
</li>
|
13 |
</li>
|
- |
|
14 |
{/if}
|
6 |
<li class="nav-item">
|
15 |
<li class="nav-item">
|
7 |
<a class="nav-link" id="daily-table-tab" data-toggle="tab" href="#daily-table" role="tab" aria-controls="daily-table" aria-selected="false">Daily</a>
|
16 |
<a class="nav-link" id="daily-table-tab" data-toggle="tab" href="#daily-table" role="tab" aria-controls="daily-table" aria-selected="false">Daily</a>
|
8 |
</li>
|
17 |
</li>
|
9 |
<li class="nav-item">
|
18 |
<li class="nav-item">
|
10 |
<a class="nav-link" id="monthly-table-tab" data-toggle="tab" href="#monthly-table" role="tab" aria-controls="monthly-table" aria-selected="false">Monthly</a>
|
19 |
<a class="nav-link" id="monthly-table-tab" data-toggle="tab" href="#monthly-table" role="tab" aria-controls="monthly-table" aria-selected="false">Monthly</a>
|
Line 13... |
Line 22... |
13 |
<a class="nav-link" id="top10-table-tab" data-toggle="tab" href="#top10-table" role="tab" aria-controls="top10-table" aria-selected="false">Top 10</a>
|
22 |
<a class="nav-link" id="top10-table-tab" data-toggle="tab" href="#top10-table" role="tab" aria-controls="top10-table" aria-selected="false">Top 10</a>
|
14 |
</li>
|
23 |
</li>
|
15 |
</ul>
|
24 |
</ul>
|
16 |
|
25 |
|
17 |
<div class="tab-content" id="tableTabContent">
|
26 |
<div class="tab-content" id="tableTabContent">
|
- |
|
27 |
{if $jsonVersion gt 1}
|
- |
|
28 |
<div class="tab-pane fade show active" id="five-table" role="tabpanel" aria-labelledby="five-table-tab">
|
- |
|
29 |
<table class="table table-bordered">
|
- |
|
30 |
<thead>
|
- |
|
31 |
<tr>
|
- |
|
32 |
<th>Time</th>
|
- |
|
33 |
<th>Received</th>
|
- |
|
34 |
<th>Sent</th>
|
- |
|
35 |
<th>Total</th>
|
- |
|
36 |
</tr>
|
- |
|
37 |
</thead>
|
- |
|
38 |
<tbody>
|
- |
|
39 |
{foreach from=$fiveTableData key=key item=value}
|
- |
|
40 |
<tr>
|
- |
|
41 |
<td>{$value.label}</td>
|
- |
|
42 |
<td>{$value.rx}</td>
|
- |
|
43 |
<td>{$value.tx}</td>
|
- |
|
44 |
<td>{$value.total}</td>
|
- |
|
45 |
</tr>
|
- |
|
46 |
{/foreach}
|
- |
|
47 |
</tbody>
|
- |
|
48 |
</table>
|
- |
|
49 |
</div>
|
- |
|
50 |
|
- |
|
51 |
<div class="tab-pane fade" id="hourly-table" role="tabpanel" aria-labelledby="hourly-table-tab">
|
- |
|
52 |
{else}
|
18 |
<div class="tab-pane fade show active" id="hourly-table" role="tabpanel" aria-labelledby="hourly-table-tab">
|
53 |
<div class="tab-pane fade show active" id="hourly-table" role="tabpanel" aria-labelledby="hourly-table-tab">
|
- |
|
54 |
{/if}
|
19 |
<table class="table table-bordered">
|
55 |
<table class="table table-bordered">
|
20 |
<thead>
|
56 |
<thead>
|
21 |
<tr>
|
57 |
<tr>
|
22 |
<th>Hour</th>
|
58 |
<th>Hour</th>
|
23 |
<th>Received</th>
|
59 |
<th>Received</th>
|