login: Wrap the config warning in paragraph tags instead of div
This commit is contained in:
parent
d99d147901
commit
4a245ed8e0
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue