-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewThermostats.html
213 lines (178 loc) · 9.04 KB
/
viewThermostats.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
<!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, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Thermostat | View Thermostats</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/metisMenu.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/bootstrap-table.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
<style>
.navbar {
font-size: 0.97em;
}
</style>
<!-- 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]-->
</head>
<body>
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<ul class="nav navbar-top-links navbar-right pull-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-user fa-fw"></i> Username <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
</li>
<li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
</li>
<li class="divider"></li>
<li><a href="index.html"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
</li>
</ul>
</li>
</ul>
<style>
#titlePage {text-decoration: underline;}
</style>
<a id="titlePage" class="navbar-brand" href="homePage.html">PeakSaver Home</a>
</div>
<!-- / Navigation Header -->
<ul class="nav navbar-top-links navbar-right">
<li class="dropdown">
<a href="viewThermostats.html" class="btn">
Thermostats
</a>
</li>
<!-- /.dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-calendar fa-fw"></i> Schedules <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-user dropdown-menu-left">
<li>
<a href="viewSchedules.html">
<div>
View Schedules
</div>
</a>
</li>
<li class="divider"></li>
<li>
<a href="schedule-create.html">
<div>
Create Schedule
</div>
</a>
</li>
</ul>
<!-- /.dropdown-alerts -->
</li>
<!-- /.dropdown -->
<li class="dropdown">
<a href="history-thermostat.html">
<i class="fa fa-clock-o fa-fw"></i> History
</a>
<!-- /.dropdown-user -->
</li>
<!-- /.dropdown -->
</ul>
<!-- /.navbar-top-links -->
</nav>
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<h3>View Thermostats</h3>
<div class="col-lg-12">
<!-- Actual Content -->
<div class="table-responsive">
<style>
table {background-color:#cfc}
#table a {text-decoration: underline;}
</style>
<table id="table" class="table table-bordered table-hover table-condensed table-stripped" data-toggle="table" data-show-refresh="true">
<thead>
<tr style="vertical-align: top"><th class="bs-checkbox " style=""><div class="th-inner "><div class="th-inner "><div class="th-inner "><input name="btSelectItem" type="checkbox">Select All</div></div><div class="fht-cell"></div></div></div><div class="fht-cell"></div></div></div><div class="fht-cell"></div><div style="margin: 0px 2px 2px; display: none;" class="filterControl"></div></div></th>
<th style=""><div class="th-inner "><div ><div class="th-inner "><div class="th-inner sortable">Location using Thermostat</div><div class="fht-cell"></div></div><div style="margin: 0px 2px 2px; display: none;" class="filterControl"></div></div></div><div class="fht-cell"></div><div style="margin: 0px 2px 2px; display: none;" class="filterControl"></div></div><div class="fht-cell"></div><div style="margin: 0px 2px 2px; display: none;" class="filterControl"></div></th>
</tr>
</thead>
<tbody>
<tr class="selected" data-index="0"><td class="bs-radio" style=""><input data-index="0" name="btSelectItem" type="radio"></td>
<td style="">Muskoka Cottage<br><a href="javascript:void(0)" data-name="name" data-pk="undefined" data-value="Item 0" class="editable editable-click">cottageEX1990</a></td>
</tr>
<tr class="selected" data-index="1"><td class="bs-radio" style=""><input data-index="1" name="btSelectItem" type="radio"></td>
<td style="">Office<br><a href="javascript:void(0)" data-name="name" data-pk="undefined" data-value="Item 1" class="editable editable-click">officeEX790</a></td>
</tr>
<tr class="selected" data-index="2"><td class="bs-radio" style=""><input data-index="2" name="btSelectItem" type="radio"></td>
<td style="">Home<br><a href="javascript:void(0)" data-name="name" data-pk="undefined" data-value="Item 2" class="editable editable-click">home3EX990</a></td></tr>
</tbody></table>
</div>
<div class="btn-group-vertical" role="group" aria-label="...">
<p>Use the two below dropdown buttons to select and assigne a schedule for the thermostat selected in the table above. Disabled option indicates a schedule is already associated to selected Thermostat.</p>
<div class="btn-group btn-group-justified" role="group" aria-label="">
<div class="dropdown btn-group">
<button class="btn btn-default btn-primary active dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Weekday Schedule
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Summer Weekend</a></li>
<li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="#">Summer Weekday</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Winter-Fall Weekday</a></li>
<li role="presentation" class="divider"></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="viewSchedules.html">All Schedule-TABLE</a></li>
</ul>
</div>
<div class="dropdown btn-group">
<button class="btn btn-default btn-primary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Weekend Schedule
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Summer Weekday</a></li>
<li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="#">Summer Weekend</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Winter-Fall Weekday</a></li>
<li role="presentation" class="divider"></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="viewSchedules.html">All Schedule-TABLE</a></li>
</ul>
</div>
</div>
<div class="btn-group btn-group-justified" role="group" aria-label="">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default btn-success btn-lg ">Save</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-danger btn-default btn-lg">Cancel</button>
</div>
</div>
</div>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/metisMenu.min.js"></script>
<script src="js/bootstrap-table.js"></script>
</body>
</html>