Commit Graph

152 Commits

Author SHA1 Message Date
DL6ER 4e1f7c23a1 Merge branch 'devel' into update/dnsmasq-v2.86 2021-07-04 12:58:23 +02:00
DL6ER df9bf15e75 Query Log: Show if a query was already answered or was only sent to an upstream (and we're still awaiting the reply)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-06-26 11:00:49 +02:00
heis2201 9b4b9ddb52 Improve wording: Percentage blocked domains
Improve wording: "Percent blocked" --> "Percentage blocked"
2021-01-20 11:36:39 +01:00
Adam Warner c5c1863371 Merge pull request #1481 from dangrussell/patch-1
Update index.php
2020-11-08 14:21:22 +00:00
Tony 2495ffc313 Add cache busting variable to Pi-hole js/css
Signed-off-by: Tony <tjeffree@gmail.com>
2020-08-17 08:28:28 +01:00
Dan Russell 2b4bc53f83 Update index.php
require_once is not a function; changed syntax
2020-07-06 10:55:26 -04:00
XhmikosR 758bd21870 Merge pull request #1366 from pi-hole/css-cleanup
CSS cleanup
2020-05-30 08:31:34 +03:00
XhmikosR d92c4ef160 index.php: remove duplicate class attribute
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 09:11:59 +03:00
XhmikosR eab6485edb Move escapeHtml to utils.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:41:05 +03:00
XhmikosR a25cb8a838 Reduce CSS duplication a bit
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:39:50 +03:00
XhmikosR ea60eaf688 index.php: make query charts smaller on md
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-21 19:55:57 +03:00
Adam Warner b351f45cb2 Change the names of the info elements without changing the property names of the API
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-15 09:25:01 +01:00
DL6ER b23afb4516 Dark mode for Long-term Query Log and Lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:55 +02:00
DL6ER a08a85994e Initial (incomplete) support for themes. Currently, the default is the new Pi-hole dark theme.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:52 +02:00
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