month.html.tmpl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <!DOCTYPE html>
  2. <html class="no-js">
  3. <head itemscope itemtype="http://schema.org/Website">
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta http-equiv="Refresh" content="180">
  7. #if $Extras.has_key('cwop')
  8. <meta name="description" content="$station.location Weather Station ($Extras.cwop) - weather web site powered by WeeWX">
  9. #else
  10. <meta name="description" content="$station.location Weather Station - weather web site powered by WeeWX">
  11. #end if
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. <link rel="profile" href="http://gmpg.org/xfn/11" />
  14. #if $Extras.has_key('web_url')
  15. <link href="$Extras.web_url/month.html" itemprop="url"/>
  16. #end if
  17. <title itemprop="name">$station.location Monthly Weather Summary</title>
  18. <!-- Open Graph -->
  19. <meta property="og:site_name" content="$station.location Monthly Weather Summary" />
  20. <meta property="og:title" content="Monthly Weather Summary"/>
  21. #if $Extras.has_key('web_url')
  22. <meta property="og:url" content="$Extras.web_url/month.html"/>
  23. #end if
  24. <meta property="og:description" content="Monthly Weather Summary for $station.location - weather web site powered by WeeWX" />
  25. <meta property="og:type" content="website" />
  26. <!-- Icons -->
  27. <link rel="icon" href="favicon.ico" type="image/png">
  28. <link rel="apple-touch-icon" href="touch-icon.png"/>
  29. <!-- Styles -->
  30. <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
  31. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  32. <link rel="stylesheet" href="css/main.css">
  33. <!-- Skripte -->
  34. <script src="js/modernizr-2.6.2.min.js"></script>
  35. <script src="js/checkdiff.js"></script>
  36. </head>
  37. <body>
  38. <header>
  39. <div class="container-fix" >
  40. <div class="h-left" >
  41. <h1><i class="fa fa-cloud" ></i> $station.location </h1>
  42. <p>$station.latitude[0]&deg; $station.latitude[1]' $station.latitude[2] | $station.longitude[0]&deg; $station.longitude[1]' $station.longitude[2] | $station.altitude | <a href="https://www.google.com/maps/?q=$station.latitude[0]&deg;%20$station.latitude[1]%20$station.latitude[2],$station.longitude[0]&deg;%20$station.longitude[1]%20$station.longitude[2]" target="_blank" ><i class="fa fa-map-marker" ></i> Show on map</a></p>
  43. <h2>Monthly Weather Summary</h2>
  44. <p><i class="fa fa-clock-o" ></i> $current.dateTime $current.dateTime.format("%Z")</p>
  45. <p id="freshweather" class="m-orange"></p>
  46. <script type="text/javascript">
  47. window.onload = checkDiff("$current.dateTime ($current.dateTime.format('%Z'))");
  48. </script>
  49. </div>
  50. <div class="h-right" >
  51. <table>
  52. <tr><td><b>Station:</b></td><td>$station.hardware</td></tr>
  53. <tr><td><b>Software:</b></td><td><a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a></td></tr>
  54. <tr><td><b>Weewx uptime:</b></td><td>$station.uptime</td></tr>
  55. <tr><td><b>Server uptime:</b></td><td>$station.os_uptime</td></tr>
  56. #if $Extras.has_key('cwop') and $Extras.has_key('crahs')
  57. <tr><td><b>Station IDs:</b></td><td><a href="$Extras.cwop_url" target="_blank">$Extras.cwop</a> | <a href="$Extras.crahs_url" target="_blank">$Extras.crahs</a></td></tr>
  58. #end if
  59. </table>
  60. </div>
  61. <nav>
  62. <ul class="topnav" id="myTopnav">
  63. <li class="icon"><a href="javascript:void(0);" onclick="myFunction()"><i class="fa fa-bars" ></i></a></li>
  64. <li><a href="/" >Current</a></li>
  65. <li><a href="week.html" >Week</a></li>
  66. <li class="active"><a href="month.html" >Month</a></li>
  67. <li><a href="year.html" >Year</a></li>
  68. <li><a href="summary.html" >Summaries</a></li>
  69. <li><a href="station.html" >Station</a></li>
  70. <li><a href="RSS/weewx_rss.xml" ><i class="fa fa-rss" ></i></a></li>
  71. </ul>
  72. </nav>
  73. </div>
  74. </header>
  75. <div class="main" >
  76. <div class="container" >
  77. <div class="left" >
  78. <div class="card" >
  79. <h1><i class="fa fa-calendar m-orange" ></i> This Month</h1>
  80. <table class="tablespacer">
  81. <tr><td>High Temperature</td><td>$month.outTemp.max</td><td>$month.outTemp.maxtime</td></tr>
  82. <tr><td>Low Temperature</td><td>$month.outTemp.min</td><td>$month.outTemp.mintime</td></tr>
  83. <tr><td>High Heat Index</td><td>$month.heatindex.max</td><td>$month.heatindex.maxtime</td></tr>
  84. <tr><td>Low Wind Chill</td><td>$month.windchill.min</td><td>$month.windchill.mintime</td></tr>
  85. <tr><td>High Dewpoint</td><td>$month.dewpoint.max</td><td>$month.dewpoint.maxtime</td></tr>
  86. <tr><td>Low Dewpoint</td><td>$month.dewpoint.min</td><td>$month.dewpoint.mintime</td></tr>
  87. <tr><td>High Humidity</td><td>$month.outHumidity.max</td><td>$month.outHumidity.maxtime</td></tr>
  88. <tr><td>Low Humidity</td><td>$month.outHumidity.min</td><td>$month.outHumidity.mintime</td></tr>
  89. <tr><td>High Barometer</td><td>$month.barometer.max</td><td>$month.barometer.maxtime</td></tr>
  90. <tr><td>Low Barometer</td><td>$month.barometer.min</td><td>$month.barometer.mintime</td></tr>
  91. <tr><td>Rain Total</td><td>$month.rain.sum</td><td></td></tr>
  92. <tr><td>High Rain Rate</td><td>$month.rainRate.max</td><td>$month.rainRate.maxtime</td></tr>
  93. <tr><td>High Wind Speed</td><td>$month.wind.max <br>$month.wind.gustdir</td><td>$month.wind.maxtime</td></tr>
  94. <tr><td>Average Wind</td><td>$month.wind.avg</td><td></td></tr>
  95. <tr><td>RMS Wind</td><td>$month.wind.rms</td><td></td></tr>
  96. <tr><td>Vector Average Speed</td><td>$month.wind.vecavg</td><td></td></tr>
  97. <tr><td>Vector Average Direction</td><td>$month.wind.vecdir</td><td></td></tr>
  98. <tr><td>High Inside Temperature</td><td>$month.inTemp.max</td><td>$month.inTemp.maxtime</td></tr>
  99. <tr><td>Low Inside Temperature</td><td>$month.inTemp.min</td><td>$month.inTemp.mintime</td></tr>
  100. #if $month.extraTemp1.has_data
  101. <tr><td>High Pond Temp</td><td>$month.extraTemp1.max</td><td>$month.extraTemp1.maxtime</td></tr>
  102. <tr><td>Low Pond Temp</td><td>$month.extraTemp1.min</td><td>$month.extraTemp1.mintime</td></tr>
  103. #end if
  104. #if $month.UV.has_data
  105. <tr><td>High UV</td><td>$month.UV.max</td><td>$month.UV.maxtime</td></tr>
  106. <tr><td>Low UV</td><td>$month.UV.min</td><td>$month.UV.mintime</td></tr>
  107. #end if
  108. #if $month.ET.has_data and $month.ET.sum.raw >0.0
  109. <tr><td>High ET</td><td>$month.ET.max</td><td>$month.ET.maxtime</td></tr>
  110. <tr><td>Low ET</td><td>$month.ET.min</td><td>$month.ET.mintime</td></tr>
  111. #end if
  112. #if $month.radiation.has_data
  113. <tr><td>High Radiation</td><td>$month.radiation.max</td><td>$month.radiation.maxtime</td></tr>
  114. <tr><td>Low Radiation</td><td>$month.radiation.min</td><td>$month.radiation.mintime</td></tr>
  115. #end if
  116. </table>
  117. </div>
  118. <div class="card" >
  119. <h1><i class="fa fa-calendar m-orange" ></i> Last $month($months_ago=12).dateTime.format("%B %Y")</h1>
  120. <table class="tablespacer">
  121. <tr><td>High Temperature</td><td>$month($months_ago=12).outTemp.max</td><td>$month($months_ago=12).outTemp.maxtime</td></tr>
  122. <tr><td>Low Temperature</td><td>$month($months_ago=12).outTemp.min</td><td>$month($months_ago=12).outTemp.mintime</td></tr>
  123. <tr><td>High Heat Index</td><td>$month($months_ago=12).heatindex.max</td><td>$month($months_ago=12).heatindex.maxtime</td></tr>
  124. <tr><td>Low Wind Chill</td><td>$month($months_ago=12).windchill.min</td><td>$month($months_ago=12).windchill.mintime</td></tr>
  125. <tr><td>High Dewpoint</td><td>$month($months_ago=12).dewpoint.max</td><td>$month($months_ago=12).dewpoint.maxtime</td></tr>
  126. <tr><td>Low Dewpoint</td><td>$month($months_ago=12).dewpoint.min</td><td>$month($months_ago=12).dewpoint.mintime</td></tr>
  127. <tr><td>High Humidity</td><td>$month($months_ago=12).outHumidity.max</td><td>$month($months_ago=12).outHumidity.maxtime</td></tr>
  128. <tr><td>Low Humidity</td><td>$month($months_ago=12).outHumidity.min</td><td>$month($months_ago=12).outHumidity.mintime</td></tr>
  129. <tr><td>High Barometer</td><td>$month($months_ago=12).barometer.max</td><td>$month($months_ago=12).barometer.maxtime</td></tr>
  130. <tr><td>Low Barometer</td><td>$month($months_ago=12).barometer.min</td><td>$month($months_ago=12).barometer.mintime</td></tr>
  131. <tr><td>Rain Total</td><td>$month($months_ago=12).rain.sum</td><td></td></tr>
  132. <tr><td>High Rain Rate</td><td>$month($months_ago=12).rainRate.max</td><td>$month($months_ago=12).rainRate.maxtime</td></tr>
  133. <tr><td>High Wind Speed</td><td>$month($months_ago=12).wind.max <br>$month($months_ago=12).wind.gustdir</td><td>$month($months_ago=12).wind.maxtime</td></tr>
  134. <tr><td>Average Wind</td><td>$month($months_ago=12).wind.avg</td><td></td></tr>
  135. <tr><td>RMS Wind</td><td>$month($months_ago=12).wind.rms</td><td></td></tr>
  136. <tr><td>Vector Average Speed</td><td>$month($months_ago=12).wind.vecavg</td><td></td></tr>
  137. <tr><td>Vector Average Direction</td><td>$month($months_ago=12).wind.vecdir</td><td></td></tr>
  138. <tr><td>High Inside Temperature</td><td>$month($months_ago=12).inTemp.max</td><td>$month($months_ago=12).inTemp.maxtime</td></tr>
  139. <tr><td>Low Inside Temperature</td><td>$month($months_ago=12).inTemp.min</td><td>$month($months_ago=12).inTemp.mintime</td></tr>
  140. #if $month($months_ago=12).extraTemp1.has_data
  141. <tr><td>High Pond Temp</td><td>$month($months_ago=12).extraTemp1.max</td><td>$month($months_ago=12).extraTemp1.maxtime</td></tr>
  142. <tr><td>Low Pond Temp</td><td>$month($months_ago=12).extraTemp1.min</td><td>$month($months_ago=12).extraTemp1.mintime</td></tr>
  143. #end if
  144. #if $month($months_ago=12).UV.has_data
  145. <tr><td>High UV</td><td>$month($months_ago=12).UV.max</td><td>$month($months_ago=12).UV.maxtime</td></tr>
  146. <tr><td>Low UV</td><td>$month($months_ago=12).UV.min</td><td>$month($months_ago=12).UV.mintime</td></tr>
  147. #end if
  148. #if $month($months_ago=12).ET.has_data and $month.ET.sum.raw >0.0
  149. <tr><td>High ET</td><td>$month($months_ago=12).ET.max</td><td>$month($months_ago=12).ET.maxtime</td></tr>
  150. <tr><td>Low ET</td><td>$month($months_ago=12).ET.min</td><td>$month($months_ago=12).ET.mintime</td></tr>
  151. #end if
  152. #if $month($months_ago=12).radiation.has_data
  153. <tr><td>High Radiation</td><td>$month($months_ago=12).radiation.max</td><td>$month($months_ago=12).radiation.maxtime</td></tr>
  154. <tr><td>Low Radiation</td><td>$month($months_ago=12).radiation.min</td><td>$month($months_ago=12).radiation.mintime</td></tr>
  155. #end if
  156. </table>
  157. </div>
  158. </div>
  159. <div class="right" >
  160. <div class="card cc graphs" >
  161. <h1><i class="fa fa-line-chart m-gruen" ></i> Monthly Statistics and Plots</h1>
  162. <img src="monthtempdew.png" alt="temperatures" />
  163. <img src="monthrain.png" alt="rain" />
  164. <img src="monthwind.png" alt="wind" />
  165. <img src="monthwinddir.png" alt="Hi Wind" />
  166. <img src="monthwindvec.png" alt="Wind Vector" />
  167. <img src="monthtempchill.png" alt="heatchill" />
  168. <img src="monthbarometer.png" alt="barometer"/>
  169. <img src="monthinside.png" alt="Inside" />
  170. <img src="monthinhumid.png" alt="Inside/Outside Humidity" />
  171. #if $month.UV.has_data
  172. <img src="monthuv.png" alt="UV Index" />
  173. #end if
  174. #if $month.radiation.has_data
  175. <img src="monthradiation.png" alt="Radiation" />
  176. #end if
  177. #if $month.UV.has_data
  178. <img src="monthuv.png" alt="UV Index" />
  179. #end if
  180. #if $month.rxCheckPercent.has_data
  181. <img src="monthrx.png" alt="month rx percent"/>
  182. #end if
  183. #if $month.extraTemp1.has_data
  184. <img src="monthpond.png" alt="Pond Temperatures" />
  185. #end if
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. <footer>
  191. <div class="container-fix">
  192. <div style="text-align:center">
  193. #if $Extras.has_key('you')
  194. <i class="fa fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  195. #end if
  196. &sdot;
  197. Copyright <i class="fa fa-copyright"></i> $latest.dateTime.format("%Y")
  198. <br>
  199. Design by <a href="http://blauesledersofa.de">blaues Ledersofa</a>
  200. &sdot;
  201. Powered by<i class="fa fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
  202. &sdot;
  203. Icons from <i class="fa fa-font-awesome" aria-hidden="true"></i><a href="http://fontawesome.io" target="_blank"> Font Awesome</a>
  204. </div>
  205. </div>
  206. </footer>
  207. #if $Extras.has_key('googleAnalyticsId')
  208. <!-- Google Analytics -->
  209. <script>
  210. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  211. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  212. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  213. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  214. ga('create', '$Extras.googleAnalyticsId', 'auto');
  215. ga('send', 'pageview');
  216. </script>
  217. #end if
  218. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  219. <script>
  220. function myFunction() {
  221. var x = document.getElementById("myTopnav");
  222. if (x.className === "topnav") {
  223. x.className += " responsive";
  224. } else {
  225. x.className = "topnav";
  226. }
  227. }
  228. </script>
  229. </body>
  230. </html>