39 lines
800 B
HTML
39 lines
800 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% block head %}
|
|
<title>{{ setupname }}</title>
|
|
<link rel="stylesheet" href="/css/matemat.css" />
|
|
{% endblock %}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
{% block header %}
|
|
|
|
<a href="/">Home</a>
|
|
{% if authlevel|default(0) > 1 %}
|
|
{% if authuser is defined %}
|
|
{% if authuser.is_admin %}
|
|
<a href="/admin">Administration</a>
|
|
{% else %}
|
|
<a href="/admin">Settings</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
</header>
|
|
<main>
|
|
{% block main %}{% endblock %}
|
|
</main>
|
|
<footer>
|
|
{% block footer %}
|
|
<ul>
|
|
<li> {{ setupname }}
|
|
<li> Matemat {{__version__}}
|
|
<li> © 2018 s3lph
|
|
<li> MIT License
|
|
</ul>
|
|
{% endblock %}
|
|
</footer>
|
|
</body>
|
|
</html>
|