Rob Gill
ad2439c46d
Adjust customToolTips to deal with pie charts
...
Signed-Off-By: Rob Gill <rrobgill@protonmail.com >
2018-08-10 13:16:46 +10:00
Rob Gill
4cf14dfc30
Constrain tooltips for piecharts
...
This stops the tooltips from disappearing beyond the pie chart's canvas.
Signed-Off-By: Rob Gill <rrobgill@protonmail.com >
2018-08-10 09:59:31 +10:00
Mcat12
dd77a6af58
Add missing semicolon
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-07-15 16:43:14 -04:00
Mcat12
846e3e4184
Fix lag by limiting rendering to every 50ms
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-07-15 15:04:38 -04:00
Mcat12
4542a68f2f
Fix y value of tooltip scaling incorrectly
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-07-15 15:04:07 -04:00
DL6ER
2aef235040
Use client address if name is empty
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-06-07 19:05:27 +02:00
Mcat12
357da1d15a
Expose both name and IP of client
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-06-06 18:27:55 -04:00
DL6ER
2eb4f78e0d
Merge pull request #744 from pi-hole/fix/show_blocked_permitted_only
...
Correctly apply API_QUERY_LOG_SHOW filters on dashboard
2018-05-29 15:24:36 +02:00
Mark Drobnak
75559ef86e
Merge pull request #759 from pi-hole/fix/getClientNames
...
Fix a minor bug in api.php?getClientNames
2018-05-28 14:36:53 -04:00
DL6ER
b2743ed245
Fix a minor bug with api.php?getClientNames when hostnames are present more than once on the local network (maybe once IPv6, once IPv4)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-28 17:42:11 +02:00
DL6ER
c6f5c2ee35
Display new dns_queries_all_types value (if available)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-25 09:53:30 +02:00
DL6ER
62f349b996
Top Clients (blocked): Compute frequency relative to number of blocked not total number of queries
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-10 15:29:38 +02:00
DL6ER
0d283bbfa2
Address codacy issues
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-10 15:26:44 +02:00
DL6ER
d42784be8c
Address codacy issues
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-10 15:22:00 +02:00
DL6ER
73df3bddb6
Add "Top Clients (blocked only)" table
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-10 15:11:22 +02:00
DL6ER
fd3a7d3f57
Don't return too early when filling tables with top domains/top ads data. Otherwise, we might miss to remove the loading spinners. This fixes an issue brought up on Discourse.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-05-09 18:39:29 +02:00
DL6ER
5f3f105387
Add frontend changes necessary for https://github.com/pi-hole/FTL/pull/264
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-04-28 23:09:54 +02:00
Adam Warner
c414a4aba1
Merge branch 'devel' into FTLDNS
2018-04-14 00:53:23 +01:00
Adam Warner
b09de8e615
Fix merge conflict
...
Signed-off-by: Adam Warner <adamw@rner.email >
2018-04-14 00:43:27 +01:00
Adam Warner
2be54bc17a
Prevent tooltip from being hidden by sidebar
2018-04-14 00:37:04 +01:00
DL6ER
081afa4924
Remove clients over time graph if no data is returned (privacy mode!)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-04-04 14:24:59 +02:00
DL6ER
634fa7f2b3
Remove top clients table if no data is returned (privacy mode!)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-04-04 14:22:35 +02:00
Mcat12
7244e3a9e0
Don't search for the element by ID when we already have it
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-02 17:43:19 -04:00
DL6ER
4cf0f4d6ff
Make sure the properties exist when looping over objects
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-04-02 22:29:38 +02:00
DL6ER
e5e956ace6
Automatically detect which _meta to use
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-04-02 22:07:07 +02:00
DL6ER
8b2e7b89ac
Add separate legends for pie charts on the dashboard. Fixes #635
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-04-02 14:36:21 +02:00
DL6ER
5aba5a1314
Add missing semicolon
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-25 18:49:15 +02:00
DL6ER
27d40465cd
Use jQuery's .html() routine to overwrite element's content
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-25 18:48:23 +02:00
DL6ER
7bf5207e06
Fix JS error
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-25 18:39:03 +02:00
DL6ER
2aca7bf764
customTooltips must be defined before used
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-25 14:00:02 +02:00
DL6ER
062ba5141b
Strings must use doublequote
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-25 11:32:36 +02:00
DL6ER
44774d914c
We should split the string at ": " instead of at ":" to be fully compatible with IPv6 addresses
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-25 10:20:26 +02:00
DL6ER
e3cd76ad7d
Add simple measure to prevent compression of the tooltip at the right edge of the screen (may be improved, not tested on mobile screens)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-20 16:50:53 +01:00
DL6ER
b6be5629ac
Show only non-zero entries
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-20 15:28:39 +01:00
DL6ER
a5ca08c84d
Add custom tooltip as suggested by user @kh0505 here: https://github.com/pi-hole/AdminLTE/issues/603#issuecomment-373933097
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-03-20 15:20:09 +01:00
Mcat12
ff82895be8
Fix error when no client over time data is available
2017-10-11 15:00:51 -04:00
DL6ER
1e89f12d18
Merge branch 'new/clientsovertime' of github.com:pi-hole/AdminLTE into new/clientsovertime
2017-09-30 11:10:03 +02:00
DL6ER
6a75cc2751
Prevent overshoots in the graphs caused by cubic interpolation (just like we do it already for the main graph)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-30 11:09:13 +02:00
WaLLy3K
1ba190bfa2
Merge branch 'devel' into new/clientsovertime
2017-09-30 13:29:36 +10:00
WaLLy3K
2789b69460
Decrease doughnut animation time on first load
2017-09-29 23:12:20 +10:00
DL6ER
0ed1901a8e
Apply proper sorting whilst preserve the color order for the doughnut forward destinations chart
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-27 17:03:00 +02:00
DL6ER
18079c128f
And another one
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-24 00:11:07 +02:00
DL6ER
ddfed41034
Fix some mistakes
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-24 00:09:58 +02:00
DL6ER
a46f720973
Use absolute instead of relative display
2017-09-23 13:03:55 +02:00
DL6ER
076700fc92
Add "Clients (over time)" graph (needs FTL on branch "new/clientsovertime")
2017-09-22 21:11:57 +02:00
DL6ER
aef4159f44
Add tooltips to dognuth charts
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-20 22:28:46 +02:00
DL6ER
e7fc65b684
Simplify function updateForwardedOverTime() as data obtained from API is already normalized
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-20 22:15:19 +02:00
DL6ER
b89c40d63f
Simplify function updateQueryTypesOverTime() as data obtained from API is already normalized
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-20 22:11:54 +02:00
DL6ER
93732f12b1
Re-add doughnut charts ( #544 )
...
* Re-add doughnut charts as this has been requested by some users
* Smaller optimizations
* Don't use rotation animation for further updates
* Apply attribute to correct graph
* Ask for unsorted list of forward destinations
* :codacy:
* Move setting to correct graph
2017-07-08 20:18:26 +02:00
TheME
74a6dc3276
Fix glow effect ( #528 )
...
* index.js: fix glow effect
* header.php: fix glow effect rule
2017-06-28 23:26:47 +01:00