about.html.tmpl 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" 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. </ul>
  83. </nav>
  84. </div>
  85. </header>
  86. <!-- Main container -->
  87. <div class="main" >
  88. <div class="container" >
  89. <div class="card">
  90. <p> Put whatever station information you would like. </p>
  91. </div>
  92. </div>
  93. </div>
  94. <footer>
  95. <div class="container-fix">
  96. <div style="text-align:center">
  97. #if $Extras.has_key('you')
  98. <i class="fab fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  99. #end if
  100. &sdot;
  101. Copyright <i class="far fa-copyright"></i> $latest.dateTime.format("%Y")
  102. <br>
  103. Sofaskin by <a href="http://neoground.com">Neoground</a>
  104. &sdot;
  105. CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
  106. &sdot;
  107. Powered by<i class="fas fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
  108. </div>
  109. </div>
  110. </footer>
  111. #if $Extras.has_key('googleAnalyticsId')
  112. <!-- Google Analytics -->
  113. <script>
  114. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  115. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  116. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  117. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  118. ga('create', '$Extras.googleAnalyticsId', 'auto');
  119. ga('send', 'pageview');
  120. </script>
  121. #end if
  122. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  123. <script>
  124. function myFunction() {
  125. var x = document.getElementById("myTopnav");
  126. if (x.className === "topnav") {
  127. x.className += " responsive";
  128. } else {
  129. x.className = "topnav";
  130. }
  131. }
  132. </script>
  133. </body>
  134. </html>