2017-10-24 02:56:27 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>{% block title %}{% endblock %}</title>
|
2020-10-20 04:24:47 +00:00
|
|
|
<link rel="stylesheet" href="{{ urls.static('app.css') }}?{{ app_css_hash }}">
|
2017-11-11 05:55:50 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2017-11-29 02:38:15 +00:00
|
|
|
{% for url in extra_css_urls %}
|
|
|
|
<link rel="stylesheet" href="{{ url.url }}"{% if url.sri %} integrity="{{ url.sri }}" crossorigin="anonymous"{% endif %}>
|
|
|
|
{% endfor %}
|
|
|
|
{% for url in extra_js_urls %}
|
|
|
|
<script src="{{ url.url }}"{% if url.sri %} integrity="{{ url.sri }}" crossorigin="anonymous"{% endif %}></script>
|
|
|
|
{% endfor %}
|
2017-10-24 02:56:27 +00:00
|
|
|
{% block extra_head %}{% endblock %}
|
|
|
|
</head>
|
2017-11-30 07:09:54 +00:00
|
|
|
<body class="{% block body_class %}{% endblock %}">
|
2017-11-11 05:55:50 +00:00
|
|
|
|
2020-10-27 18:40:08 +00:00
|
|
|
<header><nav>{% block nav %}
|
2020-06-29 18:40:40 +00:00
|
|
|
{% if actor %}
|
|
|
|
<div class="logout">
|
2020-07-01 21:25:59 +00:00
|
|
|
<strong>{{ display_actor(actor) }}</strong>{% if show_logout %} ·
|
2020-10-20 04:24:47 +00:00
|
|
|
<form action="{{ urls.logout() }}" method="post">
|
2020-06-29 18:40:40 +00:00
|
|
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
|
|
<button class="button-as-link">Log out</button>
|
2020-07-01 21:25:59 +00:00
|
|
|
</form>{% endif %}
|
2020-06-29 18:40:40 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-10-27 18:40:08 +00:00
|
|
|
{% endblock %}</nav></header>
|
2019-07-05 20:34:41 +00:00
|
|
|
|
2020-10-27 18:40:08 +00:00
|
|
|
<section class="content">
|
2020-06-02 21:08:12 +00:00
|
|
|
{% block messages %}
|
|
|
|
{% if show_messages %}
|
|
|
|
{% for message, message_type in show_messages() %}
|
|
|
|
<p class="message-{% if message_type == 1 %}info{% elif message_type == 2 %}warning{% elif message_type == 3 %}error{% endif %}">{{ message }}</p>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-10-24 02:56:27 +00:00
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
2020-10-27 18:40:08 +00:00
|
|
|
</section>
|
2018-08-28 08:56:44 +00:00
|
|
|
|
2020-10-27 18:40:08 +00:00
|
|
|
<footer class="ft">{% block footer %}{% include "_footer.html" %}{% endblock %}</footer>
|
2019-07-05 20:34:41 +00:00
|
|
|
|
2018-08-28 08:56:44 +00:00
|
|
|
{% for body_script in body_scripts %}
|
|
|
|
<script>{{ body_script }}</script>
|
|
|
|
{% endfor %}
|
|
|
|
|
2017-12-09 21:47:32 +00:00
|
|
|
{% if select_templates %}<!-- Templates considered: {{ select_templates|join(", ") }} -->{% endif %}
|
2017-10-24 02:56:27 +00:00
|
|
|
</body>
|
|
|
|
</html>
|