about.html.tmpl 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <!DOCTYPE html>
  2. <html lang="en">
  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="About the $station.hardware $station.location Weather Station ($Extras.cwop). This web site is powered by WeeWX">
  9. #else
  10. <meta name="description" content="About the $station.hardware $station.location Weather Station. This web site is 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/about.html" itemprop="url"/>
  16. #end if
  17. <title itemprop="name">About the $station.location Weather Station</title>
  18. <!-- Open Graph -->
  19. <meta property="og:site_name" content="About the $station.location Weather Station" />
  20. <meta property="og:title" content="About the Station"/>
  21. #if $Extras.has_key('web_url')
  22. <meta property="og:url" content="$Extras.web_url/about.html"/>
  23. #end if
  24. <meta property="og:description" content="About the $station.hardware $station.location Weather Station. This web site is powered by WeeWX" />
  25. <meta property="og:type" content="website" />
  26. <!-- FavIcons -->
  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 rel="stylesheet" href="css/main.css">
  32. <!-- Font Awesome Icon links -->
  33. <!-- Free license -->
  34. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">
  35. <!-- Script -->
  36. <script src="js/modernizr-2.6.2.min.js"></script>
  37. <script src="js/checkdiff.js"></script>
  38. </head>
  39. <body>
  40. <header>
  41. <div class="container-fix" >
  42. <div class="h-left" >
  43. <h1><i class="fas fa-cloud" ></i> $station.location </h1>
  44. <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="fas fa-map-marker-alt" ></i> Show on map</a></p>
  45. <h2>Station Information</h2>
  46. <p><i class="far fa-clock" ></i> $current.dateTime $current.dateTime.format("%Z")</p>
  47. <p id="freshweather" class="m-orange"></p>
  48. <script>
  49. window.onload = checkDiff("$current.dateTime ($current.dateTime.format('%Z'))");
  50. </script>
  51. </div>
  52. <div class="h-right" >
  53. <table>
  54. <tr>
  55. <td><b>Station:</b></td>
  56. <td>$station.hardware</td>
  57. </tr>
  58. <tr>
  59. <td><b>Software:</b></td>
  60. <td><a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a></td>
  61. </tr>
  62. <tr>
  63. <td><b>Weewx uptime:</b></td>
  64. <td>$station.uptime</td>
  65. </tr>
  66. <tr>
  67. <td><b>Server uptime:</b></td>
  68. <td>$station.os_uptime</td>
  69. </tr>
  70. </table>
  71. </div>
  72. <nav>
  73. <ul class="topnav" id="myTopnav">
  74. <li class="icon"><a href="javascript:void(0);" onclick="myFunction()"><i class="fas fa-bars" ></i></a></li>
  75. <li><a href="/" >Current</a></li>
  76. <li><a href="week.html" >Week</a></li>
  77. <li><a href="month.html" >Month</a></li>
  78. <li><a href="year.html" >Year</a></li>
  79. <li><a href="summary.html" >Summaries</a></li>
  80. <li class="active"><a href="about.html" >About</a></li>
  81. <li><a href="RSS/weewx_rss.xml" ><i class="fas fa-rss" ></i></a></li>
  82. #if $Extras.has_key('twitter_url')
  83. <li><a href=$Extras.twitter_url><i class="fab fa-twitter" ></i></a></li>
  84. #end if
  85. </ul>
  86. </nav>
  87. </div>
  88. </header>
  89. <!-- Main container -->
  90. <div class="main" >
  91. <div class="container" >
  92. <div class="card">
  93. <p> Put whatever station information you would like. </p>
  94. </div>
  95. </div>
  96. </div>
  97. <footer>
  98. <div class="container-fix">
  99. <div style="text-align:center">
  100. #if $Extras.has_key('you')
  101. <i class="fab fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  102. #end if
  103. &sdot;
  104. Copyright <i class="far fa-copyright"></i> $latest.dateTime.format("%Y")
  105. <br>
  106. Sofaskin by <a href="http://neoground.com">Neoground</a>
  107. &sdot;
  108. CW9009 Version by <a href="http://www.centuryfarmweather.com">Century Farm Weather</a>
  109. &sdot;
  110. Powered by<i class="fas fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
  111. </div>
  112. </div>
  113. </footer>
  114. #if $Extras.has_key('googleAnalyticsId')
  115. <!-- Google Analytics -->
  116. <script>
  117. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  118. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  119. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  120. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  121. ga('create', '$Extras.googleAnalyticsId', 'auto');
  122. ga('send', 'pageview');
  123. </script>
  124. #end if
  125. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  126. <script>
  127. function myFunction() {
  128. var x = document.getElementById("myTopnav");
  129. if (x.className === "topnav") {
  130. x.className += " responsive";
  131. } else {
  132. x.className = "topnav";
  133. }
  134. }
  135. </script>
  136. </body>
  137. </html>