From 3472ad4da26bab514d69ca53664d355c2dbcaa73 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 24 Nov 2023 09:52:45 +0100 Subject: [PATCH] beautify login page --- public_html/deployment/pages/act_login.php | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/public_html/deployment/pages/act_login.php b/public_html/deployment/pages/act_login.php index 4bacd490..e321a742 100644 --- a/public_html/deployment/pages/act_login.php +++ b/public_html/deployment/pages/act_login.php @@ -118,11 +118,7 @@ if ($oUser->getUsername()) { 'value' => $aParams['user'], 'placeholder' => t('page-login-username'), 'autofocus' => 'autofocus', - 'inline' => '1', - ), - 'input' . $i++ => array( - 'type' => 'markup', - 'value' => '<div style="clear: both; "></div>' + // 'inline' => '1', ), 'input' . $i++ => array( 'type' => 'password', @@ -133,23 +129,15 @@ if ($oUser->getUsername()) { 'size' => 10, 'value' => $aParams['password'], 'placeholder' => t('page-login-password'), - 'inline' => '1', - ), - 'input' . $i++ => array( - 'type' => 'markup', - 'value' => '<div style="clear: both; margin-bottom: 3em;"></div>' - . '<div style="text-align: left; margin-left: 12em;">' + // 'inline' => '1', ), 'input' . $i++ => array( 'type' => 'submit', + 'label' => "", 'name' => 'btnsave', 'label' => t("login"), 'value' => $oHtml->getIcon('sign-ok') . t("login"), ), - 'input' . $i++ => array( - 'type' => 'markup', - 'value' => '</div>' - ), ), ) ); @@ -176,7 +164,7 @@ $renderAdminLTE->addRow( 'type'=>'', 'variant'=>'outline', 'text'=>$sOut, - ]), + ]),5 ) - .$renderAdminLTE->addCol('',3) + .$renderAdminLTE->addCol('',4) ); -- GitLab