summaryrefslogtreecommitdiffstats
path: root/at/templates/basic.html
blob: 4f270500fd058b9597371532ba80d72c2752670c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>