Neue Verwaltung der Gruppenzuordnung 1:n
This commit is contained in:
1 parent
fa02a7ade0
commit
02c017d53d
34 files changed
+1306
-251
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}CMBNet{% endblock %}</title>
|
||||
<title>{% block title %}{{ APP_TITLE }}{% endblock %}</title>
|
||||
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
||||
<script>
|
||||
(() => {
|
||||
@@ -22,6 +22,7 @@
|
||||
// mit X-Forwarded-Prefix enthält SCRIPT_NAME z. B. "/cmbnet".
|
||||
window.CMBNET_BASE_URL = {{ request.script_root|tojson }};
|
||||
window.CMBNET_TENANT = {{ (session.get('tenant_code') or '')|tojson }};
|
||||
window.CMBNET_APP_TITLE = {{ APP_TITLE|tojson }};
|
||||
window.CMBNET_APP_URL = function (path) {
|
||||
const base = (window.CMBNET_BASE_URL || '').replace(/\/+$/, '');
|
||||
const clean = String(path == null ? '' : path).replace(/^\/+/, '');
|
||||
@@ -51,6 +52,7 @@
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<script src="{{ url_for('static', filename='js/leaflet.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/reload_notice.js') }}"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user