forked from sjqzhang/go-fastdfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashbord.html
175 lines (171 loc) · 8.3 KB
/
dashbord.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="zh_CN">
<head>
<meta charset="UTF-8">
<title>仪表盘</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="plugins/layui/css/layui.css" media="all">
<link rel="stylesheet" href="plugins/layer/theme/default/layer.css" media="all">
<link rel="stylesheet" href="plugins/font-awesome/css/font-awesome.min.css" media="all">
<link rel="stylesheet" href="css/main.css" media="all">
<style>
.layui-layer-page .layui-layer-content{
overflow: initial!important;
}
</style>
</head>
<body>
<div class="layui-container" style="width: 100%;">
<div class="layui-row">
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">文件总数<i class="fa fa-calculator" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="totalFileCount"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">文件总大小<i class="fa fa-file-archive-o" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="totalFileSize"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">文件总数(30天)<i class="fa fa-calculator" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="dayFileCount"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">文件大小(30天)<i class="fa fa-file-archive-o" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="dayFileSize"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">磁盘总空间<i class="fa fa-cubes" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="diskTotalSize"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">磁盘剩余空间<i class="fa fa-cube" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="diskFreeSize"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">索引节点总数(Linux)<i class="fa fa-sitemap" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="inodesTotal"></p>
</div>
</div>
</div>
<div class="layui-col-md3" style="padding:5px;">
<div class="layui-card">
<div class="layui-card-header">剩余索引节点(Linux)<i class="fa fa-sitemap" style="font-size: 16px;position: absolute;right: 15px;top: 10px;"></i></div>
<div class="layui-card-body">
<p class="page-view-totla" id="inodesFree"></p>
</div>
</div>
</div>
<!--
<div class="layui-col-md6" style="padding:5px;">
<div class="layui-card" style="overflow: auto;">
<div class="layui-card-header">快捷操作<i class="layui-icon" style="float: right;font-size: 20px;"></i></div>
<div class="layui-card-body" style="float: left;padding: 5px 10px 5px 5px;height: 200px;">
<a class="shortcut-button" href="javascript:;" id="fileUpload">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>文件上传</span>
</a>
<a class="shortcut-button" href="javascript:;" id="fileList">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>文件列表</span>
</a>
<a class="shortcut-button" href="javascript:;" id="switchPeers">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>切换集群</span>
</a>
<a class="shortcut-button" href="javascript:;" id="repair_stat">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>修正统计信息</span>
</a>
<a class="shortcut-button" href="javascript:;" id="remove_empty_dir">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>删除空目录</span>
</a>
<a class="shortcut-button" href="javascript:;" id="backup">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>备份元数据</span>
</a>
<a class="shortcut-button" href="javascript:;" id="repair">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>同步失败修复</span>
</a>
<a class="shortcut-button">
<span class="shortcut-button-icon"><i class="layui-icon" style="font-size: 25px"></i></span>
<span>配置文件修改</span>
</a>
</div>
</div>
</div>
<div class="layui-col-md6" style="padding:5px;">
<div class="layui-card" style="overflow: auto;">
<div class="layui-card-header">版本信息<i class="layui-icon" style="float: right;font-size: 20px;"></i></div>
<div class="layui-card-body" style="height: 200px;padding: 5px 10px 5px 5px;">
<table class="layui-table">
<colgroup>
<col width="200">
<col>
</colgroup>
<tbody>
<tr>
<td>当前版本</td>
<td><span>v1.3.4</span> <a href="https://github.com/perfree/go-fastdfs-web/releases" style="color: #009688" target="_blank">更新日志</a></td>
</tr>
<tr>
<td>发布日期</td>
<td>2019年10月14日</td>
</tr>
<tr>
<td>操作系统</td>
<td>Windows 10</td>
</tr>
<tr>
<td>系统架构</td>
<td>amd64</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
-->
<div class="layui-col-md12" style="padding:5px;">
<div class="layui-card" style="overflow: auto;">
<div class="layui-card-body">
<div id="main" style="height:600px;"></div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="plugins/layer/layer.js"></script>
<script src="plugins/layui/layui.js"></script>
<script src="plugins/echarts/echarts.common.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>