modified: web/static/js/main.js

modified:   web/templates/404.html
	modified:   web/templates/base.html
	modified:   web/templates/group_admin/base.html
	modified:   web/templates/group_admin/member_edit.html
	modified:   web/templates/group_admin/members.html
This commit is contained in:
simon
2026-04-13 09:59:43 +02:00
parent 935dc3f909
commit 28d7a98e16
6 changed files with 38 additions and 14 deletions

View File

@@ -42,25 +42,25 @@
<div class="d-flex align-items-center gap-3 mb-3">
<i class="bi bi-signpost-split-fill text-warning" style="font-size: 2.2rem;"></i>
<div>
<h1 class="h3 mb-1">404 - Seite nicht gefunden</h1>
<p class="text-secondary mb-0">Die angeforderte Route existiert nicht oder wurde verschoben.</p>
<h1 class="h3 mb-1">404 - Page not found</h1>
<p class="text-secondary mb-0">The requested route does not exist or has been moved.</p>
</div>
</div>
<div class="mb-3">
<div class="small text-secondary mb-1">Anfrage</div>
<div class="small text-secondary mb-1">Request</div>
<div class="path-chip">{{ request_method }} {{ requested_path }}</div>
</div>
<div class="mb-4">
{% if not is_logged_in %}
<p class="mb-0 text-secondary">Du bist aktuell nicht eingeloggt. Starte am besten ueber die Login-Seite.</p>
<p class="mb-0 text-secondary">You are currently not signed in. Start from the login page.</p>
{% elif is_site_admin and not session.get('group_id') %}
<p class="mb-0 text-secondary">Du bist als Site Admin eingeloggt. Von dort kannst du Gruppen und Benutzer verwalten.</p>
<p class="mb-0 text-secondary">You are signed in as Site Admin. You can manage groups and users from there.</p>
{% elif role == 'admin' %}
<p class="mb-0 text-secondary">Du bist Gruppen-Admin. Nutze Panel oder Group-Admin, um wieder in gueltige Bereiche zu kommen.</p>
<p class="mb-0 text-secondary">You are a group admin. Use Panel or Group Admin to return to valid sections.</p>
{% else %}
<p class="mb-0 text-secondary">Nutze das Dashboard, um wieder in bekannte Bereiche zu navigieren.</p>
<p class="mb-0 text-secondary">Use the dashboard to navigate back to known sections.</p>
{% endif %}
</div>
@@ -68,7 +68,7 @@
{% for link in links %}
<a href="{{ link.href }}" class="btn {{ link.btn }}">{{ link.label }}</a>
{% endfor %}
<a href="javascript:history.back()" class="btn btn-outline-secondary">Zurueck</a>
<a href="javascript:history.back()" class="btn btn-outline-secondary">Go Back</a>
</div>
</div>
</div>