-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.html
173 lines (154 loc) · 6.8 KB
/
device.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, shrink-to-fit=no, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Connseed - Light&Powerful Smart Farming Solution</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/simple-sidebar.css" rel="stylesheet">
<link href="css/devlist.css" rel="stylesheet">
<link href="css/fb.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
body {
height: 100%;
margin: 0;
overflow-x: hidden;
overflow-y: auto;
padding: 0;
width: 100%;
background: url(bg.png) repeat center center fixed;
background-size: cover;
}
</style>
</head>
<body>
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<ul class="sidebar-nav">
<li class="sidebar-brand">
<a href="index.html" style="color:white; font-size:30px">
Connseed.
</a>
</li>
<li>
<a href="account.html">계정</a>
</li>
<li>
<a href="device.html">디바이스 관리</a>
</li>
<li>
<a href="monitoring.html">모니터링</a>
</li>
<li>
<a href="analysis.html">프리미엄 분석</a>
</li>
</ul>
<a href="#menu-toggle" class="float" id="menu-toggle" style="color:white;">
<br />
' '
</a>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 style="font-size:50px; color:white">Device Management</h1>
<p style="font-size:20px; color:white">This template has a responsive menu toggling system. The menu will appear collapsed on smaller screens, and will appear non-collapsed on larger screens. When toggled using the button below, the menu will appear/disappear. On small screens, the page content will be pushed off canvas.</pstyle="font-size:30px;>
<p style="color:white">Make sure to keep all page content within the <code>#page-content-wrapper</code>.</p>
<div>
<script>
$.get('http://169.56.126.151/Data/GetRawData?device=1', function (data) { $('.result').html(data); alert('Load was performed.'); });
</script>
</div>
<ol>
<li class="rectangle-list">
<a>Device 1</a>
<ul class="hide">
<li><div style="background-color:rgba(50, 50, 30, 0.5); "></div></li>
<li><a href="">ID : d5</a></li>
<li><a href="">POS : D-5C Area (학교 뒷산)</a></li>
<li><a href="">BAT : 70%</a></li>
</ul>
</li>
<li class="rectangle-list">
<a>Device 2</a>
<ul class="hide">
<li><a href="">d3</a></li>
<li><a href="">POS : D-3C Area (학교 뒷산)</a></li>
<li><a href="">BAT : 70%</a></li>
</ul>
</li>
<li class="rectangle-list">
<a>Device 3</a>
<ul class="hide">
<li><a href="">ID : d2</a></li>
<li><a href="">POS : D-3C Area (학교 뒷산)</a></li>
<li><a href="">BAT : 70%</a></li>
</ul>
</li>
<li class="rectangle-list">
<a>Device 4</a>
<ul class="hide">
<li><a href="">ID : d1</a></li>
<li><a href="">POS : D-3C Area (학교 뒷산)</a></li>
<li><a href="">BAT : 70%</a></li>
</ul>
</li>
</ol>
</div>
</div>
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function (e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
<script>
$("#close").click(function (e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
<script>
$("#re").click(function (e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
<script type="text/javascript" language="JavaScript">
// html dom 이 다 로딩된 후 실행된다.
$(document).ready(function () {
// memu 클래스 바로 하위에 있는 a 태그를 클릭했을때
$(".rectangle-list>a").click(function () {
// 현재 클릭한 태그가 a 이기 때문에
// a 옆의 태그중 ul 태그에 hide 클래스 태그를 넣던지 빼던지 한다.
$(this).next("ul").toggleClass("hide");
});
});
</script>
</body>
</html>