2018-05-09 19:53:12 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2018-05-19 16:26:56 +02:00
|
|
|
<meta charset="utf-8" />
|
2018-06-17 17:26:15 +02:00
|
|
|
<title>{% block title %}{% endblock title %} ⋅ {{ "Plume" | _ }}</title>
|
2018-05-19 16:26:56 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<link rel="stylesheet" href="/static/main.css" />
|
|
|
|
<link rel="stylesheet" href="/static/fontawesome-5.0.10/css/fontawesome-all.min.css" />
|
2018-05-09 19:53:12 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-05-10 22:31:52 +02:00
|
|
|
<header>
|
2018-06-17 17:26:15 +02:00
|
|
|
<nav id="menu"><a href="#">{{ "Menu" | _ }}</a></nav>
|
2018-05-10 22:31:52 +02:00
|
|
|
<nav>
|
2018-06-17 20:14:58 +02:00
|
|
|
<a href="/" class="title">{{ "Plume" | _ }}</a>
|
2018-06-19 14:10:28 +02:00
|
|
|
<hr/>
|
2018-05-10 22:31:52 +02:00
|
|
|
{% block header %}
|
|
|
|
{% endblock header %}
|
|
|
|
</nav>
|
|
|
|
<nav>
|
|
|
|
{% if account %}
|
2018-06-17 17:26:15 +02:00
|
|
|
<a href="/dashboard">{{ "Dashboard" | _ }}</a>
|
|
|
|
<a href="/notifications">{{ "Notifications" | _ }}</a>
|
|
|
|
<a href="/me">{{ "My account" | _ }}</a>
|
|
|
|
<a href="/logout">{{ "Log Out" | _ }}</a>
|
2018-05-10 22:31:52 +02:00
|
|
|
{% else %}
|
2018-06-17 17:26:15 +02:00
|
|
|
<a href="/login">{{ "Log In" | _ }}</a>
|
|
|
|
<a href="/users/new">{{ "Register" | _ }}</a>
|
2018-05-10 22:31:52 +02:00
|
|
|
{% endif %}
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{% block content %}
|
|
|
|
{% endblock content %}
|
|
|
|
</main>
|
2018-07-27 14:08:39 +02:00
|
|
|
<footer>
|
|
|
|
<span>Plume 0.1.0</span>
|
2018-07-27 22:16:17 +02:00
|
|
|
<a href="/about">{{ "About this instance" | _ }}</a>
|
2018-07-27 14:08:39 +02:00
|
|
|
<a href="https://github.com/Plume-org/Plume">{{ "Source code" | _ }}</a>
|
2018-08-18 11:23:04 +02:00
|
|
|
<a href="https://riot.im/app/#/room/#plume:disroot.org">{{ "Matrix room" | _ }}</a>
|
2018-07-27 19:05:36 +02:00
|
|
|
{% if account %}
|
|
|
|
{% if account.is_admin %}
|
|
|
|
<a href="/admin">{{ "Administration" | _ }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2018-07-27 14:08:39 +02:00
|
|
|
</footer>
|
2018-05-09 19:53:12 +02:00
|
|
|
</body>
|
|
|
|
</html>
|