Commit Graph

169 Commits

Author SHA1 Message Date
RD WebDesign ed5da96de1 Applying suggestions
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-08 14:51:44 -03:00
RD WebDesign 3e729c5bee Visual adjustments
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-08 14:51:44 -03:00
RD WebDesign d972a8c61b Add links to dashboard top boxes
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-08 14:51:44 -03:00
RD WebDesign 62297be1da Use custom legends for doughnut charts
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-10-05 21:19:02 +02:00
Christian König bbdc4c3d6b Fix doughnut tooltip and legend
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:02 +02:00
Christian König 999295b772 Fix overtime* charts
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-05 21:19:00 +02:00
Christian König 4e76c43969 Remove unused $auth
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-13 14:20:50 +02:00
RD WebDesign 509113296c Move login form to a new page
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-12 18:04:57 -03:00
DL6ER 97a76669a2 Explicitly set blank_line_before_statement to exclude include* and require*
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 20:55:02 +02:00
DL6ER 6ec4b8a529 Run PHP-CS-Fixer on all files
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 12:04:03 +02:00
RD WebDesign 2bc918ad6e Use 4 spaces to indent PHP files.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:18:26 -03:00
Christian König 6ab9ef0ef3 Source utils.js in header.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 11:11:11 +01:00
Christian König e256b76d8e Omit blocklist
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 13:26:42 +01:00
rdwebdesign 171bf81b11 Retreives maxlogage calling api_FTL.php
FTL defines MAXLOGAGE value.
PHP retrieves the value and converts seconds to hours
Javascript calls the API to update the value.

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-02-01 22:56:06 -03:00
rdwebdesign 7734c22949 Changing the comment
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-31 16:36:44 -03:00
rdwebdesign b50fada211 Limiting MAXLOGAGE interval to 24 (just like FTL)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-31 15:52:20 -03:00
Paul Mannarino ee2482a7ee Adding <thead> where missing
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-11-30 21:15:50 -05:00
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