Commit Graph

25 Commits

Author SHA1 Message Date
Adam Warner
a978ab6b31 linting fixes
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-11-17 22:55:21 +00:00
Adam Warner
be6dae6088 box -> card
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-11-17 22:40:46 +00:00
yubiuser
94e8e909b7 Improve line graph tooltip (#3601) 2025-10-04 08:58:29 +02:00
RD WebDesign
ec5f8b7037 Add offset effect on hover to the doughnut charts
We need to add a small padding to avoid "clipping" the arc/slice.
This happens because when an arc/slice expands, it grows beyond the canvas
limits and get clipped.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-09-19 17:04:48 -03:00
RD WebDesign
48666e1ffd Use an array to store upstream server IPs
This will avoid overwritting the IP when more than one upstream DNS server uses the same name

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-09-15 22:34:06 -03:00
yubiuser
2c1876879d Fix calculation of tootlip percentage
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-10 11:12:04 +02:00
yubiuser
66eb947718 Only display items in queryOverTimeChart tooltips with at least 1 query
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-10 11:12:04 +02:00
yubiuser
9dc305c2b5 Show tooltip of bar graphs below x-axis
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-09-10 11:11:52 +02:00
Adam Warner
f683631afd Use proper Object methods (#3441) 2025-05-19 18:26:44 +01:00
XhmikosR
408334380e Use Object methods when possible
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-12 18:46:36 +03:00
XhmikosR
ba3b76421b Use proper Object methods
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-12 18:46:36 +03:00
yubiuser
f48ff7191b Remove deprecated <center>
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-04-30 20:26:10 +02:00
yubiuser
fbaa0c38fe Hide tables based on privacy level
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-04-26 22:52:11 +02:00
yubiuser
a0cc072c3d Hide top tables if no data is available
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-04-26 22:18:59 +02:00
XhmikosR
756239a6dd xo: enable strict mode
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 20:50:12 +03:00
XhmikosR
f8a0a1d4ec Tighten xo rules
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 07:53:13 +03: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
XhmikosR
ac24b73312 Use pretty URLs when possible
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 09:54:05 +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
68933f7a2c Add total/permitted/blocked filtering for domains and clients on the dashboard's top lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 18:33:33 +01:00
DL6ER
556aa65103 Add total/permitted/blocked filtering for domains and clients on the dashboard's top lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 17:32:15 +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
e7f97baab1 Fix prefer-global-this error
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-12-07 16:11:35 +01:00
yubiuser
4277311bc7 Adjust onZoom callback to not trigger on chart.zoomScale introduced in v2.1.0 of the chartjs zoom plugin
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-11-27 22:19:45 +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