LoginView: Redesign login form

This commit is contained in:
Florian Strohmaier 2017-11-14 17:26:16 +01:00 committed by Eric Lippmann
parent 567864221d
commit 4a17dd2aa5

View File

@ -1,5 +1,7 @@
<div id="login" class="centered-ghost"> <div id="login">
<div class="centered-content" data-base-target="layout"> <div class="login-wrapper">
<div class="login-form centered-ghost" data-base-target="layout">
<div class="login-form-content centered-content">
<div role="status" class="sr-only"> <div role="status" class="sr-only">
<?= $this->translate( <?= $this->translate(
'Welcome to Icinga Web 2. For users of the screen reader Jaws full and expectant compliant' 'Welcome to Icinga Web 2. For users of the screen reader Jaws full and expectant compliant'
@ -7,7 +9,7 @@
. ' Chrome, Safari and Firefox.' . ' Chrome, Safari and Firefox.'
) ?> ) ?>
</div> </div>
<div id="icinga-logo" aria-hidden="true"></div> <div id="icinga-logo" class="invert" aria-hidden="true"></div>
<?php if ($requiresSetup): ?> <?php if ($requiresSetup): ?>
<p class="config-note"><?= sprintf( <p class="config-note"><?= sprintf(
$this->translate( $this->translate(
@ -23,7 +25,12 @@
<?= $this->form ?> <?= $this->form ?>
<div id="login-footer"> <div id="login-footer">
<p>Icinga Web 2 &copy; 2013-<?= date('Y') ?></p> <p>Icinga Web 2 &copy; 2013-<?= date('Y') ?></p>
<?= $this->qlink($this->translate('The Icinga Project'), 'https://www.icinga.com') ?> <?= $this->qlink($this->translate('icinga.com'), 'https://www.icinga.com') ?>
</div>
</div>
</div>
<ul id="social">
<li>
<?= $this->qlink( <?= $this->qlink(
null, null,
'http://www.twitter.com/icinga', 'http://www.twitter.com/icinga',
@ -34,6 +41,8 @@
'title' => $this->translate('Icinga on Twitter') 'title' => $this->translate('Icinga on Twitter')
) )
) ?> ) ?>
</li>
<li>
<?= $this->qlink( <?= $this->qlink(
null, null,
'http://www.facebook.com/icinga', 'http://www.facebook.com/icinga',
@ -43,16 +52,19 @@
'icon' => 'facebook-squared', 'icon' => 'facebook-squared',
'title' => $this->translate('Icinga on Facebook') 'title' => $this->translate('Icinga on Facebook')
) )
) ?> <?= $this->qlink( ) ?>
</li>
<li><?= $this->qlink(
null, null,
'https://plus.google.com/+icinga', 'https://github.com/Icinga',
null, null,
array( array(
'target' => '_blank', 'target' => '_blank',
'icon' => 'gplus-squared', 'icon' => 'github-circled',
'title' => $this->translate('Icinga on Google+') 'title' => $this->translate('Icinga on GitHub')
) )
) ?> ) ?>
</div> </li>
</ul>
</div> </div>
</div> </div>