v1.4.0: fix #43, #31, #29, #49, #33 + shared templating

This commit is contained in:
2026-05-20 20:08:25 +03:00
parent ca4d00c895
commit 64991f0228
63 changed files with 5005 additions and 45 deletions
+22 -2
View File
@@ -5,12 +5,32 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<title>{% block title %}Service Portal — AegisOne Engineering{% endblock %}</title>
<link rel="stylesheet" href="/service-style.php">
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico">
<link rel="stylesheet" href="/service/static/css/service.css">
<link rel="stylesheet" href="/service/static/css/service-theme.css">
<link rel="icon" type="image/x-icon" href="/service/static/img/favicons/favicon.ico">
<link rel="icon" type="image/svg+xml" href="/service/static/img/favicon.svg">
<link rel="icon" type="image/png" sizes="32x32" href="/service/static/img/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/service/static/img/favicons/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/service/static/img/favicons/apple-touch-icon.png">
<link rel="manifest" href="/service/static/img/favicons/site.webmanifest">
{% block extra_head %}{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{% if user %}
<nav class="navbar">
<div class="navbar__brand">
<a href="/service/dashboard">AegisOne Service</a>
</div>
<ul class="navbar__menu">
<li class="theme-switcher" data-tooltip="Переключить тему">
<button id="theme-btn" onclick="toggleTheme()">🖥</button>
<span class="theme-label" id="theme-label">Авто</span>
</li>
</ul>
</nav>
{% endif %}
{% block content %}{% endblock %}
<script src="/service/static/js/theme.js"></script>
{% block extra_scripts %}{% endblock %}
</body>
</html>