noch mehr UI für den Dispatcher
This commit is contained in:
1 parent
4f87a19ba2
commit
7b8d2ec396
12 files changed
+1170
-70
No files matched your search
@@ -4,12 +4,30 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}CMBNet{% endblock %}</title>
|
||||
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
||||
<script>
|
||||
(() => {
|
||||
try {
|
||||
const theme = localStorage.getItem('cmbnet:theme');
|
||||
if (theme === 'dark' || theme === 'light') {
|
||||
document.documentElement.dataset.theme = theme;
|
||||
}
|
||||
} catch (error) {
|
||||
// localStorage ist in manchen Browser-Kontexten nicht verfügbar.
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body class="{% block body_class %}{% endblock %}">
|
||||
{% block logo %}
|
||||
<div class="app-logo" aria-hidden="true">
|
||||
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="">
|
||||
</div>
|
||||
{% endblock %}
|
||||
<main class="container">
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
|
||||
Reference in new issue
Block a user