From 92a5ec867a7a5b7f5747728e26419508e42358f8 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Mon, 22 Jun 2020 00:27:17 +0200 Subject: [PATCH] login form fixed --- core/Views/LoginBody.class.php | 51 ++++++++++--------- css/admin.css | 92 +--------------------------------- 2 files changed, 27 insertions(+), 116 deletions(-) diff --git a/core/Views/LoginBody.class.php b/core/Views/LoginBody.class.php index 364f6af..fb089f5 100644 --- a/core/Views/LoginBody.class.php +++ b/core/Views/LoginBody.class.php @@ -37,8 +37,6 @@ class LoginBody extends Body { $domain = $_SERVER['HTTP_HOST']; $protocol = getProtocol(); - $html .= ""; - $accountCreated = ""; if(isset($_GET["accountCreated"])) { $accountCreated = @@ -48,31 +46,34 @@ class LoginBody extends Body { } $html .= " -
-
-

Admin Control Panel

-
-
-
- - - - -
- - -
- -
- $flags -
-
- $iconBack $backToStartPage + +
+
+

Admin Control Panel

+
+
+
+
+ + + + +
+ + +
+ +
+ $flags +
+ + $accountCreated +
- $accountCreated
-
- "; + "; return $html; } diff --git a/css/admin.css b/css/admin.css index 6f7fb41..404b2cd 100644 --- a/css/admin.css +++ b/css/admin.css @@ -1,9 +1,3 @@ -.loginContainer { - border-radius: 5px; - width: 600px; - position: relative; -} - .loginForm { padding: 25px; border: 1px solid #bbb; @@ -26,88 +20,4 @@ padding: 0; margin-bottom: 0; vertical-align: bottom; -} - -.flags { - background-color: #999; - padding: 6px 3px 3px 3px; - border-radius: 4px; - bottom: -27px; - right: 5px; - z-index: -99; -} - -.main-header { - transition: all 0.3s; - margin-left: 75px; - border-bottom: 1px solid #dee2e6; - padding: 0.7rem; -} - -.navbar-badge { - font-size: .6rem; - font-weight: 300; - padding: 2px 4px; - position: absolute; - right: 3px; - top: 7px; -} - -.navbar-white { - background-color: #fff; -} - -.main-wrapper:not(.sidebar-collapsed) .main-header { - transition: all 0.3s; - margin-left: 250px; -} - -.main-sidebar { - background-color: #343a40; - width: 250px; - position: fixed; - top: 0; - left: 0; - height: 100vh; - z-index: 999; - color: #fff; - transition: all 0.3s; -} - -.main-sidebar.collapsed { - margin-left: 0; - width: 4.6rem; -} - -.hide-collapsed { - transition: all 0.2s linear; - opacity: 1; -} - -.main-sidebar.collapsed .hide-collapsed { - opacity: 0; - font-size: 0; - margin-left: 0; -} - -.main-content { - /* background-color: red; */ - height: 100%; -} - -.main-wrapper { - height: 100%; -} - -.dropdown-menu-lg { - max-width: 300px; - min-width: 280px; - padding: 0; -} - -.brand-link { - display: block; - font-size: 1.5rem; - line-height: 2; - padding: 1rem; -} +} \ No newline at end of file