Dominik
a07dacab77
header_authenticated.lp: add the hostname li only if it's greater t… ( #3501 )
2025-06-20 20:38:59 +02:00
XhmikosR
aaa692dc83
footer: remove document.hidden in checkBlocking ( #3518 )
...
This is taken care of in utils.setTimer.
Fixes status not showing when opening a new tab. Previously, it was shown after the timer fired.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-19 17:03:00 +02:00
XhmikosR
64b4756640
Update chart.js to v4.5.0 ( #3516 )
...
* Update chart.js to v4.5.0
Also, switch to the minified file
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
* Update scripts/lua/header_authenticated.lp
Co-authored-by: yubiuser <github@yubiuser.dev >
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
---------
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: yubiuser <github@yubiuser.dev >
2025-06-16 15:50:47 +02:00
yubiuser
b979fff4b0
Fix a few HTML validation issues ( #3517 )
2025-06-16 11:43:35 +02:00
yubiuser
538020ee79
header: don't hide advanced info since it's always shown ( #3513 )
2025-06-16 11:38:17 +02:00
XhmikosR
8529cb067c
Fix a few HTML validation issues
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-16 09:32:51 +03:00
XhmikosR
3d7f0d47df
Lowercase doctype
...
It's perfectly valid and it should result in smaller compressed size when gzip is used.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-15 08:18:36 +03:00
XhmikosR
293a84439d
header: don't hide advanced info since it's always shown
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-15 08:13:20 +03:00
XhmikosR
b3e8e40bda
footer: use text for sysinfo-cpu
...
There's no HTML involved.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-02 22:08:31 +03:00
XhmikosR
f78257bd8e
header_authenticated.lp: add the hostname li only if it's greater than zero
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-06-02 17:10:47 +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
yubiuser
d010d1309e
sidebar: move active class outside of class attribute conditional ( #3492 )
2025-05-27 19:52:45 +02:00
XhmikosR
b1c37c3b4b
sidebar: move active class outside of class attribute conditional
...
Gets rid of empty class attributes when not needed
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-27 18:02:04 +03:00
yubiuser
24fdb48d3f
Remove horizontal line in hamburger menu
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-05-26 21:17:57 +02:00
yubiuser
d2cd688cf9
header_authenticated: change documentation icon to solid ( #3488 )
2025-05-26 18:05:38 +02:00
XhmikosR
89f4d0af4e
header_authenticated: change documentation icon to solid
...
It's now consistent with the rest of the icons
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-26 09:03:39 +03:00
XhmikosR
8367ed2b9f
footer: rename label
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-25 19:01:18 +03:00
yubiuser
cea3ee88b5
messages: fix function call ( #3482 )
2025-05-23 09:04:01 +02:00
RD WebDesign
a1814d6c61
Use the same interface name used by FTL in DNS Settings page ( #3481 )
2025-05-22 14:35:00 -03:00
XhmikosR
ba888cd0f7
messages: fix function call
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-22 19:02:15 +03:00
yubiuser
ac07df8bf3
Reset update-hint text every time updateVersionInfo() function is executed ( #3480 )
2025-05-22 13:17:52 +02:00
RD WebDesign
cb575a5dfb
Use the same interface name used by FTL
...
If `dns.interface` is empty in pihole.toml we use the first interface, just like FTL.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-05-21 21:27:44 -03:00
RD WebDesign
f5b87509f9
Reset update-hint text every time the function is executed
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-05-21 16:05:14 -03:00
XhmikosR
181fd7122e
queries: drop non-existent elements code
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-21 10:13:04 +03:00
RD WebDesign
b8d04230cf
Fix DataTables warning message
...
Use `null` instead of an empty string to define columns initially empty
Fix #3471
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-05-19 19:46:05 -03:00
Adam Warner
f683631afd
Use proper Object methods ( #3441 )
2025-05-19 18:26:44 +01:00
Dominik
064154f0e6
Make use of the new format_path function to add the current page in body ( #3390 )
2025-05-19 19:09:24 +02:00
Adam Warner
e2c55c6234
settings-level-expert: only toggle the expert elements ( #3473 )
2025-05-19 17:50:44 +01:00
Adam Warner
7319966210
updateFtlInfo: remove unused code ( #3474 )
2025-05-19 17:25:25 +01:00
XhmikosR
3a8dbe1d28
updateFtlInfo: remove unused code
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-19 18:11:48 +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
89bcc8ca86
settings-advanced: drop small element
...
Use `.small` on the wrapper element
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-19 08:33:09 +03:00
XhmikosR
b32ad210fd
settings-advanced.js: fix wrong role value
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-18 22:54:24 +03:00
yubiuser
53a88352c2
footer: drop redundant addAdvancedInfo() call ( #3467 )
2025-05-18 20:38:01 +02:00
yubiuser
7046a9f3d9
Use text()/textContent when we don't need HTML ( #3464 )
2025-05-18 17:18:51 +02:00
XhmikosR
a2908d86d8
footer: drop redundant addAdvancedInfo() call
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-18 09:58:06 +03:00
Dominik
cb6da5677f
settings-api: fix wrong code ( #3463 )
2025-05-17 15:09:39 +02:00
XhmikosR
907441ca92
charts.j: use textContent when we don't need HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-17 08:40:47 +03:00
XhmikosR
f389c5a0ea
footer: use text() when we don't need HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-17 08:27:55 +03:00
XhmikosR
7b6408df6e
network: use textContent when we don't need HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 21:56:48 +03:00
Adam Warner
d078d1fd09
utils: improve readability for validateIPv* functions ( #3423 )
2025-05-16 17:22:14 +01:00
XhmikosR
a69a65d95e
utils: improve readability for validateIPv* functions
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 11:33:34 +03:00
XhmikosR
c72b7b872f
settings-api: fix wrong code
...
`ids` is an array so `id` is the value when using a for...of loop.
Also, switch to Number.isInteger since we expect the IDs to be numbers
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 11:19:37 +03:00
Adam Warner
a05e93bf34
utils: remove the unused objectToArray util ( #3462 )
2025-05-15 18:06:48 +01:00
Adam Warner
46728f90c7
Fix deprecated ready function ( #3461 )
2025-05-15 18:05:44 +01:00
yubiuser
29f4bff5ea
settings-dns-records: fix typo ( #3459 )
2025-05-15 19:04:22 +02:00
Adam Warner
3d99693dd6
Hide top tables depending on privacy level ( #3362 )
2025-05-15 18:02:51 +01:00
Adam Warner
ecb512a0ea
queries: improve link to search page ( #3422 )
2025-05-15 18:00:31 +01:00