check in checkinator into hswaw/checkinator
repository: https://code.hackerspace.pl/checkinator
revision: 713c7e6c1a8fd6147522c1a5e3067898a1d8bf7a
Change-Id: I1bd2975a46ec0d9a89d6594fb4b9d49832001627
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1219
Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/hswaw/checkinator/at/templates/basic.html b/hswaw/checkinator/at/templates/basic.html
new file mode 100644
index 0000000..4f27050
--- /dev/null
+++ b/hswaw/checkinator/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>