Commit Graph

24 Commits

Author SHA1 Message Date
raincoats 1590a179fa Change 302 redirect to 301
Change "302 Found" response to "301 Moved Permanently", as "302 Found" is meant for temporary redirects.

Was asked to do so in this comment: https://github.com/pi-hole/pi-hole/pull/1297#issuecomment-284335421
2017-03-09 17:38:56 +11:00
raincoats eb763d2dc2 Redirect to admin panel when accessing 'http://pi.hole/'
If someone tries to access 'http://pi.hole/', it will take them to the "Website blocked" page. Very confusing if you don't know to go to 'http://pi.hole/admin/'. This just redirects them to the admin panel.
2017-03-05 16:58:21 +11:00
Mcat12 df7671d393 Add a few comments and remove debug output 2017-01-11 18:01:27 -05:00
DL6ER 11924d425b
Hide whitelist option if we detected that the domain as blocked due to wildcard blocking 2017-01-11 17:07:08 +01:00
DL6ER 6b3aea933d
Add info that whitelisting blocked pages does not work 2017-01-09 15:02:31 +01:00
Mcat12 7bcc15e416 Adjust blocking page paths from admin restructure 2016-12-30 15:36:53 -05:00
Mcat12 5e35fdbc52 Save blocking page CSS to pihole directory instead of admin 2016-12-30 14:42:15 -05:00
Mcat12 ab2c486f25 Fix password Enter handling
Also remove extranious form information, since JS handles that
2016-12-30 14:13:15 -05:00
Mcat12 7fd7430d38 Use pi.hole when getting js and css
If a user is able to get to this page, they must be using Pi-hole
2016-12-30 13:43:29 -05:00
Mcat12 089b98430f Fix formatting 2016-12-30 12:59:05 -05:00
DL6ER 09bbc81470 Add notice that the user might have to flush his DNS cache 2016-12-30 12:27:33 +00:00
DL6ER 09bfa2ef77 Add whitelisting on blocking page feature 2016-12-30 12:03:45 +00:00
DL6ER 3c4a9bba78 Minor change 2016-12-15 10:38:24 +01:00
DL6ER 505c9e8979 Minor change 2016-12-06 14:08:45 +01:00
DL6ER 75deb02961 Don't query pihole if page is hidden anyhow 2016-12-06 14:05:48 +01:00
DL6ER 480211033d Detect if blocking page is loaded within frame or iframe. If so, hide everything 2016-12-06 14:05:02 +01:00
DL6ER 40f18df90f Simplified CSS, removed external contents 2016-12-05 14:39:07 +01:00
DL6ER 0d63cfd6c3 Add 1x1 pixel GIF image. Can apparently be used to trick some of the please-don't-use-adblocker pages as many of them contain code like `if ($('Ad').height() == 0) { prevent access to this page; }` 2016-12-05 12:34:30 +01:00
DL6ER 3d6b22de6c Update index.php to include more detailed output 2016-12-05 12:12:01 +01:00
DL6ER fc233fcdd3 Fixed typo 2016-12-05 12:10:05 +01:00
DL6ER 0f90671241 Updated index.php to use CSS file unter admin/ 2016-12-05 10:51:41 +01:00
DL6ER e7241a989c Include CSS file 2016-12-04 22:20:51 +01:00
DL6ER 6e788668f9 Updated index.php 2016-12-04 22:17:33 +01:00
DL6ER b246dba7e7 Rename index.html to index.php 2016-12-04 21:41:26 +01:00