Commit Graph

24 Commits

Author SHA1 Message Date
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
Dominik
877d5f8cb9 Allow path prefix multiplexing the dashboard and API (#3269) 2025-03-22 20:46:37 +01: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
Adam Warner
983dbc2244 Update fonts (#3309) 2025-03-20 17:03:49 +00:00
DL6ER
6a6a3911f0 Merge branch 'development' into new/web_prefix
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-18 06:58:10 +01:00
RD WebDesign
5de572e53f Fix the reversed numbers in Group Management menu items - LCARS theme
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-16 00:23:16 -03:00
XhmikosR
7ebf4e07df Update fonts
Remove the .woff files since our supported browsers support .woff2

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-12 16:38:06 +02:00
XhmikosR
bbcda8ae28 Fix stray -
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-12 08:13:20 +02:00
RD WebDesign
ffdffbc262 Sidebar: fix missing span end-closing tags (#3316) 2025-03-12 00:21:21 -03:00
XhmikosR
a9addd1d8c sidebar: fix missing span end-closing tags
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-11 10:12:22 +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
DL6ER
5f3bcdac3c Merge branch 'development' into new/web_prefix
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-09 20:15:59 +01:00
DL6ER
e873dfed2b Use document.body.dataset instead of defining a hidden <div>
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-09 20:13:33 +01:00
XhmikosR
01a8b8d505 Move image to an external file
It's the original Pi-hole logo, with the following modifications:

* removed colors
* added the classes we need
* added `currentcolor`

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-09 20:01:41 +02:00
XhmikosR
4e6105bef9 Switch to Font Awesome CSS
It's lighter than the JS

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-09 20:01:16 +02:00
XhmikosR
6be8b07973 Remove the obsolete X-UA-Compatible meta tag
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-09 09:29:15 +02:00
DL6ER
f8ef22572a Store value of pihole.webhome() in a globally available variable instead of calling pihole.webhome() multiple times
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-08 21:37:21 +01:00
XhmikosR
3602a43842 Add missing img dimensions
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-08 15:51:01 +02:00
DL6ER
a5e2c627a4 Move the decision whether we are showing the no-HTTPS warning from server-side (where no https may be used when a reverse proxy is used) to user-side where this is more definite
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 19:58:57 +01:00
DL6ER
a7f1ca7800 Allow path prefix multiplexing the dashboard and API. See https://github.com/pi-hole/FTL/pull/2319 for further details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-02 20:20:10 +01:00
yubiuser
1964d4b0d6 More clarification
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-03 19:51:53 +01:00
Toni Förster
fa77236432 consistent naming for forum
Signed-off-by: Toni Förster <toni.foerster@icloud.com>
2024-12-16 20:38:56 +01:00
yubiuser
5a48c352df Update actual files
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-29 16:31:30 +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