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
25 lines
980 B
HTML
25 lines
980 B
HTML
{% extends "base.html" %}
|
|
{% block title %}No Database{% 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">No database configured</h3>
|
|
<p class="text-muted mb-4">
|
|
No MC database has been set up for this group.
|
|
{% if session.get('role') == 'admin' %}
|
|
You can configure the connection as group admin.
|
|
{% else %}
|
|
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>Configure Database
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|