Commit Graph

17 Commits

Author SHA1 Message Date
Adam Warner f204b71707 [Staging] 3.1 (#514)
* Remove double click handler

* ~Today~ Over Last 24 Hours

* Rename Top Advertisers to Top Blocked Domains

* percentage should be a float instead of an integer

* Define $over_time as array. Fixes #501

* Add hover/hit radius for Forward Destinations over Time graph

* Add custom callback for tooltips and disable legend for Forward Destinations over Time graph

* Remove legend, add tooltips and increase hit/hover radius for Query Types over Time graph. Fixes #502

* Don't hide detailed graphs on small screens any longer

*  🌮 is the new :shipit: squirrel

* revise wording on main page

shorter text to fit in one line on smaller screens

* Show warning in browser when fopen() failed

* open links in new tab

* open links in new tab

* Update header.php

* select 'Login' in Navbar when showing loginpage

using the same term as it is already used to show up the loginpage (in line 565)

* set the mainbox wider on smaller screens

solves issue of overlapping text with loginbutton when using smaller screens

* also fix overlapping loginpage on footerbar

* remove border on logo

* add link feedback (on hover)

* sessiontimer in bold letters

* use AdminLTE function to toggle dropdown-menu

AdminLTE has already an implemented function to toggle the user menu.
So there is no need to use an own script in footer.js
 
Benefit: The dropdown-menu closes if you click on a blank Place

* align donate-url with url in footerbar

* remove function to open user menu

AdminLTE has already an implemented function to toggle the user menu.
So there is no need to use an own script in footer.js

Benefit: The dropdown-menu closes if you click on a blank Place

* Update LICENSE of the project to EUPL v1.2

* Major overhaul of update checker - checks only every 30 minutes to reduce number of GitHub API requests

* Add version info to dropdown menu (top right) for viewing on small screens. Addresses #333 partially

* Fix typo

* footer.php: improve and clean up

move animation-stylesheet to pi-hole.css (Have you noticed that there is even a text- and text-shadow animation set, but for webkit-browsers only)
added <!-- Version Infos -->
correct continuous hide of version info (AdminLTEs classed widths as `xs` > `sm` > `md` > `lg`)
display Donate-text alwas in one line (do not wrap in between when version info string gets very long)

* pi-hole.css: pasted animation stylesheet

and improved the text-shadow-animation to work correctly with and without -webkit-prefix
(for me this wasn't working until now)

* header.php: some corrections & improvements

pull dropdown-menu always to right side
changed <!-- Update alerts --> to <!-- Version Infos --> (just like it is in footer)
hide version infos in dropdown-menu if it gets shown in footer
repaired update-urls, they also should open up in new tab & gets underlined on hover
`background:none` is needed because AdminLTE adds dark bg on hover to links when using it on smallscreen (xs)

* Minor change to make the dashboard's javascript compatible with escaped characters (like apostrophe) in client names

* Add the same for the top domains

* ... and Top Ads

* Minor change to comments

* footer.php: edited as discussed

* header.php: edited as discussed

* Update queryads.js

* Update list.js

* queryads.js: codacy fixes

* list.js: codacy fixes

* list.js: small correction

* queryads.js: small correction

* Be able to interpret status 5

* Sort list entries (black-/whitelist) alphabetically before creating the table

* queryads.js: Update*

* removed double comment and updated code to center and separate the buttons on small screens, like in my last screenshot.

* list.js: update*

updated code to center and separate the buttons on small screens, like in my last screenshot.
2017-06-20 22:17:37 +01:00
DL6ER 29c6c07af6 Add Query Types over Time 2017-03-28 14:51:19 +02:00
DL6ER 3ff43542f9 Require auth for API command overTimeDataForwards 2017-03-24 23:49:49 +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 46c451b3d1 New Forwarded over Time graph 2017-03-13 12:33:19 +01:00
DL6ER fb8f0a081e Move API functions that are neither FTL nor PHP specific (enable, disable) to api.php 2017-03-01 14:05:38 +01:00
DL6ER 43b60829dc Copy disable coutdown timer and new (simplified) API token authentification from PHP API to FTL API 2017-02-28 14:49:43 +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 9471594bdf Move tailLog function into own file 2017-02-23 15:12:23 +01:00
DL6ER 874ec8c9db Implemented tailLog into FTL API 2017-02-23 15:03:53 +01:00
DL6ER a6a4c944b0 Several optimizations to the new FTL API 2017-02-23 14:20:26 +01:00
DL6ER bb9c669109 Adapt API versions 2017-02-23 13:17:45 +01:00
DL6ER e3d791abb6 Add type / version 2017-02-20 12:45:56 +01:00
DL6ER c3047f76c9 Add api.php?version 2017-02-20 11:33:24 +01:00
DL6ER dc61eb82d4 Show summary if no arguments are passed to API 2017-02-19 19:10:49 +01:00
DL6ER 8a0839f439 Small security update to the indicidual API files 2017-02-19 19:05:06 +01:00
DL6ER 1975c261d0 Moved FTL API into own file as well 2017-02-19 14:52:28 +01:00