diff options
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 | |||
