view weather_server/templates/location.html @ 3:b42c4bfe57c7

server: Use a "preamble" object in the POST to auth.
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Sep 2019 11:52:48 -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>