Revision 66 hci/trunk/eneraptor-web-app/grails-app/views/layouts/main.gsp
main.gsp | ||
---|---|---|
18 | 18 |
|
19 | 19 |
<!-- Energy saved --> |
20 | 20 |
<div style="position:absolute;top:10px;"> |
21 |
<div style="position:absolute;left:250px;color:white;"> |
|
22 |
<center style="width:150px;"> |
|
23 |
<p style="font-size:75%;">From start</p> |
|
24 |
<p><b>1243432.45</b> kWh</p> |
|
25 |
<p style="font-size:75%;">of energy saved</p> |
|
26 |
</center> |
|
21 |
<div style="position:relative;left:650px;top:15px;"> |
|
22 |
<select style="width:310px;" onchange="location.href=escape(this.options[this.selectedIndex].value)"> |
|
23 |
<g:each in="${com.eneraptor.hci.HardwareSet.list()}" var="hwSet"> |
|
24 |
<g:if test="${hwSet.id == session.hwSet.id}"> |
|
25 |
<option value="${createLink(controller:'chooseHwSet',action:'change',id:hwSet.id)}" selected="selected">${hwSet.name}</option> |
|
26 |
</g:if> |
|
27 |
<g:else> |
|
28 |
<option value="${createLink(controller:'chooseHwSet',action:'change',id:hwSet.id)}">${hwSet.name}</option> |
|
29 |
</g:else> |
|
30 |
</g:each> |
|
31 |
</select> |
|
27 | 32 |
</div> |
28 |
<div style="position:absolute;left:400px;color:white;"> |
|
29 |
<center style="width:150px;"> |
|
30 |
<p style="font-size:75%;">Last year</p> |
|
31 |
<p><b>87329.84</b> kWh</p> |
|
32 |
<p style="font-size:75%;">of energy saved</p> |
|
33 |
</center> |
|
34 |
</div> |
|
35 |
<div style="position:absolute;left:550px;color:white;"> |
|
36 |
<center style="width:150px;"> |
|
37 |
<p style="font-size:75%;">Last month</p> |
|
38 |
<p><b>5644.56</b> kWh</p> |
|
39 |
<p style="font-size:75%;">of energy saved</p> |
|
40 |
</center> |
|
41 |
</div> |
|
42 |
<div style="position:absolute;left:700px;color:white;"> |
|
43 |
<center style="width:150px;"> |
|
44 |
<p style="font-size:75%;">Last week</p> |
|
45 |
<p><b>453.00</b> kWh</p> |
|
46 |
<p style="font-size:75%;">of energy saved</p> |
|
47 |
</center> |
|
48 |
</div> |
|
49 |
<div style="position:absolute;left:850px;color:white;"> |
|
50 |
<center style="width:150px;"> |
|
51 |
<p style="font-size:75%;">Last day</p> |
|
52 |
<p><b>23.28</b> kWh</p> |
|
53 |
<p style="font-size:75%;">of energy saved</p> |
|
54 |
</center> |
|
55 | 33 |
</div> |
56 |
</div> |
|
57 | 34 |
<!-- / Energy saved --> |
58 | 35 |
|
59 | 36 |
<div id="header"> |
Also available in: Unified diff