-
Notifications
You must be signed in to change notification settings - Fork 0
/
month.html.tmpl
60 lines (51 loc) · 2.07 KB
/
month.html.tmpl
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
#errorCatcher Echo
## $Id: month.html.tmpl,v 1.6 2015/01/26 21:45:10 root Exp $
#set global $pageTitle = "Monthly Weather Summary"
#include "include/preamble.inc"
<body>
<div id="container">
#include "include/masthead.inc"
<div id="stats_group">
#set global $period1 = $month
#set global $period2 = $year
#set global $period1Name = "This Month"
#set global $period2Name = "This Year"
#include "include/chart.inc"
</div> <!-- End class "stats_group" -->
<div id="content">
<div class="header">
<h3>30-Day Statistics and Plots</h3>
</div>
<div id="plots">
<img src="monthtempdew.png" alt="temperatures" />
<img src="monthtempchill.png" alt="heatchill" />
<img src="monthrain.png" alt="rain" />
<img src="monthwind.png" alt="wind" />
<img src="monthbarometer.png" alt="barometer"/>
<img src="monthwinddir.png" alt="Hi Wind" />
<img src="monthinside.png" alt="Inside" />
<img src="monthwindvec.png" alt="Wind Vector" />
#if $Extras.has_key('optionalAccessories') and $period2.pm2_5.has_data
<img src="monthaqi.png" alt="Air Quality" />
#end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
<img src="monthuv.png" alt="UV Index" />
#end if
#if $Extras.has_key('optionalAccessories') and $period2.radiation.has_data
<img src="monthradiation.png" alt="Radiation" />
#end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
<img src="monthuv.png" alt="UV Index" />
#end if
#if $period2.rxCheckPercent.has_data
<img src="monthrx.png" alt="month rx percent"/>
#end if
#if $period2.extraTemp1.has_data
<img src="monthpond.png" alt="Pond Temperatures" />
#end if
</div>
</div> <!-- End id "content" -->
</div> <!-- End id "container" -->
#include "include/analytics.inc"
</body>
</html>