Commit Graph

97 Commits

Author SHA1 Message Date
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
Promofaux
d0553ef169 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-21 21:09:45 +01:00
DL6ER
e188cb6fbc Revert "Merge pull request #267 from pi-hole/folderStructure"
This reverts commit fba3d10fa4, reversing
changes made to 4ee75f4167.
2016-12-21 17:16:52 +01:00
DL6ER
bb2c2e2244 Moved more private files out of the root directory 2016-12-20 12:52:19 +01:00
Mcat12
d1da1de597 Move PHP scripts to scripts folder 2016-12-19 19:44:51 -05:00
Promofaux
6a13796d99 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-19 18:30:16 +00:00
DL6ER
e5e2059318 More adaptive layout options for main page. Prevents crushing the tables too much on devices with narrow screen in the range of 1200px width 2016-12-14 15:31:57 +01:00
DL6ER
f0adb164d4 Merge branch 'devel' into auth
Conflicts:
	api.php
	js/pihole/index.js
2016-11-21 10:57:19 +01:00
Mcat12
3d85a5c921 Everything else was captialized 2016-11-20 17:46:00 -05:00
DL6ER
94656b38e1 Remove normalization to "per hour" units. Now the data is displayed as "per 10 minutes" 2016-11-19 22:16:50 +01:00
DL6ER
77e072493e Added comments in index.php 2016-11-19 13:04:51 +01:00
DL6ER
8ecd218908 Many changes that are documented in PR #197 2016-11-18 21:31:30 +01:00
Adam Warner
2824589b33 Update index.php
Change wording of info boxes
2016-11-17 23:10:09 +00:00
DL6ER
383ea1f365 Added requested improvements/changes. 2016-11-08 09:09:30 +01:00
DL6ER
a6de221647 It wasn't clear what is the units of the shown data (queries/hour). Now it is obvious. 2016-11-07 08:16:59 +01:00
DL6ER
e928541993 Made the Queries over time graph larger by about 1.6x 2016-11-07 08:16:05 +01:00
DL6ER
110d54bd41 Added pointHitRadius and beginAtZero 2016-11-06 22:41:08 +01:00
DL6ER
cd02546416 Changed the look slightly to look closer to the "old" style (v 1.0.1) 2016-11-06 18:44:39 +01:00
DL6ER
b8175effe9 Updated script to work with updated version of Chart.js. They redesigned the whole interface and a complete rewrite was necessary. 2016-11-06 18:43:52 +01:00
Ivan Tsenov
8cc9c613b1 Make "Top Dom/Advert/Clients" tables 'responsive'
This makes these 3 tables scroll horizontally if content is wide, but screen is narrow.
2016-07-21 14:13:56 +03:00
viemmsakh
4f45f81dbf Update to require header.php instead of header.html 2016-06-20 10:57:59 -04:00
Mcat12
d438401a1e Fix Javascript disabled warning 2016-05-27 09:38:20 -04:00
Mcat12
d7391dc860 Move main JS into separate files 2016-05-08 13:44:18 -04:00
Promofaux
ab93f9e4b6 Remove Radar chart for top clients. Add table similar to top ads and top domains 2016-04-16 14:23:59 +01:00
Promofaux
d3780def4e Change TopClients to Doughnut chart instead of Radar chart, due to bug I cannot for the life of me work out (missing one client's value) 2016-04-16 01:56:03 +01:00
Promofaux
8bb172aae6 Simple turn off animations for now. Toggling to come later. 2016-04-15 21:17:18 +01:00
Promofaux
9b8c92ed5d Fix query type display on pi-chart as raised in #54 2016-03-08 15:51:58 +00:00
Mcat12
bc04b1c994 Made tooltip correct color on graph 2016-02-29 20:41:16 -05:00
Mcat12
53f1f7c9c8 Made colors match 2016-02-29 20:34:44 -05:00
Verpz
2e36517240 Use Local CSS Instead Of CDN 2016-02-28 14:44:08 +11:00
Verpz
55cc148e8e CSS Fix 2016-02-28 11:31:11 +11:00
Verpz
01ce4bc6ad Add Javascript Disabled Warning / Popup
This displays a small lightweight popup when a user has Javascript disabled when they load the dashboard. 

This was tested on my local Pi Hole and worked perfectly.

https://github.com/pi-hole/AdminLTE/issues/47

https://github.com/Verpz/Javascript-Disabled-Warning-Popup
2016-02-28 09:19:37 +11:00
Mcat12
9bab0c5036 Merge branch 'master' into devel
Conflicts:
	header.html
	index.php
	js/jquery.min.js
2016-02-21 16:19:51 -05:00
Mcat12
82e7108afe Loads from local files 2016-02-20 18:13:21 -05:00
Mcat12
b72e78a933 Do not animate on mobile
Animations are slow on mobile devices.
2016-02-17 22:33:32 -05:00
Brice Johnson
43be39ffd5 Merge branch 'devel' of https://github.com/pi-hole/AdminLTE into advancedstats
Conflicts:
	footer.php
2016-02-13 12:17:45 -06:00
Brice Johnson
0d1e4a33c2 Removed recent queries from main page 2016-02-13 12:13:48 -06:00
Brice Johnson
01276cbe4d Removed legends from charts 2016-02-11 23:52:30 -06:00
Brice Johnson
4fa6b3dc6b Added radar graph for top clients 2016-02-11 23:41:31 -06:00
Brice Johnson
e5b73c31cf Added some legends 2016-02-10 23:55:06 -06:00
Brice Johnson
0544cfb398 Added forwarding destination chart 2016-02-10 23:40:20 -06:00
Brice Johnson
5d68c72477 Added query types graph 2016-02-10 23:18:11 -06:00