1
0
Fork 0
forked from s3lph/matemat
matemat/templates/base.html

37 lines
707 B
HTML
Raw Normal View History

<!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 user.is_admin %}
<a href="/admin">Administration</a>
{% else %}
<a href="/admin">Settings</a>
{% endif %}
{% endif %}
{% endblock %}
</header>
<main>
{% block main %}{% endblock %}
</main>
<footer>
{% block footer %}
<ul>
<li> Matemat
<li> &copy; 2018 s3lph
<li> MIT License
<li> <a href="https://gitlab.com/s3lph/matemat">Source &amp; Documentation</a>
</ul>
{% endblock %}
</footer>
</body>
</html>