2018-05-09 17:53:12 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2018-05-19 14:26:56 +00:00
|
|
|
<meta charset="utf-8" />
|
2018-06-17 15:26:15 +00:00
|
|
|
<title>{% block title %}{% endblock title %} ⋅ {{ "Plume" | _ }}</title>
|
2018-09-03 13:59:02 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2018-09-04 16:09:31 +00:00
|
|
|
<link rel="stylesheet" href="/static/css/main.css" />
|
|
|
|
<link rel="stylesheet" href="/static/css/feather.css" />
|
2018-05-09 17:53:12 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-05-10 20:31:52 +00:00
|
|
|
<header>
|
2018-09-01 14:11:42 +00:00
|
|
|
<nav id="menu">
|
2018-09-04 16:09:31 +00:00
|
|
|
<a href="#" aria-label="{{ "Menu" | _ }}" title="{{ "Menu" | _ }}"><i class="icon icon-menu"></i></a>
|
2018-05-10 20:31:52 +00:00
|
|
|
</nav>
|
2018-09-01 14:11:42 +00:00
|
|
|
<div id="content">
|
|
|
|
<nav>
|
|
|
|
<a href="/" class="title">{{ "Plume" | _ }}</a>
|
|
|
|
<hr/>
|
|
|
|
{% block header %}
|
|
|
|
{% endblock header %}
|
|
|
|
</nav>
|
|
|
|
<nav>
|
|
|
|
{% if account %}
|
2018-09-03 13:59:02 +00:00
|
|
|
<a href="/dashboard">
|
2018-09-04 16:09:31 +00:00
|
|
|
<i class="icon icon-home" aria-label="{{ "Dashboard" | _ }}"></i>
|
2018-09-03 13:59:02 +00:00
|
|
|
<span class="mobile-label">{{ "Dashboard" | _ }}</span>
|
|
|
|
</a>
|
|
|
|
<a href="/notifications">
|
2018-09-04 16:09:31 +00:00
|
|
|
<i class="icon icon-bell" aria-label="{{ "Notifications" | _ }}"></i>
|
2018-09-03 13:59:02 +00:00
|
|
|
<span class="mobile-label">{{ "Notifications" | _ }}</span>
|
|
|
|
</a>
|
|
|
|
<a href="/logout">
|
2018-09-04 19:55:44 +00:00
|
|
|
<i class="icon icon-log-out" aria-label="{{ "Log Out" | _ }}"></i>
|
2018-09-03 13:59:02 +00:00
|
|
|
<span class="mobile-label">{{ "Log Out" | _ }}</span>
|
|
|
|
</a>
|
|
|
|
<a href="/me">
|
|
|
|
<img class="avatar small" src="{{ account.avatar }}" alt="{{ "My account" | _ }}">
|
|
|
|
<span class="mobile-label">{{ "My account" | _ }}</span>
|
|
|
|
</a>
|
2018-09-01 14:11:42 +00:00
|
|
|
{% else %}
|
2018-09-04 16:09:31 +00:00
|
|
|
<a href="/login">
|
|
|
|
<i class="icon icon-log-in"></i>
|
|
|
|
<span class="mobile-label">{{ "Log In" | _ }}</span>
|
|
|
|
</a>
|
|
|
|
<a href="/users/new">
|
|
|
|
<i class="icon icon-user-plus"></i>
|
|
|
|
<span class="mobile-label">{{ "Register" | _ }}</span>
|
|
|
|
</a>
|
2018-09-01 14:11:42 +00:00
|
|
|
{% endif %}
|
|
|
|
</nav>
|
|
|
|
</div>
|
2018-05-10 20:31:52 +00:00
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{% block content %}
|
|
|
|
{% endblock content %}
|
|
|
|
</main>
|
2018-07-27 12:08:39 +00:00
|
|
|
<footer>
|
|
|
|
<span>Plume 0.1.0</span>
|
2018-07-27 20:16:17 +00:00
|
|
|
<a href="/about">{{ "About this instance" | _ }}</a>
|
2018-07-27 12:08:39 +00:00
|
|
|
<a href="https://github.com/Plume-org/Plume">{{ "Source code" | _ }}</a>
|
2018-08-18 09:23:04 +00:00
|
|
|
<a href="https://riot.im/app/#/room/#plume:disroot.org">{{ "Matrix room" | _ }}</a>
|
2018-07-27 17:05:36 +00:00
|
|
|
{% if account %}
|
|
|
|
{% if account.is_admin %}
|
|
|
|
<a href="/admin">{{ "Administration" | _ }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2018-07-27 12:08:39 +00:00
|
|
|
</footer>
|
2018-09-08 13:05:38 +00:00
|
|
|
<script src="/static/js/menu.js"></script>
|
2018-05-09 17:53:12 +00:00
|
|
|
</body>
|
|
|
|
</html>
|