-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html.tmpl
98 lines (88 loc) · 3.12 KB
/
about.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
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
#errorCatcher Echo
## $Id: about.html.tmpl,v 1.5 2015/01/26 21:40:47 root Exp root $
##
#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 id="about">
<div class="header">
About this weather station:
</div>
<table>
<tr>
<td class="label">Location:</td>
<td class="data">$station.latitude[0]° $station.latitude[1]' $station.latitude[2],
$station.longitude[0]° $station.longitude[1]' $station.longitude[2]</td>
</tr>
<tr>
<td class="label">Elevation:</td>
<td class="data">$station.altitude</td>
</tr>
</table>
<p>
Weather collected by $station.hardware
#if $Extras.has_key('modelNumber')
model $Extras.modelNumber
#end if
#if $Extras.has_key('modelFeatures')
with $Extras.modelFeatures,
#end if
#if $Extras.has_key('computerType')
linked to a $Extras.computerType running
#else
via
#end if
<a href="http://www.weewx.com">weewx</a><br/>
Personal Weather Station operated by $Extras.siteOperator
</p>
<p>Weewx uptime: $station.uptime<br/>
Server uptime: $station.os_uptime</p>
<br/>
#if $varExists('forecast')
Forecast data provided by <br/>
#if $Extras.has_key('wundergroundLink')
<a href="$Extras.wundergroundLink" target="_blank">
#else
<a href="http://www.wunderground.com/weatherstation/overview.asp" target="_blank">
#end if
<img src="backgrounds/wundergroundLogo_4c_horz.jpg"></a>
#end if
</p>
<p>
<i>WeeGreen skin authored by Rich Braun, Copyright 2020</i>
</div> <!-- End id "about" -->
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="https://github.com/instantlinux/weewx-WeeGreen">Fork me on GitHub</a>
</div>
</div>
</div>
</div>
#include "include/analytics.inc"
</body>
</html>