-
Notifications
You must be signed in to change notification settings - Fork 0
/
flowmanageSetting.html
372 lines (372 loc) · 19.9 KB
/
flowmanageSetting.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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta http-equiv="X-UA-Compitable" content="IE=edge">
<title>流量管理与设置页面</title>
<!--[if lt IE 9]>
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-table.css">
<link rel="stylesheet" href="css/bootstrap-editable.css">
<link rel="stylesheet" href="css/bootstrap-datetimepicker.css">
<link rel="stylesheet" href="css/common.css">
<style>
#selectFromControl{
background:rgba(255,255,255,.2);
}
option{
background:rgba(39, 41, 41, 0.2);
}
</style>
</head>
<body id="skin-blur-blue" class="settingbody">
<div class="topNav">
<div class="tm-icon">
<a href="javascript:void(0)" id="menu-toggle">
<img src="images/menu.png" alt="">
</a>
</div>
<a class="logo" href="index.html">
<img src="images/logo.png" alt="" class="img-responsive"/>
</a>
<div class="tm-icon">
<a href="index.html">
<img src="images/home.png" alt="返回首页"/>
</a>
</div>
<div class="tm-icon">
<a href="javascript:void(0)" title="时间回溯"
data-container="body" data-toggle="popover" data-placement="bottom"
data-content="底部的 Popover 中的一些内容">
<img src="images/time.png" alt=""/>
</a>
</div>
<div class="tm-icon">
<a href="javascript:void(0)">
<img src="images/help.png" alt="帮助"/>
</a>
</div>
<div class="tm-icon">
<a href="javascript:void(0)">
<img src="images/lock.png" alt="锁定"/>
</a>
</div>
<div class="tm-icon">
<a href="javascript:void(0)">
<img src="images/baseline.png" alt="基线"/>
</a>
</div>
<div class="searchBox">
<div class="input-group">
<label for="search" class="input-group-addon"></label>
<input type="text" class="form-control" id="search">
</div>
</div>
<div class="tm-icon">
<a href="javascript:void(0)">
<img src="images/server.png" alt=""/>
</a>
</div>
<div id="time">
<span id="hours">10</span>
:
<span id="min">04</span>
:
<span id="sec">31</span>
</div>
<div class="tm-icon">
<a href="javascript:void(0)" title="用户信息"
data-container="body" data-toggle="popover" data-placement="bottom"
data-content="底部的 Popover 中的一些内容">
<img src="images/userinfo.png" alt=""/>
</a>
</div>
</div>
<div class="Bcontent">
<div class="left">
<ul class="list-unstyled side-menu" id="imgTab">
<li>
<a class="sa-side-slt" id="text" href="#sCont1" data-toggle="tab" >
<img src="images/leftbtn/leftbtn_sts.png" alt="" title="标准存储方案">
</a>
</li>
<li>
<a class="sa-side-network" href="#sCont2" data-toggle="tab">
<img src="images/leftbtn/leftbtn_ads.png" alt="" title="高级存储方案">
</a>
</li>
<li>
<a class="sa-side-ip" href="#sCont3" data-toggle="tab">
<img src="images/leftbtn/leftbtn_his.png" alt="" title="历史数据提取">
</a>
</li>
<li>
<a class="sa-side-custom" href="#sCont4" data-toggle="tab">
<img src="images/leftbtn/leftbtn_data.png" alt="" title="获取数据列表">
</a>
</li>
</ul>
</div>
<div class="right">
<div class="tab-content" id="imgTabContent">
<div class="tab-pane fade in active" id="sCont1">
<div class="row row-zero">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading bk-bg-primary">
<h6>标准存储方案</h6>
</div>
<div class="panel-body">
<div class="col-md-12">
<div class="form-group">
<label for="">网卡:</label>
<input type="checkbox">
<!-- <input type="text" id="ipAdress" name="nf-email" class="form-control" placeholder="IP地址">-->
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="maskByte">BPF过滤条件:</label>
<input type="text" id="maskByte" class="form-control" placeholder="掩码位数">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="defaultGateway">IP:</label>
<input type="text" id="defaultGateway" class="form-control" placeholder="默认网关">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="">端口:</label>
<input type="text" class="form-control">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="">选择协议:</label>
<select name="" id="selectFromControl" class="form-control">
<option value="">1111</option>
<option value="">2222</option>
<option value="">3333</option>
<option value="">4444</option>
</select>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label for="">是否启用:</label>
<input type="radio" name="radio">
<label for="">是</label>
<input type="radio" name="radio">
<label for="">否</label>
</div>
</div>
<span class="updateManageNetworkInfoUbuntuSpan"></span>
<div class="col-md-12">
<button class="btn pull-right btnSelf" id="updateManageNetworkInfoUbuntu">确定</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade in" id="sCont2">
<div class="row row-zero">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading bk-bg-primary">
<h6>高级存储方案</h6>
</div>
<div class="panel-body range">
<div id="toolbar1">
<button id="button" class="btn btn-default">新增</button>
</div>
<table id="table"
data-toggle="table"
data-toolbar="#toolbar1"
data-height="360"
data-url="json/table.json"
data-pagination="true"
data-show-columns="true"
>
<thead>
<tr>
<th data-field="name" data-editable="true" data-sortable="true">名称</th>
<th data-field="ip" data-editable="true" data-sortable="true">开始时间</th>
<th data-field="port" data-editable="true" data-sortable="true">结束时间</th>
<th data-field="Interval-time" data-editable="true" data-sortable="true">网卡</th>
<th data-field="pre-Interval-time" data-editable="true" data-sortable="true">bpf过滤条件</th>
<th data-field="state" data-editable="true" data-sortable="true">数据包大小</th>
<th data-field="Remarks" data-editable="true" data-sortable="true">状态</th>
<th data-formatter="operateFormatter" data-events="operateEvents" data-sortable="true">操作</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade in" id="sCont3">
<div class="row row-zero">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading bk-bg-primary">
<h6>历史数据提取</h6>
</div>
<div class="panel-body">
<div class="col-md-12">
<div class="form-group">
<label for="">选择网卡:</label>
<input type="checkbox">
<!-- <input type="text" id="ipAdress" name="nf-email" class="form-control" placeholder="IP地址">-->
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="maskByte2">BPF过滤条件:</label>
<input type="text" id="maskByte2" class="form-control" placeholder="掩码位数">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="defaultGateway2">IP:</label>
<input type="text" id="defaultGateway2" class="form-control" placeholder="默认网关">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>开始时间:</label>
<div class="input-group date form_datetime">
<input type="text" size="30" class="form-control">
<span class="input-group-addon btnSelf"><span class="glyphicon glyphicon-th"></span></span>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>结束时间:</label>
<div class="input-group date form_datetime">
<input type="text" size="30" class="form-control">
<span class="input-group-addon btnSelf"><span class="glyphicon glyphicon-th"></span></span>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="">端口:</label>
<input type="text" class="form-control">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="">选择协议:</label>
<select name="" id="" class="form-control">
<option value="">1111</option>
<option value="">2222</option>
<option value="">3333</option>
<option value="">4444</option>
</select>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label for="">是否启用:</label>
<input type="radio" name="radio">
<label for="">是</label>
<input type="radio" name="radio">
<label for="">否</label>
</div>
</div>
<span class="updateManageNetworkInfoUbuntuSpan2"></span>
<div class="col-md-12">
<button class="btn btn-default btnself">iDegger在线解析</button>
<button class="btn btn-default btnself">下载到本地</button>
</div>
<div class="col-md-12">
<button class="btn pull-right btnSelf" id="updateManageNetworkInfoUbuntu2">确定</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade in" id="sCont4">
<div class="row row-zero">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading bk-bg-primary">
<h6>获取数据列表</h6>
</div>
<div class="panel-body range">
<table id="table3"
data-toggle="table"
data-toolbar="#toolbar"
data-url="/sysNetworkSet/netConfigList.do"
data-pagination="true"
data-show-columns="true"
data-height="360"
>
<thead>
<tr>
<th data-field="name" data-editable="true" data-sortable="true">编号</th>
<th data-field="workCond" data-editable="true" data-sortable="true">文件</th>
<th data-field="rxBytes" data-editable="true" data-sortable="true">大小</th>
<th data-field="rxPackets" data-editable="true" data-sortable="true">开始时间</th>
<th data-field="ip" data-editable="true" data-sortable="true">操作</th>
</tr>
</thead>
</table>
<div class="btns" style="margin-top: 15px;">
<button class="block-title btn pull-right btnSelf">iDegger在线解析</button>
<button class="block-title btn pull-right btnSelf" style="margin-right: 32px;">下载到本地</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="main"></div>
</body>
</html>
<script src="js/jquery-3.2.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/changeBackground.js"></script>
<script src="js/bootstrap-table.js"></script>
<script src="js/bootstrap-table-zh-CN.js"></script>
<script src="js/bootstrap-table-export.js"></script>
<script src="js/tableExport.js"></script>
<script src="js/bootstrap-table-editable.js"></script>
<script src="js/bootstrap-editable.js"></script>
<script src="js/echarts.js"></script>
<script src="js/bootstrap-datetimepicker.js"></script>
<script src="js/bootstrap-datetimepicker.zh-CN.js"></script>
<script>
function operateFormatter(value, row, index) {
return [
'<img src="images/edit.png"/>',
'<img src="images/false.png" style="padding-left: 5%;padding-right: 5%;"/>'
].join('')
}
/*日期控件*/
$('.form_datetime').datetimepicker({
language: 'zh-CN',
format: 'yyyy-mm-dd hh:ii:ss',
weekStart: 1,
todayBtn: true,
autoclose: 1,
todayHighlight: 1,
startView: 2,
forceParse: 0,
showMeridian: 1,
pickerPosition:"bottom-left"
});
</script>