view weather_server/templates/location.html @ 5:368f732f13d0

Actually make the server runnable.
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Sep 2019 15:14:30 -0400
parents cda47993a193
children d54155a199d8
line wrap: on
line source

<!doctype html>
<html>
    <head>
        <title>Weather for {{ location.name }}</title>
    </head>
    <body>
        {% if last_reading %}
            Temperature: {{ last_reading.temp_f }}<br>
            Dew point: {{ last_reading.dew_point_f }}<br>
            As of: {{ date }}
        {% else %}
            No weather yet
        {% endif %}
    </body>
</html>