-
Notifications
You must be signed in to change notification settings - Fork 81
/
devices_list.html
240 lines (237 loc) · 11 KB
/
devices_list.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
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>我的设备 | Yeelink用户中心</title>
<link type="text/css" rel="stylesheet" href="resource/css/framework.css" />
<link type="text/css" rel="stylesheet" href="resource/css/main.css" />
</head>
<body>
<div class="page">
<!--header begin-->
<header>
<div class="bigcontainer">
<div id="logo">
<a href="./">yeelink用户中心</a>
</div>
<div class="user">
<div class="ui inline labeled icon top right pointing dropdown">
<img class="ui avatar image" src="resource/images/avatar-default.gif">
欢迎,$用户名
<i class="dropdown icon"></i>
<div class="menu">
<a class="item" href="http://www.yeelink.net"><i class="reply mail icon"></i>返回首页</a>
<a class="item" href="/user/logout"><i class="sign out icon"></i>注销登录</a>
</div>
</div>
</div>
</div>
</header>
<!-- the main menu-->
<div class="ui teal inverted menu fluid">
<div class="bigcontainer">
<div class="right menu">
<a class="item" href="./index.html"><i class="home icon"></i>管理首页</a>
<a class="active item" href="./devices_list.html"><i class="sitemap icon"></i>设备</a>
<a class="item" href="./user_profile.html"><i class="info icon"></i>账户</a>
</div>
</div>
</div>
<!--the main content begin-->
<div class="container">
<!--the content-->
<div class="ui grid">
<!--the vertical menu-->
<div class="four wide column">
<div class="verticalMenu">
<div class="ui vertical pointing menu fluid">
<a class="item" href="./add.html">
<i class="add icon"></i> 绑定新设备
</a>
<a class="active teal item" href="devices_list.html">
<i class="settings icon"></i> 我的设备
</a>
<a class="item" href="actions.html">
<i class="terminal icon"></i> 设备动作
</a>
</div>
</div>
</div>
<!--the Devicelist-->
<div class="twelve wide column">
<div class="pageHeader">
<div class="segment">
<h3 class="ui dividing header">
<i class="large settings icon"></i>
<div class="content">
我的设备
<div class="sub header">所有设备都在这里</div>
</div>
</h3>
</div>
</div>
<div class="ui vertical segment">
<a class="ui red small labeled icon add button" href="./add.html"><i class="add icon"></i>添加新设备</a>
<div class="ui small icon input right">
<input type="text" placeholder="输入设备名搜索……">
<i class="search icon"></i>
</div>
</div>
<!--the device content-->
<div class="ui device two column middle aligned vertical grid segment">
<div class="column verborder">
<div class="ui info segment">
<h5 class="ui header">设备名01 <span class="ui type label">pub</span>
</h5>
<p>设备ID: <span class="stress">2343</span></p>
<p>设备地址: <a class="externalUrl" href="http://www.yeelink.net/devices/5905" target="_blank">http://www.yeelink.net/devices/5905</a></p>
<p>API 地址: http://api.yeelink.net/devices/5905</p>
<p class="sensorStatus">传感器状态:
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui red error label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
</p>
</div>
</div>
<div class="center aligned column">
<div class="ui buttons">
<a class="ui tiny green button"><i class="rocket icon"></i>部 署</a>
<a class="ui tiny blue button" href="./device.html"><i class="setting icon"></i>管 理</a>
<a class="ui tiny basic button"><i class="trash icon"></i>删 除</a>
</div>
</div>
</div>
<!--another device content-->
<div class="ui two column device middle aligned vertical grid segment">
<div class="column verborder">
<div class="ui info segment">
<h5 class="ui header">设备名01 <span class="ui type label">pub</span>
</h5>
<p>设备ID: <span class="stress">2343</span></p>
<p>设备地址: <a class="externalUrl" href="http://www.yeelink.net/devices/5905" target="_blank">http://www.yeelink.net/devices/5905</a></p>
<p>API 地址: http://api.yeelink.net/devices/5905</p>
<p class="sensorStatus">传感器状态:
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui red error label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
</p>
</div>
</div>
<div class="center aligned column">
<div class="ui buttons">
<a class="ui tiny green button"><i class="rocket icon"></i>部 署</a>
<a class="ui tiny blue button" href="./device.html"><i class="setting icon"></i>管 理</a>
<a class="ui tiny basic button"><i class="trash icon"></i>删 除</a>
</div>
</div>
</div>
<!--another device content-->
<div class="ui two column device middle aligned vertical grid segment">
<div class="column verborder">
<div class="ui info segment">
<h5 class="ui header">设备名01 <span class="ui type label">pub</span>
</h5>
<p>设备ID: <span class="stress">2343</span></p>
<p>设备地址: <a class="externalUrl" href="http://www.yeelink.net/devices/5905" target="_blank">http://www.yeelink.net/devices/5905</a></p>
<p>API 地址: http://api.yeelink.net/devices/5905</p>
<p class="sensorStatus">传感器状态:
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui red error label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
<span class="ui green ok label" data-variation="inverted"></span>
</p>
</div>
</div>
<div class="center aligned column">
<div class="ui buttons">
<a class="ui tiny green button"><i class="rocket icon"></i>部 署</a>
<a class="ui tiny blue button" href="./device.html"><i class="setting icon"></i>管 理</a>
<a class="ui tiny basic button"><i class="trash icon"></i>删 除</a>
</div>
</div>
</div>
<!--Pagination-->
<div class="ui pagination menu">
<a class="icon item">
<i class="icon left arrow"></i>
</a>
<a class="active item">
1
</a>
<div class="disabled item">
...
</div>
<a class="item">
4
</a>
<a class="item">
5
</a>
<a class="item">
6
</a>
<a class="icon item">
<i class="icon right arrow"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<!--footer begin-->
<footer>
<div id="copyrights">
<div class="inset">
<div class="bigcontainer">
<div class="fl">
<div class="logo"></div>
<p>© 2020 青岛亿联客信息技术有限公司, 版权所有<br />
<a href="http://www.miibeian.gov.cn" target="_blank">鲁ICP备12022271号</a></p>
</div>
</div>
</div>
</div>
</footer>
<script type="text/javascript" src="resource/javascript/jquery.min.js"></script>
<script type="text/javascript" src="resource/javascript/framework.js"></script>
<script>
$(document).ready(function(){
$('.ui.dropdown')
.dropdown()
;
$('.ok.label')
.popup({
content:'这个传感器正常工作。'
})
;
$('.error.label')
.popup({
content:'哎呀,这个传感器异常。'
})
;
});
</script>
</body>
</html>