summaryrefslogtreecommitdiffstats
path: root/at/templates/basic.html
diff options
context:
space:
mode:
Diffstat (limited to 'at/templates/basic.html')
-rw-r--r--at/templates/basic.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/at/templates/basic.html b/at/templates/basic.html
new file mode 100644
index 0000000..4f27050
--- /dev/null
+++ b/at/templates/basic.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+ <head>
+ {% block head %}
+ <link rel="stylesheet" type="text/css" href="/static/css/basic.css">
+ <title>{% block title %}Now at hackerspace{% endblock %}</title>
+ {% endblock %}
+ </head>
+ <body>
+ {% block body %}
+ <div class="login">
+ {% if current_user.is_authenticated %}
+ logged in as {{ current_user.id }} |
+ <a href="account">account</a> |
+ <a href="{{ url_for('spaceauth.logout') }}">log out</a>
+ {% else %}
+ <a href="{{ url_for('spaceauth.login') }}">login</a>
+ {% endif %}
+ </div>
+ {% block content %}
+ {% endblock %}
+ {% endblock %}
+ </body>
+</html>