Commit Graph

65 Commits

Author SHA1 Message Date
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
Mcat12
d061355ff3 Fix FTL offline message 2017-06-20 18:53:10 -04:00
DL6ER
a604037d33 Add unique clients to summary 2017-06-20 13:01:30 +02:00
DL6ER
9b2f4e4673 Minor change to comments 2017-06-04 13:34:46 +02:00
DL6ER
1ee66f36bd ... and Top Ads 2017-06-04 13:32:35 +02:00
DL6ER
1e1da89a9c Add the same for the top domains 2017-06-04 13:32:09 +02:00
DL6ER
f66650be1c Minor change to make the dashboard's javascript compatible with escaped characters (like apostrophe) in client names 2017-06-04 13:29:24 +02:00
DL6ER
e659d79da9 Remove legend, add tooltips and increase hit/hover radius for Query Types over Time graph. Fixes #502 2017-05-13 17:34:36 +02:00
DL6ER
7d4bf08853 Add custom callback for tooltips and disable legend for Forward Destinations over Time graph 2017-05-13 17:32:00 +02:00
DL6ER
b49a7b57c5 Add hover/hit radius for Forward Destinations over Time graph 2017-05-13 17:20:18 +02:00
Mcat12
3f04b346cb Merge pull request #476 from pi-hole/tweak/dashboard
Tweaks for the dashboard
2017-04-24 19:02:02 -04:00
DL6ER
f2415a590d Don't skip line if there are no queries, simply set its contribution to zero 2017-04-21 22:28:23 +02:00
DL6ER
3364f989cf Don't show IP addresses in addition to hostnames of forward destinations to save some space in the legend 2017-04-21 15:50:30 +02:00
DL6ER
3e88e72557 Bugfix: updateQueriesOverTime() has been called twice, but updateQueryTypesOverTime() hasn't been called at all 2017-04-20 13:24:52 +02:00
DL6ER
6e5b55e5ac Only load data if context is available to prevent JS errors 2017-03-28 22:02:40 +02:00
DL6ER
29c6c07af6 Add Query Types over Time 2017-03-28 14:51:19 +02:00
Mcat12
fce406b72d Merge pull request #459 from pi-hole/new/FTLupdatenotification
Show FTL version and update notification (if available) in footer
2017-03-26 19:01:44 -04:00
DL6ER
77468ac541 Fix logic 2017-03-26 22:19:41 +02:00
DL6ER
30b7b0d63a Show FTL version and update notification (if available) in footer 2017-03-26 13:42:29 +02:00
DL6ER
57e2039a39 Don't add glow property for percentage if not changed 2017-03-25 12:45:07 +01:00
DL6ER
8b91c8c12e Codacy and changed text 2017-03-24 17:21:15 +01:00
DL6ER
0043c229d5 Change logic 2017-03-24 16:21:30 +01:00
DL6ER
8d4864eb17 Add delay of 0.5 sec before trying to load all data 2017-03-24 16:01:58 +01:00
DL6ER
ebef61614d Handle FTL offline notification and instant refresh when it becomes available 2017-03-24 15:57:44 +01:00
DL6ER
17fb960a01 Update statistics every second 2017-03-24 15:35:16 +01:00
DL6ER
35dcb9b5ed Improve fallback handling of the dashboard for when FTL is not running 2017-03-24 15:30:03 +01:00
DL6ER
93698f0c00 Fix axis to [0,1] and use unsorted list of forward destinations for the labels 2017-03-13 15:32:15 +01:00
DL6ER
165a8da66f Empty plot data before updating 2017-03-13 13:38:01 +01:00
DL6ER
5d75ab0367 Fix labels 2017-03-13 13:12:21 +01:00
DL6ER
4b8ffd0f42 Yet another 2017-03-13 13:05:45 +01:00
DL6ER
6beeedc732 More codacy 2017-03-13 12:55:58 +01:00
DL6ER
3680da0388 codacy fixes 2017-03-13 12:45:06 +01:00
DL6ER
3e9b4692e4 Remove debug statements.... 2017-03-13 12:35:40 +01:00
DL6ER
46c451b3d1 New Forwarded over Time graph 2017-03-13 12:33:19 +01:00
DL6ER
aacc215394 Some simplifications + center 10min interval data in the middle instead of the beginning of the corresponding interval 2017-02-27 17:20:12 +01:00
DL6ER
9fec6bb7fb Necessary changes doe to commit 85a7818e7996b44b15d51af26ecf165e672d616b 2017-02-27 15:42:50 +01:00