]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/templates/seepark_web.html
source code beautification
[chrisu/seepark.git] / web / templates / seepark_web.html
index a42454754f66f23476c4bf1d06d7da4e1b81708f..09f17dc316e9e954476309f231803ffa5864de37 100644 (file)
@@ -20,6 +20,8 @@
                <script src="{{url_for('static', filename='c3.min.js')}}"></script>
                <script src="{{url_for('static', filename='strftime-min.js')}}"></script>
 
+               <!-- here the owm script will be appended -->
+
                <title>Seepark Obsteig</title>
        </head>
        <body>
                        script.async = true;
                        script.charset = "utf-8";
                        script.src = "//openweathermap.org/themes/openweathermap/assets/vendor/owm/js/weather-widget-generator.js";
-                       var s = document.getElementsByTagName('script')[0];
+                       var s = document.getElementsByTagName('title')[0];
                        s.parentNode.insertBefore(script, s);
                })();
                </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> 
+               <iframe id="windyiframe" width="650" height="450" src="https://embed.windy.com/embed2.html?lat=47.297&amp;lon=10.927&amp;zoom=10&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 />