Commit Graph

34 Commits

Author SHA1 Message Date
yubiuser
53a88352c2 footer: drop redundant addAdvancedInfo() call (#3467) 2025-05-18 20:38:01 +02:00
XhmikosR
a2908d86d8 footer: drop redundant addAdvancedInfo() call
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-18 09:58:06 +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
756239a6dd xo: enable strict mode
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 20:50:12 +03:00
XhmikosR
f598a8e35c Manual xo fixes and suppressions
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 07:53:16 +03:00
XhmikosR
f8a0a1d4ec Tighten xo rules
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 07:53:13 +03:00
XhmikosR
1fbbb91f51 Remove icheckbox related-code except for primary
v6 doesn't support changing this like v5

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-21 12:07:06 +03:00
Adam Warner
1e8baebb08 Fix concurrency issue about const apiUrl (#3371) 2025-04-02 18:09:14 +01:00
DL6ER
b524a2f4b6 Always use document.body.dataset.apiurl instead of the intermediate const apiUrl
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 22:00:16 +02:00
DL6ER
58616bc8af Remove remaining hard-coded /admin/ paths in the webinterface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 21:43:57 +02: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
XhmikosR
c003548906 Remove trailing slash from void elements
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-10 22:15:01 +02:00
XhmikosR
f7710ebc76 Fix a few CodeQL issues
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-09 22:03:13 +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
Dominik
e95c865357 Fix the text and icon used to report end-to-end encryption status (TLS/SSL) on the top menu (#3288) 2025-03-07 11:39:58 +01:00
Dominik
27696fa229 Set default values for each property of versions object (#3268) 2025-03-07 11:39:44 +01:00
RD WebDesign
c3d09c92e9 Use "N/A" if local.version is null to avoid empty version
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-07 01:45:59 -03:00
RD WebDesign
b4bf45d2fd Set icon color to green when SSL/TSL is used
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-07 01:05:11 -03:00
RD WebDesign
516febe461 Use location.protocol top identify if the page uses https protocol
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-07 00:56:45 -03:00
DL6ER
afd595de72 Merge branch 'development' into fix/load_not_cpu
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 17:34:14 +01:00
XhmikosR
96be2b7363 Use singular if we have one core
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-04 17:43:47 +02:00
DL6ER
9a40f4a7e1 Improve memory unit selection for devices with less than 1 GB of RAM
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-03 09:14:36 +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
RD WebDesign
54e5b29416 Setting default values for each property of versions object
- set Docker versions (local/remote) to `null` if they are empty strings, undefined or null;
- set other components versions to `"N/A"` if they are empty strings, undefined or null;
- set branches and hashes to `null` if they are empty strings, undefined or null;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-02 00:05:01 -03:00
Dominik
362ffac148 Improve tooltip wording
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
2025-02-27 19:37:35 +01:00
DL6ER
98d162fa01 Show total CPU % on the settings / system info page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-02-27 05:58:44 +01:00
DL6ER
714b135afa We should show load, not CPU%
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-02-26 20:10:41 +01:00
RD WebDesign
a495fe5ba4 Fix indentation
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-19 19:54:41 -03:00
RD WebDesign
8f72215630 Add a link to the docker tag on the footer if the tag is up-to-date.
Else, show the normal "Update available" link

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-19 19:46:14 -03:00
yubiuser
e1a01b0877 Clearify that only enabled domains are counted
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-03 19:49:31 +01:00
yubiuser
e7f97baab1 Fix prefer-global-this error
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-12-07 16:11:35 +01:00
yubiuser
664e2dac3d Display update information of individual components only if we are not running in a Docker container
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-11-01 21:58:19 +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