mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Adjust config view scripts to fix tab-style headers
This commit is contained in:
parent
2da7c643c7
commit
ae62b261ba
@ -3,9 +3,11 @@ use Icinga\Web\Url;
|
|||||||
$createLdapBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'ldap'));
|
$createLdapBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'ldap'));
|
||||||
$createDbBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'db'));
|
$createDbBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'db'));
|
||||||
?>
|
?>
|
||||||
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this); ?>
|
<?= $this->tabs->render($this); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
<?php if (isset($this->messageBox)): ?>
|
<?php if (isset($this->messageBox)): ?>
|
||||||
<?= $this->messageBox->render() ?>
|
<?= $this->messageBox->render() ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@ -40,4 +42,5 @@ $createDbBackend = $this->href('/config/createAuthenticationBackend', array('typ
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this); ?>
|
<?= $this->tabs->render($this); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
<?php if (isset($this->messageBox)): ?>
|
<?php if (isset($this->messageBox)): ?>
|
||||||
<?= $this->messageBox->render() ?>
|
<?= $this->messageBox->render() ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?= $this->form ?>
|
<?= $this->form ?>
|
||||||
|
</div>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this); ?>
|
<?= $this->tabs->render($this); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
<?php $errors = $this->form->getErrorMessages(); ?>
|
<?php $errors = $this->form->getErrorMessages(); ?>
|
||||||
|
|
||||||
<?php if (isset($this->messageBox)): ?>
|
<?php if (isset($this->messageBox)): ?>
|
||||||
@ -27,4 +30,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?= $this->form ?>
|
<?= $this->form ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@ -5,8 +5,11 @@ $this->modules->limit(10);
|
|||||||
$modules = $this->modules->paginate();
|
$modules = $this->modules->paginate();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this); ?>
|
<?= $this->tabs->render($this); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
<h3>Installed Modules</h3>
|
<h3>Installed Modules</h3>
|
||||||
|
|
||||||
<?php if (isset($this->messageBox)): ?>
|
<?php if (isset($this->messageBox)): ?>
|
||||||
@ -17,7 +20,7 @@ $modules = $this->modules->paginate();
|
|||||||
'preserve' => $this->preserve
|
'preserve' => $this->preserve
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
<table class="table">
|
<table class="action">
|
||||||
<tbody>
|
<tbody>
|
||||||
<? foreach ($modules as $module): ?>
|
<? foreach ($modules as $module): ?>
|
||||||
<?php
|
<?php
|
||||||
@ -40,3 +43,4 @@ $modules = $this->modules->paginate();
|
|||||||
<? endforeach ?>
|
<? endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
use Icinga\Web\Url;
|
use Icinga\Web\Url;
|
||||||
$createResource = $this->href('/config/createresource');
|
$createResource = $this->href('/config/createresource');
|
||||||
?>
|
?>
|
||||||
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this); ?>
|
<?= $this->tabs->render($this); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
<?php if (isset($this->messageBox)): ?>
|
<?php if (isset($this->messageBox)): ?>
|
||||||
<?= $this->messageBox->render() ?>
|
<?= $this->messageBox->render() ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@ -41,4 +44,6 @@ $createResource = $this->href('/config/createresource');
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user