Commit Graph

21 Commits

Author SHA1 Message Date
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
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
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
Jack'lul
5f77a81c15 Remove checkbox for database.DBexport
Signed-off-by: Jack'lul <jacklulcat@gmail.com>
2025-02-17 17:59:32 +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
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
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
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
RD WebDesign
c885832087 Add a line break between the checkboxes and the number of days selector
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-14 17:18:36 -03:00
RD WebDesign
0b28146e15 Keep the text on the same line, even in smaller screens
- Add a row with `display:flex` to avoid the line break

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-14 15:47:17 -03: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
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
74baa97aaf Add settings-privacy.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-09 20:30:05 +02:00