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