DL6ER
15c072bb01
Replace temperature display by query frequency
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-09-06 16:29:26 +02:00
RD WebDesign
18d66133b3
Add a tooltip to the dashboard showing the last time gravity was updated
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2024-09-02 20:14:12 -03:00
Christian König
337d7e5c29
Don't try to fill client/domain tables if there is no data
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2024-07-08 18:56:08 +00:00
DL6ER
bfa3906d18
Fix possible race condition on page load of the index page. This is a recent regression
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-07-01 16:32:41 +02:00
DL6ER
2174eaa836
Update summary data with new count
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-06-29 09:29:35 +02:00
DL6ER
22fe50faa4
Update the charts if the number of queries has increased significantly
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-06-26 10:17:38 +02:00
RD WebDesign
a1df7bd9fe
Remove the small-box glow effect on text updates
...
to avoid accessibility issues
Fixes #3011
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2024-05-22 22:56:03 -03:00
DL6ER
d880a387f7
Merge branch 'development-v6' into fix/overTimeGraphs
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-03-16 09:06:31 +01:00
Emir SARI
2a45388b4b
Use automatic percent formatting
...
Signed-off-by: Emir SARI <emir_sari@icloud.com >
2024-03-04 20:22:21 +03:00
DL6ER
d9cd239e87
Add support for the new sparse-data format returned by /history/clients
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-16 17:18:08 +01:00
DL6ER
7708887b07
Also show percentages in the client activity graph
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-12 16:13:47 +01:00
DL6ER
c64d84a18f
Ensure percentages are computed correctly
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-12 16:08:05 +01:00
DL6ER
50f28e8a93
The permitted column in the main graph was actually the sum of forwarded and other queries. As cache is arguably somehow permitted, too, make the difference between them clear
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-02-11 21:02:43 +01:00
DL6ER
781118c8b8
Only refresh data when page/tab is currently visible
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-24 22:48:31 +01:00
DL6ER
c853148897
Store refresh intervals in a common place for easy editing (and possibly future programatic adjustments)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-24 11:14:48 +01:00
DL6ER
a39c8a5c0a
Escape only where we are displaying
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-18 22:38:01 +01:00
DL6ER
feea661daf
Fix upstream links yielding no results on the Query Log if names are shown
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-16 12:53:08 +01:00
yubiuser
e0ca2b2b1f
Shorten animation delay ( #2815 )
2023-11-13 23:25:23 +01:00
DL6ER
7e1114f0c6
Use upstream names instead of IP when available
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-13 10:17:33 +01:00
Christian König
611daf735a
Shorten animation delay
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-11-08 22:06:14 +01:00
RD WebDesign
b44a07446d
Small desing adjustment and simplify selector
...
- use class to style buttons and info icons (move style to pi-hole.css)
- add negative margin to avoid small jump when the button is shown
- use the new classes to simplify jquery selectors
2023-11-08 16:52:21 -03:00
DL6ER
e71557a60f
Show Reset Zoom button when zoomed in
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-08 10:26:49 +01:00
DL6ER
6eb7440a21
Add tooltip explaining you can zoom and pan the graphs
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-07 21:48:49 +01:00
DL6ER
27f4a94b48
Add zooming on the dashboard's two main graphs ( #2807 )
2023-11-07 20:56:31 +01:00
DL6ER
752e37ffac
Update scripts/pi-hole/js/index.js
...
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br >
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com >
2023-11-07 19:14:46 +01:00
DL6ER
59809d9959
Remeber original axis limit instead of trying to calculate it
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-07 06:43:54 +01:00
Christian König
bb32db9ae8
Suppress no-undef warning
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-11-06 21:11:55 +01:00
Christian König
a06bbdf589
Fix styling
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-11-06 21:04:31 +01:00
Christian König
a55167973d
Fix chartjs v4 migration: scales[id].grid.drawBorder > scales[id].border.display
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-11-06 13:34:17 +01:00
Christian König
097a404bf0
Don't show rotation animation for pie chart updates
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-11-06 13:03:14 +01:00
DL6ER
80971905c4
Fix zooming to the zero axis, panning is still allowed if you want to leave y=0 behind
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-06 09:24:35 +01:00
Christian König
5300028f14
Defer chart loading
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-11-06 00:18:41 +01:00
DL6ER
aa84cb4b9b
Add zooming on the dashboard's two main graphs. You can zoom either with [Ctrl] + your mouse wheel (desktop) or the multi-touch "pinch" gesture (mobile). You can then drag with a single click (or finger) to move the graph up or down in case zooming wasn't that accurate
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-11-05 07:42:11 +02:00
Adam Warner
6c815721c4
Update chart.js to 4.4.0 ( #2781 )
2023-10-28 16:55:14 +01:00
Christian König
7b55ddc5fa
No need for second scales
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-10-25 21:45:29 +02:00
Christian König
5c14641aa2
Remove leftover of line chart option
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-10-24 23:48:15 +02:00
Christian König
050e1d1056
Fix dashboard when no queries are present
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-10-24 23:30:29 +02:00
DL6ER
606a1de47a
Show total clients in hover title instead
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-10-22 09:28:36 +02:00
DL6ER
ea4ebc3aca
Show active clients instead of clients-ever-seen on the dashboard. When the two numbers are different, show both
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-10-21 18:43:42 +02:00
Adam Warner
d59bbd26db
php -> lp
...
There are still a few cases left in debug.js, but as that feature is so far missing, I will leave them for now
2023-07-28 22:55:06 +01:00
DL6ER
86aa24a8e2
Add port to upstream legend key if available
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-05-27 18:35:34 +02:00
DL6ER
f5666e47e6
Query Log: Simplify specifying "type" via URI parameters (via types pie chart)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-05-27 14:10:12 +02:00
DL6ER
f454617f9c
Add cache content pie chart on settings->system page and move all chart-related code into a shared file pi-hole/js/chart.js
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-05-11 10:39:38 +02:00
DL6ER
7156cc541f
Port PHP to Lua Pages
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-04-26 21:57:11 +02:00
DL6ER
fb64759fdf
Merge remote-tracking branch 'origin/devel' into devel-v6
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-04-26 09:18:39 +02:00
RD WebDesign
e40d43e4d9
Fix NaN error message when FTL is offline
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-03-17 15:22:55 -03:00
RD WebDesign
aa5068bbe9
Using a new function to retrieve CSS values from classes
...
- create a new function to access CSS values, even if not directly used on the page;
- remove the empty harcoded HTML `<span>` placeholders used only to source the colors from CSS classes
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-02-11 19:52:13 -03:00
DL6ER
ccced4c1a8
Fix "undefined" hit counts on the dashboard
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-02 20:57:10 +01:00
DL6ER
4eb9a4cf29
Port dashboard landing page to v6.0 API
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-01-31 20:41:12 +01:00
Christian König
9f7a04a37c
Show two decimals on doughnutTooltip if total share shown is less than 1%
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-18 22:29:00 +01:00