From 9d192c2141c6da75b6ea504dfaea7f6c2296315f Mon Sep 17 00:00:00 2001 From: Paul Spenke Date: Wed, 25 Nov 2026 11:38:13 +0100 Subject: [PATCH] refresh admin interface layouts Redesign authentication and website manager views with responsive layouts, clearer navigation, and accessibility improvements. Refresh page, menu, file, system information, settings, overview, welcome, page settings, and block thumbnail screens. Add the shared Admin stylesheet and Plugi theme, update the build configuration, and regenerate the admin CSS. --- .../plugi-ext-form/admin/Views/EditForm.php | 142 ++++++++++-------- .../admin/Views/ExtSettings.php | 13 +- .../admin/Views/ListEntries.php | 126 ++++++++-------- .../plugi-ext-form/admin/Views/ListForms.php | 109 +++++++------- extensions/plugi-ext-form/admin/form.php | 4 +- plugi-core/build.js | 31 +++- plugi-core/dist/Admin.css | 2 + plugi-core/dist/WebsiteManager.css | 2 +- .../Modules/Auth/resources/views/layout.php | 19 ++- .../Auth/resources/views/login-form.php | 18 ++- .../resources/assets/css/admin.css | 82 ++++++++++ .../resources/assets/css/plugi-theme.css | 59 ++++++++ .../resources/layouts/master.php | 73 +++++---- .../resources/views/block-thumbs.php | 16 +- .../resources/views/overview.php | 28 ++-- .../resources/views/page-settings.php | 114 ++++++++------ .../resources/views/tabs/files.php | 32 ++-- .../resources/views/tabs/info.php | 68 +++++---- .../resources/views/tabs/menus.php | 41 +++-- .../resources/views/tabs/pages.php | 31 ++-- .../resources/views/tabs/settings.php | 28 ++-- .../resources/views/welcome.php | 17 ++- 22 files changed, 677 insertions(+), 378 deletions(-) create mode 100644 plugi-core/dist/Admin.css create mode 100644 plugi-core/src/Modules/WebsiteManager/resources/assets/css/admin.css create mode 100644 plugi-core/src/Modules/WebsiteManager/resources/assets/css/plugi-theme.css diff --git a/extensions/plugi-ext-form/admin/Views/EditForm.php b/extensions/plugi-ext-form/admin/Views/EditForm.php index 07a9120..b7fb0ce 100644 --- a/extensions/plugi-ext-form/admin/Views/EditForm.php +++ b/extensions/plugi-ext-form/admin/Views/EditForm.php @@ -19,17 +19,19 @@ if(isset($_GET['id'])) $isEditing = isset($form['id']) && $form['id'] > 0; ?> -
+
- - + + -
-

+
+

Form builder

+

-
+ +
-
'; ?> -
-
-
- -

Basics

-
-
+
+
+
+ + + +
+

Basics

+

Give the form a name that will be easy to identify later.

+
+
+
- - A unique name for your form. + + A unique name for your form.
-
+ -
-
-
- -

Form fields

-
-

Define the fields users can fill out.

+
+
+
+ + + +
+

Form fields

+

Define the fields people can fill out. Drag a field to change its order.

+
+
-
- -

No fields added yet

- +
+ +

No fields added yet

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

Actions

-
-

What should happen when a form is submitted?

+
+
+
+ + + +
+

Actions

+

Choose what should happen when someone submits this form.

+
+
-
- -

No actions added yet

- +
+ +

No actions added yet

+
-
+
-
+
-
+
-
+
Cancel
diff --git a/extensions/plugi-ext-form/admin/Views/ExtSettings.php b/extensions/plugi-ext-form/admin/Views/ExtSettings.php index 4c55d7b..2788466 100644 --- a/extensions/plugi-ext-form/admin/Views/ExtSettings.php +++ b/extensions/plugi-ext-form/admin/Views/ExtSettings.php @@ -1,13 +1,16 @@
-
-
- +
+
+ + +
-

Settings

+

Form extension

+

Settings

Configure the global settings for the Form extension.

-
+
findWhere('formId', $id); ?> -
-
- - - -
-

-

submission for this form

+
+
+
+ + + +
+

Form submissions

+

+

submission for this form

+
-
-
+ total + -
-
- -

No submissions yet

-

Submissions will appear here when someone fills out the form.

+
+
+ + + +

No submissions yet

+

Submissions will appear here when someone fills out the form.

-
-
-
- - - - - - - - - - - - - setTimezone(new DateTimeZone(date_default_timezone_get())); +
+
IDCreated
+ + + + + + + + + + + + setTimezone(new DateTimeZone(date_default_timezone_get())); + ?> + + + + - - - - - - - - + - -
IDCreated
format('d.m.Y H:i') ?>
format('d.m.Y H:i') ?> -
- - - -
-
-
-
+ +
+ + + +
+ + + + +
+
diff --git a/extensions/plugi-ext-form/admin/Views/ListForms.php b/extensions/plugi-ext-form/admin/Views/ListForms.php index b59d623..31eff73 100644 --- a/extensions/plugi-ext-form/admin/Views/ListForms.php +++ b/extensions/plugi-ext-form/admin/Views/ListForms.php @@ -6,67 +6,68 @@ $forms = $formsRepository->getAll(); ?> -
-
-

Forms

-

form available

-
- - - New form - -
+
+
+
+

Form extension

+

Forms

+

form available

+
+ + + New form + +
-
-
- -

No forms yet

-

Create your first form to collect submissions from your website.

- - + -
-
-
- - - - - - - - - - - - - - - - - -
ID
-
-
- -
-
-
+
+ + + + + + + + + + + + + + + + + +
ID
+
+
+ +
+
diff --git a/extensions/plugi-ext-form/admin/form.php b/extensions/plugi-ext-form/admin/form.php index 2705bb7..4fa630c 100644 --- a/extensions/plugi-ext-form/admin/form.php +++ b/extensions/plugi-ext-form/admin/form.php @@ -34,14 +34,14 @@ if (isset($_GET['action']) && array_key_exists($_GET['action'], $modules)) $acti if ($modules[$activeModule]['showTabs'] === true): ?>