diff --git a/application/views/scripts/authentication/login.phtml b/application/views/scripts/authentication/login.phtml index f05e51e43..f372b6657 100644 --- a/application/views/scripts/authentication/login.phtml +++ b/application/views/scripts/authentication/login.phtml @@ -6,7 +6,7 @@ </div> <div class="form" data-base-target="layout"> <?php if ($requiresSetup): ?> - <div class="config-note"><?= sprintf( + <p class="config-note"><?= sprintf( $this->translate( 'It appears that you did not configure Icinga Web 2 yet so it\'s not possible to log in without any defined ' . 'authentication method. Please define a authentication method by following the instructions in the' @@ -15,7 +15,7 @@ '<a href="http://docs.icinga.org/" title="' . $this->translate('Icinga Web 2 Documentation') . '">', // TODO: More exact documentation link.. '<a href="' . $this->href('setup') . '" title="' . $this->translate('Icinga Web 2 Setup-Wizard') . '">', '</a>' - ); ?></div> + ); ?></p> <?php endif ?> <h1><?= $this->translate('Welcome to Icinga Web 2'); ?></h1> <?php diff --git a/public/css/icinga/login.less b/public/css/icinga/login.less index 05649881f..a11d362d7 100644 --- a/public/css/icinga/login.less +++ b/public/css/icinga/login.less @@ -113,18 +113,18 @@ margin-left: 5em; } - div.config-note { + p.config-note { width: 50%; padding: 1em; margin: 0 auto 2.5em; text-align: center; color: white; background-color: @colorCritical; - } - div.config-note a { - color: white; - font-weight: bold; + a { + color: white; + font-weight: bold; + } } }