Mercurial > personal > weather-server
diff weather_server/templates/location.html @ 13:4eaa9d69c4e2
Extremely basic version of the graph drawer.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 06 Oct 2019 17:09:23 -0400 |
parents | 9e6289598d8c |
children | 9a609bcf0809 |
line wrap: on
line diff
--- a/weather_server/templates/location.html Sun Oct 06 15:21:03 2019 -0400 +++ b/weather_server/templates/location.html Sun Oct 06 17:09:23 2019 -0400 @@ -10,7 +10,7 @@ <body> <h1><span>{{ location.name }} conditions</span></h1> {% if last_reading %} - <p class="important" id="temp"> + <p class="plain important" id="temp"> <span class="key">Temperature</span> <span class="value"> <span class="pad"> </span> @@ -20,7 +20,7 @@ <span class="unit">°F</span> </span> </p> - <p class="important" id="dewpoint"> + <p class="plain important" id="dewpoint"> <span class="key">Dew point</span> <span class="value"> <span class="pad"> </span> @@ -40,5 +40,12 @@ <p id="big-question-mark">?</p> {% endif %} <script src="{{ url_for('static', filename='script.js') }}"></script> + <!-- + <script> + setUp( + document.getElementById('temp'), + document.getElementById('dewpoint')); + </script> + --> </body> </html>