view weather_server/templates/location.html @ 1:f66df122f18d

get the skeleton of a webserver up?
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Sep 2019 00:52:13 -0400
parents
children cda47993a193
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 }}
        {% else %}
            No weather yet
        {% endif %}
    </body>
</html>