mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
css/module: render disabled object preview as such
This commit is contained in:
parent
1527873755
commit
990b7934f2
@ -4,7 +4,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<pre><?= $this->escape($object) ?><?php if ($this->extraObjects): ?>
|
<?php if ($object->disabled === 'y'): ?>
|
||||||
|
<p class="error"><?= $this->translate('This object will not be deployed as it has been disabled') ?></p>
|
||||||
|
<?php endif ?>
|
||||||
|
<pre<?php if ($object->disabled === 'y'): ?> class="disabled"<?php endif ?>><?= $this->escape($object) ?><?php if ($this->extraObjects): ?>
|
||||||
<?= implode('', $this->extraObjects) ?>
|
<?= implode('', $this->extraObjects) ?>
|
||||||
<?php endif ?></pre>
|
<?php endif ?></pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,6 +17,10 @@ span.disabled {
|
|||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre.disabled {
|
||||||
|
color: @gray-light;
|
||||||
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user