]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/templates/seepark_web.html
show current/most recent air/water temperature on top of page
[chrisu/seepark.git] / web / templates / seepark_web.html
index 4d136e3e6dc2bcf538c61ead8c59f8454b7ea328..aabd1df480a520ff35f0d517424f2c567f901aea 100644 (file)
        </head>
        <body>
                <h1>Daten zum Seepark Obsteig</h1>
-               <div id="chart"></div>
-               <div id="buttonbar">
-                       <button onclick="loaddays(1)">Tag</button>
-                       <button onclick="loaddays(7)">Woche</button>
-                       <button onclick="loaddays(30)">Monat</button>
-                       <button onclick="loaddays(365)">Jahr</button>
+               <h2>Aktuelle Werte</h2>
+               <div id="current">
+               <p id="currentair">
+                       <strong>Luft: {{ airvalue }}°C</strong><br />
+                       <small>({{ airtime }})</small>
+               </p>
+               <p id="currentwater">
+                       <strong>Wasser: {{ watervalue }}°C</strong><br />
+                       <small>({{ watertime }})</small>
+               </p>
                </div>
 
+               <h2>Der See</h2>
+               <div id="chart1"></div>
+               <div id="chart7"></div>
+               <div id="chart31"></div>
+               <div id="chart365"></div>
+
                <!-- openweathermap widget -->
                <div id="openweathermap-widget-15"></div>
                <script>