diff options
author | Sam Chudnick <sam@chudnick.com> | 2023-06-04 17:47:00 -0400 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2023-06-04 17:47:00 -0400 |
commit | 52cd654f581e7986de524a97e9ae61bf38324228 (patch) | |
tree | 7c7d589d39a3ca010278b9a0aaefa2cd5dcf3797 /templates/hourly.html | |
parent | c023b5704d49679989ddae60851b82f051f4ac2f (diff) |
Started turning into flask app
Diffstat (limited to 'templates/hourly.html')
-rw-r--r-- | templates/hourly.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/hourly.html b/templates/hourly.html new file mode 100644 index 0000000..56f9d9b --- /dev/null +++ b/templates/hourly.html | |||
@@ -0,0 +1,18 @@ | |||
1 | {% extends 'base.html' %} | ||
2 | |||
3 | {% block content %} | ||
4 | <div class=weather-box> | ||
5 | {% for item in data %} | ||
6 | <div class=daily-box> | ||
7 | {{ item.time.strftime("%a %x %I:%M %p") }} <br> | ||
8 | {{ item.temp }}°F <br> | ||
9 | {{ item.humidity }}%<br> | ||
10 | {{ item.precip_chance }}%<br> | ||
11 | {{ item.precip_amount }}in<br> | ||
12 | {{ item.wind_speed }}MPH<br> | ||
13 | {{ item.wind_direction }}<br><br> | ||
14 | </div> | ||
15 | {% endfor %} | ||
16 | </div> | ||
17 | {% endblock %} | ||
18 | |||