add windy widget in page template and minimal css
authorgregor herrmann <gregor@toastfreeware.priv.at>
Tue, 4 Sep 2018 20:56:50 +0000 (22:56 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Tue, 4 Sep 2018 20:56:50 +0000 (22:56 +0200)
web/static/seepark_web.css
web/templates/seepark_web.html

index 1a30e6e..d84b469 100644 (file)
@@ -42,3 +42,8 @@ body {
 #currentwater {
     background-color: lightgreen;
 }
+
+#windy {
+    text-align: center;
+    padding-top: 1em;
+}
index fb96583..ecf0444 100644 (file)
                })();
                </script>
 
+               <!-- windy widget -->
+               <div id="windy">
+               <iframe width="650" height="450" src="https://embed.windy.com/embed2.html?lat=47.301&amp;lon=10.970&amp;zoom=9&amp;level=surface&amp;overlay=rain&amp;menu=&amp;message=&amp;marker=&amp;calendar=&amp;pressure=&amp;type=map&amp;location=coordinates&amp;detail=&amp;detailLat=48.200&amp;detailLon=16.350&amp;metricWind=default&amp;metricTemp=default&amp;radarRange=-1" frameborder="0"></iframe> 
+               </div>
+
                <hr />
                <p><small><a href="https://git.toastfreeware.priv.at/chrisu/seepark.git">Source code</a></small></p>