diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2016-04-11 23:53:38 -0400 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2016-04-11 23:53:38 -0400 |
commit | 614562bf2cf048b049af5304fead92a46f080d3e (patch) | |
tree | b228fbd77cc44d948b3998968f2f6d912ad8c2d9 /templates/layout.html | |
download | Sensor-Server-614562bf2cf048b049af5304fead92a46f080d3e.tar.gz Sensor-Server-614562bf2cf048b049af5304fead92a46f080d3e.tar.bz2 Sensor-Server-614562bf2cf048b049af5304fead92a46f080d3e.zip |
Initial Commit.
Basic webapp that can save/display weather data
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..0f32195 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,17 @@ +<!doctype html> +<title>Weather</title> +<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}"> +<div class=page> + <h1>Weather</h1> + <div class=metanav> + {% if not session.logged_in %} + <a href="{{ url_for('login') }}">log in</a> + {% else %} + <a href="{{ url_for('logout') }}">log out</a> + {% endif %} + </div> + {% for message in get_flashed_messages() %} + <div class=flash>{{ message }}</div> + {% endfor %} + {% block body %}{% endblock %} +</div> |