From 1ba4e573ec5b14b499e315ac8f5360025ba7202e Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Tue, 4 Jun 2024 19:34:17 -0300 Subject: [PATCH 1/2] Simplify structure and reorder some boxes Signed-off-by: RD WebDesign --- settings-api.lp | 135 +++++++++++++++++++++++++----------------------- 1 file changed, 69 insertions(+), 66 deletions(-) diff --git a/settings-api.lp b/settings-api.lp index 5de120c7d..942874397 100644 --- a/settings-api.lp +++ b/settings-api.lp @@ -15,85 +15,33 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r') ?>
-
-
-
-
-

Exclusions

-
-
-
-
-

Domains to be excluded from Top Domain Lists and Query Log

- -

Domains may be described by their domain name (like ^example\.com$)

-
-
-

Clients to be excluded from Top Client Lists and Query Log

- -

Clients may be described either by their IP addresses (IPv4 and IPv6 are supported), or hostnames (like ^laptop\.lan$).

-
-
-
-
-

Important:
Those input fields accept regex entries only.
Please refer to our guide how to construct valid regex entries. -

-
-
-
-
-
-
-
-

Theme settings

-
-
-
-
-
-
- -
-
- -
-
-
- - -
-
-
-
-
-
-
-
+
+
@@ -151,6 +99,61 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
+ + +
+
+
+
+

Exclusions

+
+
+
+
+

Domains to be excluded from Top Domain Lists and Query Log

+ +

Domains may be described by their domain name (like ^example\.com$)

+
+
+

Clients to be excluded from Top Client Lists and Query Log

+ +

Clients may be described either by their IP addresses (IPv4 and IPv6 are supported), or hostnames (like ^laptop\.lan$).

+
+
+
+
+

Important:
Those input fields accept regex entries only.
Please refer to our guide how to construct valid regex entries. +

+
+
+
+
+ + +
From 5ceb046f7378c75b708a2ef5d8ad3b7cea101b37 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Tue, 4 Jun 2024 20:07:07 -0300 Subject: [PATCH 2/2] Move temperature options to the Theme box (they are not advanced options) Signed-off-by: RD WebDesign --- settings-api.lp | 59 +++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/settings-api.lp b/settings-api.lp index 942874397..de587cd61 100644 --- a/settings-api.lp +++ b/settings-api.lp @@ -23,18 +23,45 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
-
- +
+
-
+
-
- - +
+
+
+
+
+ + +

The boxed layout is helpful when working on large screens because it prevents the site from stretching very wide.

+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
@@ -70,26 +97,6 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')

This will allow clients to perform destructive actions via the API, such as rebooting or shutting down the system Pi-hole is running on.

-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-