aboutsummaryrefslogtreecommitdiffstats
path: root/templates/show_entries.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_entries.html')
-rw-r--r--templates/show_entries.html14
1 files changed, 1 insertions, 13 deletions
diff --git a/templates/show_entries.html b/templates/show_entries.html
index 5d9ff1a..1f18d68 100644
--- a/templates/show_entries.html
+++ b/templates/show_entries.html
@@ -1,18 +1,6 @@
{% extends "layout.html" %}
{% block body %}
- {% if session.logged_in %}
- <form action="{{ url_for('add_entry') }}" method=post class=add-entry>
- <dl>
- <dt>Temperature:
- <dd><input type=number size=30 name=temperature>
- <dt>Humidity:
- <dd><input type=number size=30 name=humidity>
- <dt>Pressure:
- <dd><input type=number size=30 name=pressure>
- <dd><input type=submit value=Submit>
- </dl>
- </form>
- {% endif %}
+ {{ wgraph.render()|safe }}
<ul class=weather>
{% for entry in weather %}
<li><h2>{{ entry.date }}</h2>Temp: {{ entry.temperature }}, Humidity: {{ entry.humidity }}, Pressure: {{ entry.pressure }}