-
-
-
{{ title }}
-
-
-
-
-
-
-
-
-
-
-
-
Delete account
-
Deleting an account has the following effects:
-
- - All data associated with your corpora and jobs will be permanently deleted.
- - All settings will be permanently deleted.
-
-
-
-
-
-
-{% endblock page_content %}
-
-{% block modals %}
-{{ super() }}
-
-
-
Confirm deletion
-
Do you really want to delete your account and all associated data? All associated corpora, jobs and files will be permanently deleted!
-
-
-
-{% endblock modals %}
diff --git a/app/templates/admin/user.html.j2 b/app/templates/admin/user.html.j2
deleted file mode 100644
index 4d99ea57..00000000
--- a/app/templates/admin/user.html.j2
+++ /dev/null
@@ -1,131 +0,0 @@
-{% extends "base.html.j2" %}
-
-{% block page_content %}
-
-
-
-
- {#
#}
-
-
-
{{ title }}
-
- {{ user.role.name }}
- {% if user.confirmed %}
- confirmed
- {% else %}
- unconfirmed
- {% endif %}
-
- {% if user.about_me %}
-
{{ user.about_me }}
- {% endif %}
-
-
-
-
-
-
-
-
-
-
- - Username: {{ user.username }}
- - Email: {{ user.email }}
- - Id: {{ user.id }}
- - Hashid: {{ user.hashid }}
- - Member since: {{ user.member_since.strftime('%Y-%m-%d') }}
- - Last seen: {% if user.last_seen %}{{ user.last_seen.strftime('%Y-%m-%d') }}
{% endif %}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-{% endblock page_content %}
-
-
-{% block modals %}
-{{ super() }}
-
-
-
Delete user
-
Do you really want to delete the user {{ user.username }}? All associated data will be permanently deleted!
-
-
-
-{% endblock modals %}
-
-
-{% block scripts %}
-{{ super() }}
-
-{% endblock scripts %}
diff --git a/app/templates/admin/user_settings.html.j2 b/app/templates/admin/user_settings.html.j2
deleted file mode 100644
index 17fdc151..00000000
--- a/app/templates/admin/user_settings.html.j2
+++ /dev/null
@@ -1,66 +0,0 @@
-{% extends "users/settings/settings.html.j2" %}
-
-{% block admin_settings %}
-
-
-
-
Administrator Settings
-
Here the Confirmation Status of the user can be set manually and a special role can be assigned.
-
-
-
-
- -
-
-
-
-
check
-
- Confirmed
- Change confirmation status manually.
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-{% endblock admin_settings %}
-
-{% block scripts %}
-{{ super() }}
-
-{% endblock scripts %}
diff --git a/app/templates/admin/users.html.j2 b/app/templates/admin/users.html.j2
deleted file mode 100644
index eccdd4f4..00000000
--- a/app/templates/admin/users.html.j2
+++ /dev/null
@@ -1,34 +0,0 @@
-{% extends "base.html.j2" %}
-
-{% block page_content %}
-
-{% endblock page_content %}
-
-{% block scripts %}
-{{ super() }}
-
-{% endblock scripts %}
diff --git a/app/templates/settings/index.html.j2 b/app/templates/settings/index.html.j2
index a27e7829..7e81e259 100644
--- a/app/templates/settings/index.html.j2
+++ b/app/templates/settings/index.html.j2
@@ -172,8 +172,6 @@
-
- {% block admin_settings %}{% endblock admin_settings %}
{% endblock page_content %}
diff --git a/requirements.freezed.txt b/requirements.freezed.txt
index a5c2daa4..b1af90d7 100644
--- a/requirements.freezed.txt
+++ b/requirements.freezed.txt
@@ -14,6 +14,7 @@ docker==7.0.0
email_validator==2.1.1
eventlet==0.34.2
Flask==2.3.3
+Flask-Admin==1.6.1
Flask-APScheduler==1.13.1
Flask-Assets==2.1.0
Flask-Hashids==1.0.3
diff --git a/requirements.txt b/requirements.txt
index 71c7daaa..74939ff7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,6 +4,7 @@ dnspython==2.5.0
docker
eventlet==0.34.2
Flask==2.3.3
+Flask-Admin==1.6.1
Flask-APScheduler
Flask-Assets
Flask-Hashids