]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/templates/seepark_web.html
partially revert previous commit re windy widget size
[chrisu/seepark.git] / web / templates / seepark_web.html
index ecf04443671ba76868c390342e2efd9c37841ee3..3f29501be7ee50ea198ceabbeb10e8e442062dec 100644 (file)
                        {% if airvalue is none %}
                        <strong>Luft: N/A</strong>
                        {% else %}
-                       <strong>Luft: {{ airvalue|round(1) }}°C</strong><br />
-                       <small>({{ airtime.strftime('%Y-%m-%d %H:%M') }})</small>
+                       <strong>Luft: <span id="currentairvalue">{{ airvalue|round(1) }}</span>°C</strong><br />
+                       <small>(<span id="currentairtime">{{ airtime.strftime('%Y-%m-%d %H:%M') }}</span>)</small>
                        {% endif %}
                </p>
                <p id="currentwater">
-                       <strong>Wasser: {{ watervalue|round(1) }}°C</strong><br />
-                       <small>({{ watertime.strftime('%Y-%m-%d %H:%M') }})</small>
+                       <strong>Wasser: <span id="currentwatervalue">{{ watervalue|round(1) }}</span>°C</strong><br />
+                       <small>(<span id="currentwatertime">{{ watertime.strftime('%Y-%m-%d %H:%M') }}</span>)</small>
                </p>
                </div>
 
@@ -76,7 +76,7 @@
 
                <!-- 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 />