2018-06-23 18:19:37 +00:00
|
|
|
|
<!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 %}
|
2021-01-26 19:37:50 +00:00
|
|
|
|
<li><a href="{% url 'users:password_change' %}">Change password</a></li>
|
2019-08-31 18:46:49 +00:00
|
|
|
|
<li><a href="{% url 'users:logout' %}">Sign out</a></li>
|
2018-06-23 18:19:37 +00:00
|
|
|
|
{% else %}
|
2019-08-31 18:46:49 +00:00
|
|
|
|
<li><a href="{% url 'users:login' %}">Sign in</a></li>
|
|
|
|
|
<li><a href="{% url 'users:signup' %}">Sign up</a></li>
|
2018-06-23 18:19:37 +00:00
|
|
|
|
{% 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>
|