view weather_server/templates/location.html @ 4:e7c8dcc5fc15

Make the weather server pip-installable and locally runnable.
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Sep 2019 15:10:18 -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>