aboutsummaryrefslogtreecommitdiff
path: root/src/templates/weather.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/weather.html')
-rw-r--r--src/templates/weather.html19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/templates/weather.html b/src/templates/weather.html
index a222ad8..ccd736c 100644
--- a/src/templates/weather.html
+++ b/src/templates/weather.html
@@ -1,12 +1,19 @@
1{% extends 'base.html' %} 1{% extends 'base.html' %}
2{% block content %} 2{% block content %}
3<div class=content> 3<div class=content>
4 <div class=searchbar> 4 <div class=topbar>
5 <form method="post"> 5 <div class=searchbar>
6 {{ form.csrf_token }} 6 <form method="post">
7 {{ form.location }} 7 {{ form.csrf_token }}
8 {{ form.submit() }} 8 {{ form.location }}
9 </form> 9 {{ form.submit() }}
10 </form>
11 </div>
12 <div class=location>
13 <p class=location>
14 {{ location_data["name"]}}, {{ location_data["admin1"]}}, {{ location_data["country_code"]}}
15 </p>
16 </div>
10 </div> 17 </div>
11 <div class=current> 18 <div class=current>
12 {% set is_day = data["current_weather"]["is_day"] %} 19 {% set is_day = data["current_weather"]["is_day"] %}