aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2023-06-08 06:41:20 -0400
committerSam Chudnick <sam@chudnick.com>2023-06-08 06:41:20 -0400
commit6fa3d04aad627ffa4786b91acc24e4f3e8b70312 (patch)
tree9cbe25240d5369fdf485b7c60e17208c7af8f62a /templates/index.html
parent52cd654f581e7986de524a97e9ae61bf38324228 (diff)
Update API to use open-meteo. Further frontend development.
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html20
1 files changed, 2 insertions, 18 deletions
diff --git a/templates/index.html b/templates/index.html
index 2d97379..a877fef 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -4,23 +4,7 @@
4<h1>{% block title %} Enter a Location {% endblock %}</h1> 4<h1>{% block title %} Enter a Location {% endblock %}</h1>
5<form method="post"> 5<form method="post">
6 {{ form.csrf_token }} 6 {{ form.csrf_token }}
7 <p> 7 {{ form.location }}
8 {{ form.location.label }} <br> 8 {{ form.submit() }}
9 {{ form.location }}
10 </p>
11 <p>
12 {{ form.days.label }} <br>
13 {{ form.days }}
14 </p>
15 <p>
16 {{ form.forecast_type.label }} <br>
17 {{ form.forecast_type }}
18 </p>
19 <p>{{ form.submit() }}</p>
20</form> 9</form>
21{% endblock %} 10{% endblock %}
22
23<form method="POST" action="/">
24 {{ form.name.label }} {{ form.name(size=20) }}
25 <input type="submit" value="Go">
26</form>