Line 1... |
Line 1... |
1 |
<div class="container">
|
1 |
<div class="container">
|
2 |
<ul class="nav nav-tabs" id="graphTab" role="tablist">
|
2 |
<ul class="nav nav-tabs" id="graphTab" 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-graph-tab" data-toggle="tab" href="#five-graph" role="tab" aria-controls="five-graph" aria-selected="true">Five Minute Graph</a>
|
- |
|
6 |
</li>
|
- |
|
7 |
<li class="nav-item">
|
- |
|
8 |
<a class="nav-link" id="hourly-graph-tab" data-toggle="tab" href="#hourly-graph" role="tab" aria-controls="hourly-graph" aria-selected="false">Hourly Graph</a>
|
- |
|
9 |
</li>
|
- |
|
10 |
{else}
|
- |
|
11 |
<li class="nav-item">
|
4 |
<a class="nav-link active" id="hourly-graph-tab" data-toggle="tab" href="#hourly-graph" role="tab" aria-controls="hourly-graph" aria-selected="true">Hourly Graph</a>
|
12 |
<a class="nav-link active" id="hourly-graph-tab" data-toggle="tab" href="#hourly-graph" role="tab" aria-controls="hourly-graph" aria-selected="true">Hourly Graph</a>
|
5 |
</li>
|
13 |
</li>
|
- |
|
14 |
{/if}
|
6 |
<li class="nav-item">
|
15 |
<li class="nav-item">
|
7 |
<a class="nav-link" id="daily-graph-tab" data-toggle="tab" href="#daily-graph" role="tab" aria-controls="daily-graph" aria-selected="false">Daily Graph</a>
|
16 |
<a class="nav-link" id="daily-graph-tab" data-toggle="tab" href="#daily-graph" role="tab" aria-controls="daily-graph" aria-selected="false">Daily Graph</a>
|
8 |
</li>
|
17 |
</li>
|
9 |
<li class="nav-item">
|
18 |
<li class="nav-item">
|
10 |
<a class="nav-link" id="monthly-graph-tab" data-toggle="tab" href="#monthly-graph" role="tab" aria-controls="monthly-graph" aria-selected="false">Monthly Graph</a>
|
19 |
<a class="nav-link" id="monthly-graph-tab" data-toggle="tab" href="#monthly-graph" role="tab" aria-controls="monthly-graph" aria-selected="false">Monthly Graph</a>
|
11 |
</li>
|
20 |
</li>
|
12 |
</ul>
|
21 |
</ul>
|
13 |
|
22 |
|
14 |
<div class="tab-content">
|
23 |
<div class="tab-content">
|
- |
|
24 |
{if $jsonVersion gt 1}
|
- |
|
25 |
<div class="tab-pane fade show active" id="five-graph" role="tabpanel" aria-labelledby="five-graph-tab">
|
- |
|
26 |
<div id="fiveNetworkTrafficGraph" style="height: 300px;"></div>
|
- |
|
27 |
</div>
|
- |
|
28 |
|
- |
|
29 |
<div class="tab-pane fade" id="hourly-graph" role="tabpanel" aria-labelledby="hourly-graph-tab">
|
- |
|
30 |
<div id="hourlyNetworkTrafficGraph" style="height: 300px;"></div>
|
- |
|
31 |
</div>
|
- |
|
32 |
{else}
|
15 |
<div class="tab-pane fade show active" id="hourly-graph" role="tabpanel" aria-labelledby="hourly-graph-tab">
|
33 |
<div class="tab-pane fade show active" id="hourly-graph" role="tabpanel" aria-labelledby="hourly-graph-tab">
|
16 |
<div id="hourlyNetworkTrafficGraph" style="height: 300px;"></div>
|
34 |
<div id="hourlyNetworkTrafficGraph" style="height: 300px;"></div>
|
17 |
</div>
|
35 |
</div>
|
- |
|
36 |
{/if}
|
18 |
|
37 |
|
19 |
<div class="tab-pane fade" id="daily-graph" role="tabpanel" aria-labelledby="daily-graph-tab">
|
38 |
<div class="tab-pane fade" id="daily-graph" role="tabpanel" aria-labelledby="daily-graph-tab">
|
20 |
<div id="dailyNetworkTrafficGraph" style="height: 300px;"></div>
|
39 |
<div id="dailyNetworkTrafficGraph" style="height: 300px;"></div>
|
21 |
</div>
|
40 |
</div>
|
22 |
|
41 |
|