From 74c75ddbb0894203310d1f38bd6d600957fb02bc Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Wed, 22 Apr 2020 06:06:27 +0000 Subject: [PATCH] Update loginuserpass.php, moved error message beneath header graphic --- .../themes/fancytheme/core/loginuserpass.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/mymodule/themes/fancytheme/core/loginuserpass.php b/mymodule/themes/fancytheme/core/loginuserpass.php index 6b02f5e..428329d 100644 --- a/mymodule/themes/fancytheme/core/loginuserpass.php +++ b/mymodule/themes/fancytheme/core/loginuserpass.php @@ -7,7 +7,16 @@ if (strlen($this->data['username']) > 0) { $this->data['autofocus'] = 'username'; } $this->includeAtTemplateBase('includes/header.php'); +?> + <div> + <div class="container"> + <div class="row"> + <div class="col-md-12" style="margin-bottom: 40px;"><img class="mx-auto" src="/img/Anmelden.png" width="100%"></div> + </div> + </div> + +<?php if ($this->data['errorcode'] !== null) { ?> <div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5"> @@ -40,13 +49,7 @@ if ($this->data['errorcode'] !== null) { <?php } ?> - <div> - <div class="container"> - <div class="row"> - <div class="col-md-12" style="margin-bottom: 40px;"><img class="mx-auto" src="/img/Anmelden.png" width="100%"></div> - </div> - </div> - + <div class="login-clean" style="background-color: rgb(234,234,234);"> <form method="post"> <h2 class="sr-only">Login Form</h2> -- GitLab