From 52cd654f581e7986de524a97e9ae61bf38324228 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 4 Jun 2023 17:47:00 -0400 Subject: Started turning into flask app --- templates/hourly.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/hourly.html (limited to 'templates/hourly.html') 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 @@ +{% extends 'base.html' %} + +{% block content %} +
+{% for item in data %} +
+ {{ item.time.strftime("%a %x %I:%M %p") }}
+ {{ item.temp }}°F
+ {{ item.humidity }}%
+ {{ item.precip_chance }}%
+ {{ item.precip_amount }}in
+ {{ item.wind_speed }}MPH
+ {{ item.wind_direction }}

+
+{% endfor %} +
+{% endblock %} + -- cgit v1.2.3