[icinga-checkins] icinga.org: icingaweb2/master: Changes login screen and added header

git at icinga.org git at icinga.org
Wed Nov 19 13:44:01 CET 2014


Module: icingaweb2
Branch: master
Commit: fd5fe26a1f690c0dfe681e2b2867803c6669487d
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=fd5fe26a1f690c0dfe681e2b2867803c6669487d

Author: Bernd Erk <bernd.erk at icinga.org>
Date:   Wed Nov 19 13:42:59 2014 +0100

Changes login screen and added header

---

 application/views/scripts/authentication/login.phtml |    1 +
 public/css/icinga/login.less                         |   14 +++++++-------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/application/views/scripts/authentication/login.phtml b/application/views/scripts/authentication/login.phtml
index e931d04..584d8ad 100644
--- a/application/views/scripts/authentication/login.phtml
+++ b/application/views/scripts/authentication/login.phtml
@@ -5,6 +5,7 @@
    </div>
   </div>
   <div class="form" data-base-target="layout">
+    <h1>Welcome to Icinga Web 2</h1>
    <?php
    /* TODO: remove this as soon as notifications and forms are ready */
    if (isset($this->errorInfo)): ?>
diff --git a/public/css/icinga/login.less b/public/css/icinga/login.less
index 1c31483..cfae3c4 100644
--- a/public/css/icinga/login.less
+++ b/public/css/icinga/login.less
@@ -39,18 +39,17 @@
   .form {
     position: absolute;
     font-size: 0.9em;
-    top: 50%;
+    top: 45%;
     left: 0;
     bottom: 0;
     right: 0;
   }
 
   .form h1 {
-    text-align: left;
+    text-align: center;
     font-size: 1.5em;
-    margin-left: auto;
-    margin-right: auto;
-    width: 12em;
+    margin-left: 2.3em;
+    border: none;
     color: @colorTextDefault;
   }
 
@@ -108,9 +107,10 @@
   }
 
   .footer {
-    margin-top: 2em;
+    margin-top: 7em;
     font-size: 0.9em;
-    text-align: center;
+    text-align: center; 
+    margin-left: 5em;
   }
 
   div.config-note {



More information about the icinga-checkins mailing list