38 lines
796 B
HTML
38 lines
796 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% block head %}
|
|
<title>Matemat</title>
|
|
{% 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> Matemat {{__version__}}
|
|
<li> © 2018 s3lph
|
|
<li> MIT License
|
|
<li> <a href="https://gitlab.com/s3lph/matemat">Source & Documentation</a>
|
|
</ul>
|
|
{% endblock %}
|
|
</footer>
|
|
</body>
|
|
</html>
|