mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
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>
|
||||||
<div class="form" data-base-target="layout">
|
<div class="form" data-base-target="layout">
|
||||||
<?php if ($requiresSetup): ?>
|
<?php if ($requiresSetup): ?>
|
||||||
<div class="config-note"><?= sprintf(
|
<p class="config-note"><?= sprintf(
|
||||||
$this->translate(
|
$this->translate(
|
||||||
'It appears that you did not configure Icinga Web 2 yet so it\'s not possible to log in without any defined '
|
'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'
|
. '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="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 href="' . $this->href('setup') . '" title="' . $this->translate('Icinga Web 2 Setup-Wizard') . '">',
|
||||||
'</a>'
|
'</a>'
|
||||||
); ?></div>
|
); ?></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h1><?= $this->translate('Welcome to Icinga Web 2'); ?></h1>
|
<h1><?= $this->translate('Welcome to Icinga Web 2'); ?></h1>
|
||||||
<?php
|
<?php
|
||||||
|
@ -113,18 +113,18 @@
|
|||||||
margin-left: 5em;
|
margin-left: 5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.config-note {
|
p.config-note {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
margin: 0 auto 2.5em;
|
margin: 0 auto 2.5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: @colorCritical;
|
background-color: @colorCritical;
|
||||||
}
|
|
||||||
|
|
||||||
div.config-note a {
|
a {
|
||||||
color: white;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user