forked from tuna/mirror-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
status.html
94 lines (94 loc) · 2.56 KB
/
status.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
---
permalink: /status/
---
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include nav.html %}
<div id="status-page">
<div class="spacing hidden-xs"></div>
<div class="container">
<h3 id="server-status"> # 服务器监控 </h3>
<!--h4> # 网络流量 </h4>
<div class="row">
<div class="col-md-6">
<div class="thumbnail">
<img class="img-responsive" src="/static/status/service_traffic_IPv4-day.png">
</div>
</div>
<div class="col-md-6">
<div class="thumbnail">
<img class="img-responsive" src="/static/status/service_traffic_IPv6-day.png">
</div>
</div>
</div-->
<h4># 磁盘状态 </h4>
<div class="row">
<div class="col-md-12"><strong>磁盘占用</strong>: </div>
<div class="col-md-12">
<div class="progress">
<div id="disk-usage-bar" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
</div>
</div>
</div>
<!--div class="col-md-6">
<div class="thumbnail">
<img class="img-responsive" src="/static/status/diskstats_iops-day.png">
</div>
</div>
<div class="col-md-6">
<div class="thumbnail">
<img class="img-responsive" src="/static/status/diskstats_throughput-day.png">
</div>
</div-->
</div>
<!--h4># CPU / 内存</h4>
<div class="row">
<div class="col-md-6">
<div class="thumbnail">
<img class="img-responsive" src="/static/status/cpu-day.png">
</div>
</div>
<div class="col-md-6">
<div class="thumbnail">
<img class="img-responsive" src="/static/status/memory-day.png">
</div>
</div>
</div-->
<h3 id="syncing-status"># 同步状态</h3>
<div>
<div class="thead row">
<div>
<div class="col-md-2">Name</div>
<div class="col-md-2">Last Update</div>
<div class="col-md-5">Upstream</div>
<div class="col-md-1">Status</div>
<div class="col-md-2">Size</div>
</div>
</div>
<div id="mirror-list">
</div>
</div>
</div><!--/container -->
</div><!--/status -->
{% include footer.html %}
{% raw %}
<script id="template" type="x-tmpl-markup">
{{mirrors}}
<div class="status-{{status}} row">
<div class="col-md-2">{{name}}{{if is_master|falsy}}[slave]{{/if}}</div>
<div class="col-md-2">{{last_update}}</div>
<div class="col-md-5">{{upstream}}</div>
<div class="col-md-1">{{status}}</div>
<div class="col-md-2">{{size}}</div>
</div>
{{/mirrors}}
</script>
{% endraw %}
<script src="/static/js/status.js"></script>
</body>
</html>
<!--
vim: ts=2 sts=2 sw=2 noexpandtab
-->