+ <h2>Aktuelle Werte</h2>
+ <div id="current">
+ <p id="currentair">
+ {% 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>
+ {% endif %}
+ </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>
+ window.myWidgetParam ? window.myWidgetParam : window.myWidgetParam = [];
+ window.myWidgetParam.push({
+ id: 15,
+ cityid: '3319578',
+ appid: '{{ apikey }}',
+ units: 'metric',
+ containerid: 'openweathermap-widget-15',
+ lang: 'de',
+ });
+ (function() {
+ var script = document.createElement('script');
+ 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];
+ s.parentNode.insertBefore(script, s);
+ })();
+ </script>