Commit Graph

138 Commits

Author SHA1 Message Date
DL6ER aca6461468 Change over-time graphs from line to stacked bar representation. This is much more natural for this kind of data. Also, improve DB graphs to always generate a meaningful display (always generate about 200 bars). This graph was basically unusable when specifying a larger range than, say, one week.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-12-18 13:22:33 +00:00
XhmikosR ee8cbe03fb Use .pull-left instead of the custom .float-left
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-09 16:51:40 +02:00
Pascal Pischel 9bf9507802 Update index.php
Changed Chart Icon and List Icon to ones that are similar in react web interface.
2019-10-23 22:49:30 +02:00
Pazekal90 70d859af80 Deleted Ionicons as dependency. Changed existing usage to fontawesome to get better performance in browser.
Signed-off-by: Pazekal90 <mail@pascal-pischel.de>
2019-10-03 20:24:54 +02:00
DL6ER 2cf0340704 Remove dead code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-08-27 16:56:22 +02:00
Mcat12 db68782f62 Replace fa-refresh with fa-sync
Font Awesome 5 replaced the refresh icon from 4 with fa-sync:
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes

Fixes #941

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-19 14:16:55 -07:00
Mcat12 3b635e0245 Move script tags inside html tag
Fixes #863

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-11-10 13:51:14 -05:00
Mark Drobnak a072c5325b Merge pull request #859 from KrunchMuffin/patch-1
Update dashboard for better fit of small boxes
2018-10-31 21:46:18 -04:00
Derek 8ac61c4d7f Update dashboard for better fit of small boxes
On the raspberrypi official touchscreen (and other screens that fit "small" and "medium"), the small boxes take up the 12 columns which forces to scroll and is generally ineffective as a quick glance dashboard. I have updated to col-sm-6 so there are 2 boxes on 2 rows so now you can see all those stats plus the queries last 24 without having to scroll. the col-xs-12 is not necessary as it will default to that.

Signed-off-by: Derek Bowes <db@bowesmail.com>
2018-10-31 12:10:53 -04:00
DL6ER 56251d1808 Forward destinations -> Upstreams
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-09-24 12:55:55 +02:00
Rob Gill 50f842cb9a Constrain pie chart tooltips
Signed-Off-By: Rob Gill <rrobgill@protonmail.com>
2018-08-10 10:00:47 +10:00
DL6ER 73265605c2 Acknowledge possible custom time interval set by MAXLOGAGE in pihole-FTL.conf
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-08 10:35:31 +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
Adam Warner e28e9eabe3 Force Top Clients and Top Clients Blocked onto a new row
Signed-off-by: Adam Warner <adamw@rner.email>
2018-05-13 12:38:04 +01:00
DL6ER 73df3bddb6 Add "Top Clients (blocked only)" table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-05-10 15:11:22 +02:00
Mark Drobnak d2a20b1f0c Merge pull request #735 from walter-exit/devel
Gravity: date last changed (Web & API)
2018-05-02 14:28:20 -04:00
Mark Drobnak 6f3eeb6406 Remove (integrated) from doughnut charts
Signed-off-by: Mark Drobnak <newtoncat12@yahoo.com>
2018-04-29 11:35:57 -04: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
Walter 2c2a091b03 Changes concerning the date the gravity list was last changed. Used in the webinterface dashboard as a tooltip, and now also available in the API (both PHP and FTL). Function was moved to new file /scripts/pi-hole/php/gravity.php to keep things neat and to avoid duplicate code. 2018-04-23 20:32:38 +02:00
Adam Warner b09de8e615 Fix merge conflict
Signed-off-by: Adam Warner <adamw@rner.email>
2018-04-14 00:43:27 +01: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 f6b2887b90 Slight improvement to CSS
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-03-20 19:29:11 +01:00
DL6ER 5e7caa0f0b Move style definition into correct file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-03-20 15:22:16 +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
DL6ER 86c9b6cb57 Clarify what the left table shows
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-11 17:52:48 +01:00
DL6ER 24d4b63a55 Update Chart.js
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-31 15:49:16 +01:00
DL6ER a90222d856 Show "Query Types (over time)" and "Forward Destinations (over time)" only if requested by a setting in setupVars.conf
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-14 15:06:44 +02:00
WaLLy3K 1ba190bfa2 Merge branch 'devel' into new/clientsovertime 2017-09-30 13:29:36 +10:00
DL6ER a46f720973 Use absolute instead of relative display 2017-09-23 13:03:55 +02:00
DL6ER 84db04e51e Show time since last update of gravity.list when hovering the "Domains on Blocklist" on the dashboard
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-23 12:50:21 +02:00
DL6ER 076700fc92 Add "Clients (over time)" graph (needs FTL on branch "new/clientsovertime") 2017-09-22 21:11:57 +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
Mcat12 a72285745c Rearrange summary stats to fit better 2017-06-20 18:35:24 -04:00
DL6ER a604037d33 Add unique clients to summary 2017-06-20 13:01:30 +02:00
TheME 46c6f012c5 revise wording on main page
shorter text to fit in one line on smaller screens
2017-05-15 17:54:11 +02:00
DL6ER 62f2f1939b Don't hide detailed graphs on small screens any longer 2017-05-13 17:44:06 +02:00
Mcat12 9cf967eb0b Rename Top Advertisers to Top Blocked Domains 2017-05-09 17:35:46 -04:00
Adam Warner 2db905a9da ~Today~ Over Last 24 Hours 2017-05-05 22:50:03 +01:00
WaLLy3K 8e26274a3e Change wording for "Queries over Time"
As suggested per https://redd.it/68ziwx
2017-05-03 20:54:00 +10:00
DL6ER afab77de06 Make the two over Time graphs in the second row full width on medium size screens 2017-04-21 15:55:46 +02:00
DL6ER bc3ff69b3f Hide "Query Types over Time" and "Forward Destinations over Time" graphs on too small screens 2017-04-21 15:48:47 +02:00
DL6ER 7e68fdecff Make sure license comment is only outputted after header.php has prepared all the stuff that need to be done beforehand. Fixes #450 2017-04-03 10:17:05 +02:00
DL6ER 29c6c07af6 Add Query Types over Time 2017-03-28 14:51:19 +02:00
DL6ER 46c451b3d1 New Forwarded over Time graph 2017-03-13 12:33:19 +01:00
DL6ER aabff35bef Squashed commit of the following:
- Dynamically fall back to PHP API functions to ensure API does always repond even if FTL is not runnung for some reason
- Update PHP API from current devel branch
- Increase flexibility in getQueryTypes API call
- Hide top ads list if nothing to display
- Proper display of activated privacy mode
- Remove spinner (would otherwise not be removed for zero results)
- Update tables every 10 seconds
- Update query types and forward destinations plots every 10 seconds
- More verbose output in top lists (total number next to percentage in tooltip)
- Implemented "recentBlocked" keyword for API
- Ensure compatibility with PHP5 version < 5.4
- Adjust output format of overTimeData10mins to comply with PHP API
- Further speedup of Query Log page by showing only the recent 10 minutes by default
- Hide temperature if FTL is not running and show FTL status
- Add information to Settings page
- Adjust error message when loading of query log failed
- Move processing of domainname, clientIP, clientname and time interval filters for the Query Log page to FTL for speed enhancement
- Generate link if pi.hole comes up in the Top Domains list
- Remove resolve DNS names option - this is now enabled by default (daemon will only do it once per day instead of PHP-API which did it on every reloading of the web interface)
- Add socket timeout of 10 seconds + modification to Settings page since FTL backend supports API_EXCLUDE_CLIENTS filtering with both IP addresses and host names (also mixed)
- Improved Query Log page
2017-02-16 08:52:30 +01:00
DL6ER 9b799819bf Added header to main PHP files 2017-02-14 14:57:58 +01:00
Promofaux 8240e2d23b merge devel 2016-12-29 19:59:09 +00:00
DL6ER 8e607916fe Fix small screen behavior 2016-12-22 22:26:14 +01:00
DL6ER e5a9826078 Moved more private files out of the root directory 2016-12-21 21:10:21 +01:00
Mcat12 2f65430a4d Move PHP scripts to scripts folder 2016-12-21 21:09:58 +01:00