7 Commits

Author SHA1 Message Date
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
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
Christian König
2069e3cffb Add comma hints
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-16 21:28:29 +01:00
DL6ER
4d3c0cded9 Fix errors happening when editing groups/clients/domains/lists not being shown. Also fix logic of the strings "enabling/disabling" as the variable "enabled" already has the new (not the current state). This was correct in groups.js, but not the others
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-05 21:54:40 +01:00
DL6ER
8a794ca69b Ported groups.lp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-05 14:05:50 +02:00