Mercurial > personal > weather-server
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 0:efe7a1eff167 | 1:f66df122f18d |
|---|---|
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>Weather for {{ location.name }}</title> | |
| 5 </head> | |
| 6 <body> | |
| 7 {% if last_reading %} | |
| 8 Temperature: {{ last_reading.temp_f }}<br> | |
| 9 Dew point: {{ last_reading.dew_point_f }} | |
| 10 {% else %} | |
| 11 No weather yet | |
| 12 {% endif %} | |
| 13 </body> | |
| 14 </html> |
