mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Show a form based autosubmit warning when toggling instance features
refs #7935
This commit is contained in:
parent
747e51553e
commit
d9fdcf036b
@ -25,7 +25,10 @@ class ToggleInstanceFeaturesCommandForm extends CommandForm
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
$this->setUseFormAutosubmit();
|
||||||
|
$this->setTitle($this->translate('Feature Commands'));
|
||||||
$this->setAttrib('class', 'inline instance-features');
|
$this->setAttrib('class', 'inline instance-features');
|
||||||
|
$this->loadDefaultDecorators()->getDecorator('description')->setTag('h2');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16,10 +16,7 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
|
|||||||
<div class="boxview">
|
<div class="boxview">
|
||||||
|
|
||||||
<div class="box left">
|
<div class="box left">
|
||||||
<h2 tabindex="-1" id="process-feature-command">
|
<?= $this->toggleFeaturesForm; ?>
|
||||||
<?= $this->translate('Feature Commands') ?>
|
|
||||||
</h2>
|
|
||||||
<?= $this->toggleFeaturesForm ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box left">
|
<div class="box left">
|
||||||
|
@ -160,6 +160,16 @@ form.instance-features span.description, form.object-features span.description {
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.boxview div.box form.instance-features div.header {
|
||||||
|
border-bottom: 1px solid #d9d9d9;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
border: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
table.avp .customvar ul {
|
table.avp .customvar ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -230,7 +230,7 @@ form ul.descriptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
form > div.header {
|
form > div.header {
|
||||||
h1 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user