31 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2025-01-26 00:53:17 +01:00
{% load static %}
2025-01-25 00:47:31 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2025-01-26 00:53:17 +01:00
<title>{% block title %}Title{% endblock %}</title>
<link rel="shortcut icon" href="{% static "logo.svg" %}" type="image/x-svg">
2025-01-26 00:53:17 +01:00
<link rel="stylesheet" href="{% static "base.css" %}">
<script src="{% static "base.js" %}"></script>
{% block head %}{% endblock %}
2025-01-25 00:47:31 +01:00
</head>
<body>
2025-01-26 00:53:17 +01:00
<header>
<nav>
<a class="logo" href="{% url "dashboard" %}"><img src="{% static "logo.svg" %}" alt="Time Dispatcher logo"></a>
2025-01-26 00:53:17 +01:00
{% for nav_link in nav_links %}
<a href="{% url nav_link.view %}" {% if request.resolver_match.view_name == nav_link.view %}class="active"{% endif %}>{{ nav_link.label }}</a>
{% endfor %}
</nav>
</header>
<main>
{% block main %}{% endblock %}
</main>
2025-01-26 19:48:51 +01:00
<footer>
{% if debug %}<span class="debug">Debug</span>{% endif %}
2025-01-26 19:48:51 +01:00
<span><i>Time Dispatcher v{{ version }}</i></span>
<span class="sep"></span>
<span><a href="https://git.kb28.ch/HEL/TimeDispatcher" target="_blank">Gitea</a></span>
</footer>
2025-01-25 00:47:31 +01:00
</body>
</html>