forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist_rrd.html
More file actions
73 lines (61 loc) · 2.79 KB
/
list_rrd.html
File metadata and controls
73 lines (61 loc) · 2.79 KB
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
<div class="l-center">
<div class="l-sort clearfix noselect">
<div class="l-unit-toolbar__buttonstrip">
<a class="ui-button cancel" id="btn-back" href="/list/server/"><i class="fas fa-arrow-left status-icon blue"></i> <?=__('Back')?></a>
<a href="/list/server/?cpu" class="ui-button cancel" title="<?=__('show: CPU / MEM / NET / DISK');?>"><i class="fas fa-chart-pie status-icon green"></i> <?=__('show: CPU / MEM / NET / DISK');?></a>
</div>
<div class="l-sort-toolbar clearfix">
<table>
<tr>
<td>
<a class="vst<?php if ((empty($_GET['period'])) || ($_GET['period'] == 'daily')) echo " selected" ?>" href="?period=daily"><?=__('Daily')?></a>
<a class="vst<?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'weekly')) echo " selected" ?>" href="?period=weekly"><?=__('Weekly')?></a>
<a class="vst<?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'monthly')) echo " selected" ?>" href="?period=monthly"><?=__('Monthly')?></a>
<a class="vst<?php if ((!empty($_GET['period'])) && ($_GET['period'] == 'yearly')) echo " selected" ?>" href="?period=yearly"><?=__('Yearly')?></a>
</td>
<td>
<div class="timer-container" style="float:right;">
<span class="timer-button pause"></span>
<span class="timer-button play hidden"></span>
<div class="refresh-timer">
<div class="movement left">
<div class="loader-half left"></div>
</div>
<div class="movement right">
<div class="loader-half right"></div>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="l-separator"></div>
<div class="l-center units animated fadeIn">
<?php
if (empty($_GET['period'])) {
$period='daily';
} else {
$period=$_GET['period'];
}
foreach ($data as $key => $value) {
?>
<div class="l-unit l-unit__stats">
<div class="l-unit__col l-unit__col--right">
<div class="l-unit__name separate">
<?= __($data[$key]['TITLE'])?>
</div>
<div>
<a href="/list/rrd/image.php?/rrd/<?php echo $data[$key]['TYPE']."/".$period."-".$data[$key]['RRD'].".png"?>" target="_blank"><img src="/list/rrd/image.php?/rrd/<?=$data[$key]['TYPE']."/".$period."-".$data[$key]['RRD'].".png"?>"></a>
</div>
</div>
</div>
<?}?>
</div>
<div id="vstobjects">
<div class="l-separator"></div>
<div class="l-center">
</div>
</div>