From 9c7dc19d80dfbf85ffc7cc889c000f45637f7743 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 8 Dec 2016 16:39:44 +0100 Subject: [PATCH 001/128] Add custom login page --- header.php | 10 ++-------- php/loginpage.php | 19 +++++++++++++++++++ php/password.php | 6 ++++++ 3 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 php/loginpage.php diff --git a/header.php b/header.php index 6d92a4ad..0979d004 100644 --- a/header.php +++ b/header.php @@ -341,14 +341,8 @@ // // If auth is required and not set, i.e. no successfully logged in, // we show the reduced version of the summary (index) page - if(!$auth && (!isset($indexpage) || isset($_GET['login']))){ ?> - -
- Password:   -
- +
+
+ + +
+
+ +
+ + + + +
+
+
+
+
+ diff --git a/php/password.php b/php/password.php index 549771cd..1c1ce4c0 100644 --- a/php/password.php +++ b/php/password.php @@ -20,6 +20,8 @@ session_unset(); } + $wrongpassword = false; + // Test if password is set if(strlen($pwhash) > 0) { @@ -32,6 +34,10 @@ $_SESSION["hash"] = $pwhash; $auth = true; } + else + { + $wrongpassword = true; + } } // Compare auth hash with saved hash else if (isset($_SESSION["hash"])) From 0d7252e3f67c2658791f557338bbb4cf1f6ffc50 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 8 Dec 2016 16:44:12 +0100 Subject: [PATCH 002/128] Add lock.svg --- img/lock.svg | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 img/lock.svg diff --git a/img/lock.svg b/img/lock.svg new file mode 100644 index 00000000..1c6946e6 --- /dev/null +++ b/img/lock.svg @@ -0,0 +1,53 @@ + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon image/svg+xml From 2b5e3f4da91e60301603002c52eeeab63d7f52bb Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 9 Dec 2016 13:18:29 +0100 Subject: [PATCH 003/128] First draft of animated logo using pure SVG + CSS --- php/loginpage.php | 56 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/php/loginpage.php b/php/loginpage.php index af0d5973..bb61ca5c 100644 --- a/php/loginpage.php +++ b/php/loginpage.php @@ -1,8 +1,35 @@ +
+
+
+ + + + + + + + + + + + + + + + + + +
+
+
-
- -
@@ -17,3 +44,26 @@
+ + + + From eb3085110f9f1c07d5b0400d854bca8bda263b83 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 9 Dec 2016 13:58:07 +0100 Subject: [PATCH 004/128] Moving path draft --- php/loginpage.php | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/php/loginpage.php b/php/loginpage.php index bb61ca5c..076655f3 100644 --- a/php/loginpage.php +++ b/php/loginpage.php @@ -1,7 +1,7 @@
- + + - + @@ -22,9 +23,17 @@ - - - + + + + Protected page +
@@ -47,22 +56,19 @@ From c2686e6c4c3e20889e285ee3febb0e9cd017f95e Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 9 Dec 2016 14:10:48 +0100 Subject: [PATCH 005/128] Slightly blurred text and path --- php/loginpage.php | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/php/loginpage.php b/php/loginpage.php index 076655f3..fa00494c 100644 --- a/php/loginpage.php +++ b/php/loginpage.php @@ -1,28 +1,38 @@
-
+
- + - + - + + + + - + + + Protected area + + - - Protected page
-
+
From 847c58a4c79b0834550a12959b5349e06640f19e Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 9 Dec 2016 14:13:06 +0100 Subject: [PATCH 006/128] changed the placeholder from "Enter password to continue" to "Enter password to unlock" --- php/loginpage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/loginpage.php b/php/loginpage.php index fa00494c..980843f9 100644 --- a/php/loginpage.php +++ b/php/loginpage.php @@ -51,7 +51,7 @@
- + From b987b79b17ccbf73d8ebff5d2356e33775103b13 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 9 Dec 2016 16:45:21 +0100 Subject: [PATCH 007/128] Add maximum width of 400px --- php/loginpage.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/php/loginpage.php b/php/loginpage.php index 980843f9..b6696597 100644 --- a/php/loginpage.php +++ b/php/loginpage.php @@ -1,7 +1,7 @@
- + - - - - - - - - - - - - - - - - - - Protected area - - - - -
-
+
+
+
+
+
Pi-hole
+
-
-
+