Commit Graph

49 Commits

Author SHA1 Message Date
idotj
ee02f1aea8 Remove CSS
Signed-off-by: idotj <info@idotj.com>
2025-08-20 14:20:11 +02:00
idotj
2768c44d24 Fix typo
Signed-off-by: idotj <info@idotj.com>
2025-08-19 18:47:21 +02:00
idotj
21a65be5a7 Fix 2FA icon styles #3431
Signed-off-by: idotj <info@idotj.com>
2025-08-19 18:41:54 +02: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
1728aa4153 disabled and checked are boolean attributes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-04 10:08:26 +03:00
XhmikosR
9ec528fd54 settings-api: add missing end closing p tag
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-01 22:20:23 +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
XhmikosR
c003548906 Remove trailing slash from void elements
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-10 22:15:01 +02: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
yubiuser
1e651f25ea Remove api.localAPIauth checkbox
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-25 20:40:54 +02:00
RD WebDesign
571b3121f8 Remove temperature settings leftover
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-09-27 13:03:54 -03:00
Dominik
330845b577 Show CLI sessions property (#3056) 2024-06-30 20:25:48 +02:00
DL6ER
76a7248e6b Show CLI sessions property
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-20 19:59:32 +02:00
RD WebDesign
94b49ce89f Use only one button class per button to fix button text color
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-17 15:45:02 -03:00
Dominik
d7ca2da627 Update settings-api.lp
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
2024-06-16 07:54:48 +02:00
DL6ER
3681d7187a Show warning if user already set an application password
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-15 11:25:29 +02:00
RD WebDesign
5ceb046f73 Move temperature options to the Theme box (they are not advanced options)
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-05 15:15:23 -03:00
RD WebDesign
1ba4e573ec Simplify structure and reorder some boxes
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 19:34:17 -03: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
Christian König
dee7c2bb67 Add regex hint to domain/client exclusion box
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-01-19 22:21:37 +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
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
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
DL6ER
0d827b00f2 Add app password support (#2793) 2023-10-29 19:43:55 +01: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
DL6ER
b5678b65f1 Add app password support and add robot column to the session table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-27 16:12:20 +02:00
Christian König
744f8b8b2f temp.limit needs to be data-type="integer"
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-27 13:03:47 +02:00
Christian König
95650820dc Active Sessions are an expert's thing
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-12 12:08:33 +02:00
Christian König
1376f0a41e Show Theme Selector at basic level
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-12 10:23:56 +02: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
f2d129025f Add "permit destructive actions" checkbot to Settings -> API page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-24 20:35:55 +02:00
DL6ER
3e2d3b2275 Add description to settings-api.lp session table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 20:18:13 +02:00
DL6ER
b1ec3c4fb1 Add theme and boxed-layout settings to API/webinterface settings page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 19:41:11 +02:00
DL6ER
e8c259d720 Use Lua Kepler syntax everywhere. Needs the most recent patched FTL that enforces Kepler syntax for all Lua scripts to work as expected.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-22 19:19:15 +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