forked from data.coop/membersystem
50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
{% load static %}
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<title>{% block head_title %}{% endblock %} – {{ site.name }}</title>
|
|||
|
{% block extra_head %}{% endblock %}
|
|||
|
<link rel="stylesheet" href="{% static '/css/membersystem.css' %}" type="text/css" />
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<header>
|
|||
|
<h1>
|
|||
|
<a href="/">{{ site.name }}</a>
|
|||
|
</h1>
|
|||
|
<ul>
|
|||
|
{% if user.is_authenticated %}
|
|||
|
<li><a href="{% url 'account_email' %}">Change e-mail</a></li>
|
|||
|
<li><a href="{% url 'account_logout' %}">Sign out</a></li>
|
|||
|
{% else %}
|
|||
|
<li><a href="{% url 'account_login' %}">Sign in</a></li>
|
|||
|
<li><a href="{% url 'account_signup' %}">Sign up</a></li>
|
|||
|
{% endif %}
|
|||
|
</ul>
|
|||
|
</header>
|
|||
|
{% block body %}
|
|||
|
{% if messages %}
|
|||
|
<ul id="messages">
|
|||
|
{% for message in messages %}
|
|||
|
<li>{{message}}</li>
|
|||
|
{% endfor %}
|
|||
|
</ul>
|
|||
|
{% endif %}
|
|||
|
|
|||
|
{% block content %}
|
|||
|
{% endblock %}
|
|||
|
{% endblock %}
|
|||
|
{% block extra_body %}
|
|||
|
{% endblock %}
|
|||
|
<footer>
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<a href="https://data.coop">data.coop</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="https://git.data.coop/data.coop/membersystem">source code</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</footer>
|
|||
|
</body>
|
|||
|
</html>
|