-
Notifications
You must be signed in to change notification settings - Fork 0
/
current.html.tmpl
73 lines (61 loc) · 2.28 KB
/
current.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
61
62
63
64
65
66
67
68
69
70
71
72
73
#errorCatcher Echo
## $Id: index.html.tmpl,v 1.10 2015/01/26 21:44:06 root Exp $
##
#set global $pageTitle = "Current Weather Conditions"
#include "include/preamble.inc"
<body>
<div id="container">
#include "include/masthead.inc"
<div id="stats_group">
#include "include/current.inc"
<p> </p>
#set global $period1 = $yesterday
#set global $period2 = $day
#set global $period1Name = "Yesterday"
#set global $period2Name = "Today"
#include "include/chart.inc"
#if $Extras.has_key('radar_img')
<div id="radar_img">
#if $Extras.has_key('radar_url')
<a href="$Extras.radar_url">
#end if
<img src="$Extras.radar_img" alt="Radar" />
#if $Extras.has_key('radar_url')
</a>
<p>Click image for expanded radar loop</p>
#end if
</div>
#end if
#include "include/buttonbar.inc"
</div> <!--End class "stats_group" -->
<div id="content">
<div class="header">
<h3>24-Hour Plots</h3>
</div>
<div id="plots">
<img src="daytempdew.png" alt="temperatures" />
<img src="daytempchill.png" alt="heatchill" />
<img src="dayrain.png" alt="rain" />
<img src="daywind.png" alt="wind" />
<img src="daybarometer.png" alt="barometer"/>
<img src="daywinddir.png" alt="Hi Wind" />
<img src="dayinside.png" alt="Inside" />
<img src="daywindvec.png" alt="Wind Vector" />
#if $Extras.has_key('optionalAccessories') and $period2.pm2_5.has_data
<img src="dayaqi.png" alt="Air Quality" />
#end if
#if $Extras.has_key('optionalAccessories') and $period2.radiation.has_data
<img src="dayradiation.png" alt="Solar Radiation" />
#end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
<img src="dayuv.png" alt="UV Index" />
#end if
#if $day.extraTemp1.has_data
<img src="daypond.png" alt="Pond Temperatures" />
#end if
</div> <!-- End id "plots" -->
</div> <!-- End id "content" -->
</div>
#include "include/analytics.inc"
</body>
</html>