comparison weather_server/templates/location.html @ 26:7def5611895b

Add support for an index page displaying all locations. This seems as good a time as any to declare 0.1.0.
author Paul Fisher <paul@pfish.zone>
date Sun, 10 Nov 2019 23:46:51 -0500
parents 88249e451566
children 27217790dc04
comparison
equal deleted inserted replaced
25:a4147ecb18b3 26:7def5611895b
8 href="{{ url_for('static', filename='style.css') }}"> 8 href="{{ url_for('static', filename='style.css') }}">
9 <link 9 <link
10 rel="shortcut icon" 10 rel="shortcut icon"
11 href="{{ url_for('static', filename='thermometer.png') }}"> 11 href="{{ url_for('static', filename='thermometer.png') }}">
12 </head> 12 </head>
13 <body class="plain"> 13 <body class="location plain">
14 <h1><span>{{ location.name }} conditions</span></h1> 14 <h1><span><a href="{{ url_for('home') }}">Weather</a>: {{ location.name }}</span></h1>
15 {% if last_reading %} 15 {% if last_reading %}
16 <p class="important" id="temp"> 16 <p class="important" id="temp">
17 <span class="key">Temperature</span> 17 <span class="key">Temperature</span>
18 <span class="value"> 18 <span class="value">
19 <span class="pad"> </span> 19 <span class="pad"> </span>