-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathabout.html.tmpl
152 lines (136 loc) · 6.03 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
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
<!DOCTYPE html>
<html lang="en">
<head itemscope itemtype="http://schema.org/Website">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Refresh" content="180">
#if $Extras.has_key('cwop')
<meta name="description" content="About $station.hardware $station.location Stazione Meteo ($Extras.cwop). Sito generato da WeeWX">
#else
<meta name="description" content="About $station.hardware $station.location Stazione Meteo. Sito generato da WeeWX">
#end if
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11" />
#if $Extras.has_key('web_url')
<link href="$Extras.web_url/about.html" itemprop="url"/>
#end if
<title itemprop="name">About the $station.location Stazione Meteo</title>
<!-- Open Graph -->
<meta property="og:site_name" content="About the $station.location Stazione Meteo" />
<meta property="og:title" content="About the Station"/>
#if $Extras.has_key('web_url')
<meta property="og:url" content="$Extras.web_url/about.html"/>
#end if
<meta property="og:description" content="About $station.hardware $station.location Stazione Meteo. Sito generato da WeeWX" />
<meta property="og:type" content="website" />
<!-- FavIcons -->
<link rel="icon" href="favicon.ico" type="image/png">
<link rel="apple-touch-icon" href="touch-icon.png"/>
<!-- Styles -->
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
<!-- Font Awesome site kit links -->
<!-- If you have a pro license -->
<script src="https://kit.fontawesome.com/20f41d8eed.js" crossorigin="anonymous"></script>
<!-- Free license -->
<!-- <script src="https://kit.fontawesome.com/b527f43d5a.js" crossorigin="anonymous"></script> -->
<!-- Script -->
<script src="js/modernizr-2.6.2.min.js"></script>
<script src="js/checkdiff.js"></script>
</head>
<body>
<header>
<div class="container-fix" >
<div class="h-left" >
<h1><i class="fas fa-cloud" ></i> $station.location </h1>
<p>$station.latitude[0]° $station.latitude[1]' $station.latitude[2] | $station.longitude[0]° $station.longitude[1]' $station.longitude[2] | $station.altitude | <a href="https://www.google.com/maps/?q=$station.latitude[0]°%20$station.latitude[1]%20$station.latitude[2],$station.longitude[0]°%20$station.longitude[1]%20$station.longitude[2]" target="_blank" ><i class="fas fa-map-marker-alt" ></i> Mostra sulla mappa</a></p>
<h2>Informazioni Stazione</h2>
<p><i class="far fa-clock" ></i> $current.dateTime $current.dateTime.format("%Z")</p>
<p id="freshweather" class="m-orange"></p>
<script>
window.onload = checkDiff("$current.dateTime ($current.dateTime.format('%Z'))");
</script>
</div>
<div class="h-right" >
<table>
<tr>
<td><b>Stazione:</b></td>
<td>$station.hardware</td>
</tr>
<tr>
<td><b>Software:</b></td>
<td><a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a></td>
</tr>
<tr>
<td><b>Aggiornamento Weewx:</b></td>
<td>$station.uptime</td>
</tr>
<tr>
<td><b>Aggiornamento Server:</b></td>
<td>$station.os_uptime</td>
</tr>
</table>
</div>
<nav>
<ul class="topnav" id="myTopnav">
<li class="icon"><a href="javascript:void(0);" onclick="myFunction()"><i class="fas fa-bars" ></i></a></li>
<li><a href="/" >Correnti</a></li>
<li><a href="week.html" >Settimana</a></li>
<li><a href="month.html" >Mese</a></li>
<li><a href="year.html" >Anno</a></li>
<li><a href="summary.html" >Tabelle</a></li>
<li class="active"><a href="about.html" >About</a></li>
<li><a href="RSS/weewx_rss.xml" ><i class="fas fa-rss" ></i></a></li>
</ul>
</nav>
</div>
</header>
<!-- Main container -->
<div class="main" >
<div class="container" >
<div class="card">
<p> Informazioni libere sulla stazione. </p>
</div>
</div>
</div>
<footer>
<div class="container-fix">
<div style="text-align:center">
#if $Extras.has_key('you')
<i class="fab fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
#end if
⋅
Copyright <i class="far fa-copyright"></i> $latest.dateTime.format("%Y")
<br>
Sofaskin by <a href="http://neoground.com">Neoground</a>
⋅
CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
⋅
Powered by<i class="fas fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
</div>
</div>
</footer>
#if $Extras.has_key('googleAnalyticsId')
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '$Extras.googleAnalyticsId', 'auto');
ga('send', 'pageview');
</script>
#end if
<!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</body>
</html>