-
Notifications
You must be signed in to change notification settings - Fork 0
/
urlsetting.html
390 lines (388 loc) · 16.1 KB
/
urlsetting.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
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
<!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>url业务设置</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/common.css">
<style>
.tile {
background: rgba(0,0,0,0.43);
padding: 10px 10px;
}
.tile-config {
display: inline-block;
margin-top: -4px;
}
.tile-config >a {
padding-right: 5px;
padding-bottom: 10px;
}
.tile-title {
text-transform: uppercase;
display: inline;
margin: 0;
width: 100%;
letter-spacing: 2px;
}
.dropdown-menu {
margin-top: -1px;
overflow: hidden;
border: 0;
margin: 0;
font-size: 12px;
background: rgba(255,255,255,0.85);
}
.sa-side-url-panel{
background: rgb(164, 173, 173);
}
</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_slt.png" alt="" title="驾驶舱跳转">
</a>
</li>
<li>
<a class="sa-side-network" href="#sCont2" data-toggle="tab">
<img src="images/leftbtn/leftbtn_network.png" alt="" title="网络">
</a>
</li>
<li>
<a class="sa-side-ip" href="#sCont3" data-toggle="tab">
<img src="images/leftbtn/leftbtn_ip.png" alt="" title="主机">
</a>
</li>
<li>
<a class="sa-side-custom" href="#sCont4" data-toggle="tab">
<img src="images/leftbtn/leftbtn_custom.png" alt="" title="自定义应用">
</a>
</li>
<li>
<a class="sa-side-web" href="#sCont5" data-toggle="tab">
<img src="images/leftbtn/leftbtn_web.png" alt="" title="WEB服务">
</a>
</li>
<li>
<a class="sa-side-db" href="#sCont6" data-toggle="tab">
<img src="images/leftbtn/leftbtn_db.png" alt="" title="数据库服务">
</a>
<ul class="toggleUltext none" style="width:355%;">
<li><span>数据库服务</span></li>
<li><a href="#">ORACLE</a></li>
<li><a href="#">MYSQL</a></li>
<li><a href="#">SQLSERVER</a></li>
</ul>
</li>
<li>
<a class="sa-side-url" href="#sCont7" data-toggle="tab">
<img src="images/leftbtn/leftbtn_url.png" alt="" title="URL交易">
</a>
<div class="panel hide sa-side-url-panel" style="position: absolute;left: 123%; width: 1600%;">
<div class="panel-heading">
</div>
<div class="panel-body range">
<div id="toolbar2">
<button class="btn btn-default">
<span class="glyphicon glyphicon-asterisk"></span>
</button>
</div>
<table id="table5"
data-toggle="table"
data-toolbar="#toolbar2"
data-height="360"
data-url="json/table.json"
data-pagination="true"
data-show-columns="true"
data-search="true"
>
<thead>
<tr>
<th data-field="name" data-editable="true" data-sortable="true">URL业务</th>
<th data-formatter="operateFormatter">操作</th>
</tr>
</thead>
</table>
</div>
</div>
</li>
<li>
<a class="sa-side-tuli" href="#sCont8" data-toggle="tab">
<img src="images/leftbtn/leftbtn_tuli.png" alt="" title="绘图">
</a>
<ul class="toggleUltext none" style="width:355%;">
<li><span>绘图</span></li>
<li><a href="#">文字</a></li>
<li><a href="#">连接线</a></li>
<li><a href="#">圆角框</a></li>
<li><a href="#">链路</a></li>
<li><a href="#">交换机</a></li>
<li><a href="#">DB服务器</a></li>
<li><a href="#">防火墙</a></li>
<li><a href="#">流量控制</a></li>
<li><a href="#">NAT</a></li>
<li><a href="#">网络安全</a></li>
<li><a href="#">路由器</a></li>
<li><a href="#">服务器</a></li>
</ul>
</li>
<li>
<a class="sa-side-save" href="#sCont9" data-toggle="tab">
<img src="images/leftbtn/leftbtn_save.png" alt="" title="保存">
</a>
</li>
<li>
<a class="sa-side-delete" href="#sCont10" data-toggle="tab">
<img src="images/leftbtn/leftbtn_delete.png" alt="" title="删除">
</a>
</li>
<li>
<a class="sa-side-pic" href="#sCont11" data-toggle="tab">
<img src="images/leftbtn/leftbtn_pic.png" alt="" title="驾驶舱设置">
</a>
</li>
</ul>
</div>
<div class="right">
<div id="imgTabContent">
<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"
data-search="true"
>
<thead>
<tr>
<th data-field="name" data-editable="true" data-sortable="true">业务名称</th>
<th data-field="alarm-Interval-time" data-editable="true" data-sortable="true">备注</th>
<th data-field="port" data-editable="true" data-sortable="true">普通阈值[ms]</th>
<th data-field="ip" data-editable="true" data-sortable="true">重要阈值[ms]</th>
<th data-field="Remarks" data-editable="true" data-sortable="true">紧急阈值[ms]</th>
<th data-formatter="operateFormatter" data-sortable="true">操作</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<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="table4"
data-toggle="table"
data-toolbar="#toolbar"
data-height="360"
data-url="json/table.json"
data-pagination="true"
data-show-columns="true"
data-search="true"
>
<thead>
<tr>
<th data-field="name" data-editable="true" data-sortable="true">编号</th>
<th data-field="alarm-Interval-time" data-editable="true" data-sortable="true">名称</th>
<th data-field="port" data-editable="true" data-sortable="true">URL</th>
<th data-field="ip" data-editable="true" data-sortable="true">普通阈值[ms]</th>
<th data-field="Remarks" data-editable="true" data-sortable="true">重要阈值[ms]</th>
<th data-field="Remarks" data-editable="true" data-sortable="true">紧急阈值[ms]</th>
<th data-formatter="operateFormatter" data-sortable="true">操作</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
<div class="row row-zero">
<div class="col-md-6">
<div class="panel">
<div class="tile">
<h6 class="tile-title">线图</h6>
<div class="tile-config pull-right">
<a href="javascript:void(0)"><img src="images/baseline.png" alt="基线"></a>
<a href="javascript:void(0)"><img src="images/addcockpit.png" alt="添加驾驶舱"></a>
<a href="javascript:void(0)"><img src="images/addreport.png" alt="添加报表"></a>
<a href="javascript:void(0)"><img src="images/delete.png" alt="删除"></a>
</div>
</div>
<div class="p-10">
<div class="line" style="height: 30rem; padding: 0px; position: relative;">
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel">
<img src="images/append.png" alt="添加" class="center-block" style="padding: 99.4px;">
</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>
!function (){
var myChart = echarts.init($(".line")[0]);
option = {
backgroundColor:"rgba(0,0,0,0.2)",
title: {
text: '折线图堆叠',
textStyle:{
color:"#fff"
}
},
tooltip: {
trigger: 'axis'
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['周一','周二','周三','周四','周五','周六','周日'],
axisLine:{
lineStyle:{
color:"#fff"
}
}
},
yAxis: {
type: 'value',
axisLine:{
lineStyle:{
color:"#fff"
}
}
},
series: [
{
type:'line',
stack: '总量',
data:[120, 132, 101, 134, 90, 230, 210],
itemStyle:{
normal:{
color:"rgba(222,147,34,1)"
}
}
}
]
};
myChart.setOption(option);
$(window).resize(function(){
myChart.resize();
})
}();
function operateFormatter(value, row, index) {
return [
'<img src="images/edit.png"/>',
'<img src="images/false.png" style="padding-left: 5%;padding-right: 5%;"/>'
].join('')
}
</script>