From 8eae3cf124c323e4938d4f981a03d6d532d0c632 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sun, 23 Nov 2025 22:48:54 +0200 Subject: [PATCH] Redesigns admin-tools page --- app/templates/admin-tools.php | 284 +++++++++++++++++++--------------- 1 file changed, 155 insertions(+), 129 deletions(-) diff --git a/app/templates/admin-tools.php b/app/templates/admin-tools.php index ffd37d7..050353f 100644 --- a/app/templates/admin-tools.php +++ b/app/templates/admin-tools.php @@ -6,142 +6,151 @@ /** @var string $csrf_token */ ?> -
-
-
-

Admin tools

- System maintenance and database utilities. -
-
- -
-
-
-
-
- - Maintenance mode -
- -
-
-
- - -
- - -
- -
-
- - - -
-
+
+
+
+
+

Admin tools

+

Centralized maintenance and database utilities to keep healthy.

+
+
+ + + Maintenance + + + + pending migration +
+ + + Back to dashboard + +
+
-
-
-
-
- - Database migrations -
+
+ +
+
+
+
+

Maintenance mode

+

Let your team know when maintenance is in progress.

-
- -
Error:
- -
- Test Migration Tools
- These tools create fake migrations in the database only (no files) for testing the migration warning functionality. + +
+ +
+

Message

+
+ + + +
+ +
-
- - - - - -
- - - -
-
-
-
-
- Pending - - Next: + +
+ + +
+
+
+ +
+
+
+

Database migrations

+

Review pending SQL and apply with confidence.

+
+
+ + +
Error:
-
- -
-
- -
none
- -
    - -
  • - -
    - -
    -
  • - -
- -
-
-
-
-
Applied
- -
-
- -
none
- -
    - -
  • - - -
  • - -
- -
-
-
-
- - - -
-
+ +
+

Test migration tools

+
+
+ + + +
+
+ + + +
-
+ +
+
+

Pending migrations

+ + Next: + +
+
    + +
  • No pending migrations
  • + + +
  • +
    + +
    + +
  • + + +
+
+ +
+
+

Applied migrations

+ +
+
    + +
  • No applied migrations yet
  • + + +
  • +
    + +
    + +
  • + + +
+
+ +
+ + + +
+
-
+ Label">
+ - @@ -175,6 +193,14 @@
+ + +
+ + + Applied + +