Commit Graph

44 Commits

Author SHA1 Message Date
yubiuser
8e9658e099 Rename config key dns.domain > dns.domain.name
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-28 10:42:12 +02:00
yubiuser
db00480088 Remove query type from domainNeeded option
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-09 21:27:02 +02:00
Adam Warner
387ad34927 settings-dns: expand custom servers box if it has custom servers (#3514) 2025-06-29 12:28:48 +02:00
yubiuser
156a687cf5 Remove link to rate limit documentation which does not add further details
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-21 22:27:46 +02:00
XhmikosR
65e2917b74 settings-dns: expand custom servers box if it has custom servers
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-21 08:45:53 +03:00
XhmikosR
8529cb067c Fix a few HTML validation issues
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-16 09:32:51 +03:00
Adam Warner
abd4d9d3b9 settings-level-expert: hide them by default (#3487) 2025-05-30 21:35:56 +01:00
casperklein
f3fd182d00 Add rel="noreferrer" to external hyperlinks
Signed-off-by: casperklein <casperklein@users.noreply.github.com>
2025-05-29 22:57:36 +02:00
XhmikosR
a18629193a settings-level-expert: hide them by default
Matches the previous behavior before 8556b65

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-27 20:59:05 +03:00
XhmikosR
8556b65b2e settings-level-expert: only toggle the expert elements
Show the basic ones by default. Also, reduce jQuery usage in those functions while at it.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-19 09:49:10 +03:00
XhmikosR
e246d41055 index: make tables stripped
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-05 15:50:30 +03:00
XhmikosR
4ef92fc5e4 Add missing display: none for collapsed boxes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-30 19:04:09 +03:00
XhmikosR
2dd128fbfb Revert the defer addition for now
There are still cases we are getting TypeErrors. We should try again after grouping our assets together in all pages.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-03 07:52:28 +03:00
yubiuser
eec7622ef4 Fix typo in advanced DNS help text
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-28 16:16:06 +01:00
XhmikosR
1acb80536b Refactor assets loading
* move fonts first
* move CSS and JS along with the rest
* move default auto theme media checks to the HEAD instead of imports

Also, use `script defer`. This makes the JS files non-blocking.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 07:08:37 +02:00
XhmikosR
6a5b40f7bf Add missing rel="noopener" for external links
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-21 16:54:22 +02:00
RD WebDesign
566bf15cd9 Use <code> tag to show the interface name
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-27 23:31:08 -03:00
yubiuser
7c04234888 Amend dns.domain
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-22 14:18:54 +01:00
yubiuser
ad9764b498 Amend advanced DNS warning
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-22 14:09:53 +01:00
yubiuser
1e922a8b29 Move all files from /scripts/pi-hole/ to /scripts/
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:22:09 +01:00
yubiuser
4c21641663 Unify vendor file location
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:12:11 +01:00
RD WebDesign
f842c72236 Settings Pages - small adjustments (#3000)
- Fix buttons in high contrast themes
- consistent indentation and widths for fields and labels
- use class `form-control` to format every form field
- add some line breaks to improve readability
- use colors in "Currently active sessions" table
2024-04-03 16:27:35 -03:00
RD WebDesign
6f65368759 Settings Page - Apply small adjustments
- consistent indentation and widths for fields and labels
- use class `form-control` to format every form field
- add some line breaks to improve readability

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-04-02 21:28:26 -03:00
DL6ER
64ccce4bd5 Add field-sizing-content class that makes input and textarea fields it is applied to automatically scale to the size of their content.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-01 19:52:22 +01:00
DL6ER
2f44fc63cc Merge branch 'development-v6' into tweak/settings_changed_only
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 10:14:49 +01:00
Dominik
da7c0efb02 Add support for multiple reverse server (#2885) 2024-02-11 06:52:35 +01:00
DL6ER
52991f495c Merge branch 'development-v6' into tweak/settings_changed_only
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-07 14:04:11 +01:00
RD WebDesign
89866fab77 Adding a container and a semi-transparent background
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-12-02 03:30:35 -03:00
DL6ER
05ff5647bd Rearrange items on Settings -> DNS page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-01 13:02:10 +01:00
DL6ER
e1ca33cd0f Add support for adding multiple reverse servers
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-01 13:00:26 +01:00
DL6ER
ce96e15d59 Remove settings-level-1 and rename level 0 to basic, level 2 to expert
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 13:11:27 +01:00
DL6ER
ceb1118c0b Add settings level and only-changed settings toggle
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-29 13:10:18 +01:00
DL6ER
b5481fed35 Add dns.expandHosts and move the two strongly correlated setting into their own box
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-13 09:21:37 +01:00
DL6ER
0feb021eb8 dhcp.domain -> dns.domain
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-13 09:16:35 +01:00
RD WebDesign
db0c333d6b Add a data-configkeys attribute to titles in settings pages
Separate real classes from config keys.
Use class attribute only for styles.
2023-11-01 18:33:58 -03:00
Adam Warner
66401ee222 In addition to adding the readonly icon, we can also add the other icons with teh same method.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-29 15:21:18 +00:00
Adam Warner
fef945c49f Disable settings inputs if they are already set by environment variable. Add a padlock icon to the setting section title if any of the settings contained therin are set by environment variable 2023-10-29 15:21:18 +00:00
RD WebDesign
b26dcf36b8 Settings pages: move level selector from top bar and add page titles
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-19 00:39:35 -03:00
DL6ER
7c000230c0 Show Save & Apply button also in Basic settings level
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-03-07 21:05:55 +01:00
RD WebDesign
ef513c2c48 Fix previous spellcheck errors
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-30 20:35:34 -03:00
DL6ER
18f52bacbe Improve handling of settings levels
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 19:26:48 +02:00
DL6ER
60737f9c39 Finish DNS, DHCP and API settings pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-09 10:07:14 +02:00
DL6ER
b30c1e0433 Finish settings-advanced.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-08 13:10:39 +02:00
DL6ER
7156cc541f Port PHP to Lua Pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-04-26 21:57:11 +02:00