modified: web/blueprints/auth.py

modified:   web/blueprints/group_admin.py
	modified:   web/blueprints/panel.py
	modified:   web/blueprints/site_admin.py
	modified:   web/templates/admin/base.html
	modified:   web/templates/admin/dashboard.html
	modified:   web/templates/admin/group_edit.html
	modified:   web/templates/admin/group_members.html
	modified:   web/templates/admin/groups.html
	modified:   web/templates/admin/user_edit.html
	modified:   web/templates/admin/users.html
	modified:   web/templates/auth/admin_login.html
	modified:   web/templates/auth/login.html
	modified:   web/templates/base.html
	modified:   web/templates/group_admin/base.html
	modified:   web/templates/group_admin/dashboard.html
	modified:   web/templates/group_admin/database.html
	modified:   web/templates/group_admin/member_edit.html
	modified:   web/templates/group_admin/members.html
	modified:   web/templates/panel/no_db.html
This commit is contained in:
SimolZimol
2026-04-01 02:55:32 +02:00
parent 93999d1c0d
commit c9c684f97a
21 changed files with 4633 additions and 184 deletions

View File

@@ -1,22 +1,22 @@
{% extends "base.html" %}
{% block title %}No Database{% endblock %}
{% block page_title %}<i class="bi bi-database-fill-x me-2"></i>Keine Datenbank{% endblock %}
{% block page_title %}<i class="bi bi-database-fill-x me-2"></i>No Database{% endblock %}
{% block content %}
<div class="row justify-content-center mt-5">
<div class="col-md-6 text-center">
<i class="bi bi-database-fill-x display-1 text-muted mb-4"></i>
<h3 class="mb-3">Keine Datenbank konfiguriert</h3>
<h3 class="mb-3">No database configured</h3>
<p class="text-muted mb-4">
Für diese Gruppe ist noch keine MC-Datenbank eingerichtet.
No MC database has been set up for this group.
{% if session.get('role') == 'admin' %}
Du kannst die Verbindung als Gruppen-Admin konfigurieren.
You can configure the connection as group admin.
{% else %}
Bitte wende dich an deinen Gruppenadmin.
Please contact your group admin.
{% endif %}
</p>
{% if session.get('role') == 'admin' %}
<a href="{{ url_for('group_admin.database') }}" class="btn btn-success btn-lg">
<i class="bi bi-database-fill-gear me-2"></i>Datenbank konfigurieren
<i class="bi bi-database-fill-gear me-2"></i>Configure Database
</a>
{% endif %}
</div>