blob: 2ecb1999e321044ba0b1db820d2e7b1ce44aeb65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{% macro breadcrumbs(history) %}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/main.cgi">{{ "main"|lang }}</a></li>
{% for item in history %}
<li class="breadcrumb-item"{% if loop.last %} aria-current="page"{% endif %}>
{% if item.link %}<a href="{{ item.link }}">{% endif %}
{% if item.html %}
{% raw %}{{ item.html }}{% endraw %}
{% else %}
{{ item.text }}
{% endif %}
{% if item.link %}</a>{% endif %}
</li>
{% endfor %}
</ol>
</nav>
{% endmacro %}
<!doctype html>
<html lang="{{ user_lang }}" data-bs-theme="auto">
<head>
<title>{{ title }}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script>
window.onerror = function(error) {
window.console && console.error(error);
}
</script>
{{ head_static | safe }}
</head>
<body>
<div class="container py-3">
{% block content %}{% endblock %}
<script>
{% block js %}{% endblock %}
</script>
</div>
</body>
</html>
|