-
Notifications
You must be signed in to change notification settings - Fork 3
/
actions.html
250 lines (246 loc) · 12.1 KB
/
actions.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1250,height=1000, initial-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="author" content="Daniel Santos">
<meta name="repository" content="https://github.com/xdanielsb/EnergyMonitor">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="css/progress.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="js/custom.js"></script>
<script src="https://cdn.rawgit.com/xdanielsb/Energy/e21a8fa8/base/b3/code_radial$.js"></script>
</head>
<body>
<div class="sidenav-left">
<center>
<a href="calendar.html" style="border-color:transparent"> <img src="img/date0.png" alt="" class="img-logo"> </a>
<br><br>
<div class="btn-link" >
<a href="index.html">Our Status</a>
</div>
<div class="btn-link" >
<a href="data.html">Our Community</a>
</div>
<div class="btn-link" id="active_button">
<a href="actions.html">My Actions</a>
</div>
<div class="btn-link" >
<a href="wallet.html">My Wallet</a>
</div>
<a href="credits.html" style="border-color:transparent"> <span style="position:relative; top:30px;" class="glyphicon glyphicon-info-sign" ></span> </a>
</center>
</div>
<div class="sidenav-right" id="sidenav-right" style=" margin-top:-20px;">
<div class="wrapper2">
<div class="header-right-menu">
<h3>History</h3>
<span class="glyphicon glyphicon-bell bell" onclick="hideRightMenu()"></span>
</div>
<div class="content-right-menu">
<div class="item-content" style="background-color: yellow;">
<div class="item-right-menu">
<b >21</b>
<p style="display:inline"> MARCH: </p>
<p style="color:red;display:inline">Your community is doing better than last month, but still on track to exceed the monthly goal.</p>
</div>
</div>
<div class="item-content">
<div class="item-right-menu">
<p style="display:inline"> FEBRUARY: </p>
<p style="color:green;display:inline">Your community met the monthly goal.</p>
</div>
</div>
<div class="item-content">
<div class="item-right-menu">
<p style="display:inline"> JANUARY: </p>
<p style="color:green;display:inline">Your community met the monthly goal.</p>
</div>
</div>
<div class="item-content" style="background-color: #f4d5d5;">
<div class="item-right-menu">
<p style="display:inline"> DECEMBER: </p>
<p style="color:#ff5050;display:inline">Your community missed the monthly goal by a large: 5,000 kWh.</p>
</div>
</div>
<div class="item-content">
<div class="item-right-menu">
<p style="display:inline"> NOVEMBER: </p>
<p style="color:green;display:inline">Your community met the monthly goal.</p>
</div>
</div>
<div class="item-content" style="background-color: #f4d5d5;">
<div class="item-right-menu">
<p style="display:inline"> OCTOBER: </p>
<p style="color:#ff5050;display:inline">Your community missed the monthly goal by a large: 5,000 kWh..</p>
</div>
</div>
<div class="item-content" style="background-color: #f4d5d5;">
<div class="item-right-menu">
<p style="display:inline"> SEPTEMBER: </p>
<p style="color:#ff5050;display:inline">Your community missed the monthly goal by a large: 5,000 kWh.</p>
</div>
</div>
<div class="item-content">
<div class="item-right-menu">
<p style="display:inline"> AUGUST: </p>
<p style="color:green;display:inline">Your community met the monthly goal.</p>
</div>
</div>
<div class="item-content" style="background-color: #f4d5d5;">
<div class="item-right-menu">
<p style="display:inline"> JULY: </p>
<p style="color:#ff5050;display:inline">Your community missed the monthly goal by a large: 5,000 kWh.</p>
</div>
</div>
</div>
</div>
</div>
<span id="bell1" class="glyphicon glyphicon-bell bell" onclick="displayRightMenu()" style="float:right; margin-top:10px;"></span>
<div class="container" style="position:absolute;">
<center>
<h2 class="tittle" style="margin-left:300px;">Your Activities</h2>
</center>
<h3 class="community-goal" id="community-goal" style="padding-left: 940px; margin-top:-23px "> Your Goal</h3>
<div class="doted" id="doted" style="left: 1050px; top: 50px;height: 165px;"> </div>
<div class="left-div-actions" style="display: inline;">
<img src="img/floorplan.png" alt="" style="margin-left: 310px" width="250px" height="505px" usemap="#floormap">
<map name="floormap">
<area shape="circle" coords="135,150,15" onclick="clickBoiler()" alt="boiler">
<area shape="circle" coords="170,430,15" onclick="clickBoiler()" alt="boiler">
</map>
</div>
<div class="right-div-actions" style="float:right; margin-right: -30px;">
<div id="opt_one_actions">
<div class="meter" style="height: 150px; width: 550px;">
<div class='meter-bar green' style="width: 72%;height: 150px;" data-tooltip='This month’s aggregated energy consumption by the community.'>
<div class="txt-green first-txt" >
This month:
</div>
<div class="progress-green">
1,014
</div>
<div class="txt-green">
kWh
</div>
</div>
<div class='meter-bar gray' style="width: 10%;height: 150px;" data-tooltip='Last month’s aggregated energy on the same date '>
<div class="txt-gray first-txt" >
<!-- Last month -->
</div>
</div>
</div>
<img src="img/scale_values_actions.png" alt="" class="scale-values-actions" style="">
<span class="glyphicon glyphicon-option-horizontal glyphicon-actions" style="position:relative; top:30px;" onclick="displayOptions()"></span>
<div id="sub-progress" style="display: inline; ">
<div class="selement">
<img src="img/heatCool.png" style="float:left">
<div class="doted" style="left: 1105px; top: 300px;height: 63px;"> </div>
<div class="meter" data-tooltip='Your community is on too high heating, preventing to meet the goal.' style="margin-left:70px; width:470px; height: 60px;">
<div class='meter-bar red' style="width: 60%;height: 60px;" >
<div style="margin-top: 20px">
<p class="sub-txt-number" > 701 </p>
<p class="kWh">kWh</p>
</div>
</div>
<div class='meter-bar gray' style="width: 5%;height: 60px;">
<div style="margin-top: 10px">
<p class="sub-txt-gray-number ">
</p>
</div>
<!-- <p class="kWh2">kWh -->
</div>
</div>
</div>
<div class="selement">
<img src="img/waterBoiler.png" style="float:left">
<div class="doted" style="left: 990px; top: 395px;height: 63px;"> </div>
<div class="meter" data-tooltip='Your community is on too high heating, preventing to meet the goal.' style="margin-left:70px; width:350px; height: 60px;">
<div class='meter-bar blue' style="width: 30%;height: 60px;" >
<div style="margin-top: 20px">
<p class="sub-txt-number" > 202 </p>
<p class="kWh">kWh</p>
</div>
</div>
<div class='meter-bar gray' style="width: 5%;height: 60px;">
<div style="margin-top: 10px">
<p class="sub-txt-gray-number ">
<!-- 21,000 -->
</p>
</div>
<!-- <p class="kWh2">kWh -->
</div>
</div>
</div>
<div class="selement">
<img src="img/lights.png" style="float:left">
<div class="doted" style="left: 870px; top: 490px;height: 63px;"> </div>
<div class="meter" data-tooltip='Your community is on too high heating, preventing to meet the goal.' style="margin-left:70px; width:200px; height: 60px;">
<div class='meter-bar yellow' style="width: 25%;height: 60px;" >
<div style="margin-top: 20px">
<p class="sub-txt-number" > 90 </p>
<p class="kWh">kWh</p>
</div>
</div>
<div class='meter-bar gray' style="width: 5%;height: 60px;">
<div style="margin-top: 10px">
<p class="sub-txt-gray-number ">
<!-- 21,000 -->
</div>
<!-- <p class="kWh2">kWh -->
</div>
</div>
</div>
<div class="selement">
<img src="img/appliances.png" style="float:left">
<div class="doted" style="left: 835px; top: 585px;height: 63px;"> </div>
<div class="meter" data-tooltip='Your community is on too high heating, preventing to meet the goal.' style="margin-left:70px; width:250px; height: 60px;">
<div class='meter-bar navy' style="width: 15%;height: 60px;" >
<div style="margin-top: 20px">
<p class="sub-txt-number" > 70 </p>
<p class="kWh">kWh</p>
</div>
</div>
<div class='meter-bar gray' style="width: 5%;height: 60px;">
<div style="margin-top: 10px">
<p class="sub-txt-gray-number ">
<!-- 21,000 -->
</div>
<!-- <p class="kWh2">kWh -->
</div>
</div>
</div>
<img src="img/scale_values_subprogress_actions.png" alt="" class="scale-values-subprogress" style="">
</div>
</div>
<div id="opt_two_actions" style="display:none">
<h2>Heating / Cooling </h2>
<img id="series-image" src="img/time0.png" alt="" class="img_time">
<form action="">
<br>
<div class="elements_form">
<div class="input_radio">
<input type="radio" name="temperature_scale" value="1" onclick="changeImage()"> Lower your temperature to 67 when you are not in home<br>
</div>
<div class="input_radio">
<input class="input_radio" type="radio" name="temperature_scale" onclick="changeImage()" value="2"> Lower your temperature to 70 when you are not in home<br>
</div>
<div class="input_radio">
<input class="input_radio" type="radio" name="temperature_scale" onclick="changeImage()" value="3"> Keep at 72 <br>
</div>
<div style="border-style: solid; width: 100px; border-width:1px;">
<center>
<a href="actions.html"> Commit </a>
</center>
</div>
</div>
</form>
</div>
</div>
</div>
<link rel="stylesheet" href="css/custom-links.css">
</body>
</html>