From 0eadd8977d454b2e3f063217b24e2f1f3f35cc51 Mon Sep 17 00:00:00 2001 From: Willy Date: Sat, 11 Sep 2021 18:31:53 +0200 Subject: [PATCH] Temporary login solution --- login.php | 35 ++++++++++++++++++++++++++++++++++- logout.php | 14 ++++++++++++++ style/main.css | 26 ++++++++++++++++++++++++-- template/_header.php | 10 ++++++++++ 4 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 logout.php diff --git a/login.php b/login.php index f189fb3..0eb9b52 100644 --- a/login.php +++ b/login.php @@ -1,4 +1,18 @@

Logg inn

-

Her kan du logge inn

+'.$loginFormError.'

' + : '

Fyll ut legitimasjonen din for å logge inn.

'; +?> + +
+ + +
+ +
+ +
+ +
+
+ +
+ \ No newline at end of file diff --git a/style/main.css b/style/main.css index 1a389ae..3ee1145 100644 --- a/style/main.css +++ b/style/main.css @@ -31,9 +31,31 @@ h1, h2, h3, h4 { text-decoration: none; } +.login-statusbar { + border-top: 2px solid #fff; + background: rgb(0,149,46); + background: linear-gradient(0deg, rgba(0,149,46,1) 0%, rgba(0,162,67,1) 50%, rgba(0,186,89,1) 100%); +} + +.login-statusbar-inner { + max-width: 900px; + margin: 0 auto; + color: #fff; + font-weight: bold; + font-size: 12px; + padding-left: 12px; + padding-right: 12px; + padding-top: 4px; + padding-bottom: 4px; +} + +.login-statusbar-inner > a { + color: #fff; +} + .grid-container { display: grid; - grid-template-columns: minmax(150px, auto) auto; + grid-template-columns: max-content auto; grid-gap: 12px; max-width: 900px; @@ -54,7 +76,7 @@ nav { } nav > ul { - padding-right: 12px; + padding-right: 28px; } a { diff --git a/template/_header.php b/template/_header.php index 0018738..f629c0a 100644 --- a/template/_header.php +++ b/template/_header.php @@ -1,4 +1,5 @@ + +
+ +
+ +