Revert "Remove bootstrap classes"
This reverts commit 023bc33c42153486251b4b1d77045bcf72197905.
This commit is contained in:
parent
ecd6a27e03
commit
7062c5ab2d
|
@ -3,33 +3,33 @@ use Icinga\Web\Url;
|
|||
$createLdapBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'ldap'));
|
||||
$createDbBackend = $this->href('/config/createAuthenticationBackend', array('type' => 'db'));
|
||||
?>
|
||||
<div>
|
||||
<div class="controls">
|
||||
<?= $this->tabs->render($this); ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="content">
|
||||
<?php if (isset($this->messageBox)): ?>
|
||||
<?= $this->messageBox->render() ?>
|
||||
<?php endif ?>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading panel-title">
|
||||
Create Authentication Provider
|
||||
</div>
|
||||
<div>
|
||||
<div class="panel-body">
|
||||
<a href="<?= $createLdapBackend ?>"><i class="icinga-icon-create"></i> Create A New LDAP Authentication Backend</a><br/>
|
||||
<a href="<?= $createDbBackend ?>"><i class="icinga-icon-create"></i> Create A New DB Authentication Backend</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php foreach ($this->backends as $backend): ?>
|
||||
<div>
|
||||
<div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading panel-title">
|
||||
Backend <?= $this->escape($backend->name); ?>
|
||||
<br/>
|
||||
<?= $backend->reorderForm; ?>
|
||||
</div>
|
||||
<div>
|
||||
<div class="panel-body">
|
||||
<a href="<?= $this->href('config/editAuthenticationBackend', array('auth_backend' => $backend->name));?>">
|
||||
<i class="icinga-icon-edit"></i> Edit This Authentication Provider
|
||||
</a>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<div>
|
||||
<div class="controls">
|
||||
<?= $this->tabs->render($this); ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="content">
|
||||
<?php if (isset($this->messageBox)): ?>
|
||||
<?= $this->messageBox->render() ?>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<div>
|
||||
<div class="controls">
|
||||
<?= $this->tabs->render($this); ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="content">
|
||||
<?php $errors = $this->form->getErrorMessages(); ?>
|
||||
|
||||
<?php if (isset($this->messageBox)): ?>
|
||||
|
|
|
@ -5,11 +5,11 @@ $this->modules->limit(10);
|
|||
$modules = $this->modules->paginate();
|
||||
|
||||
?>
|
||||
<div>
|
||||
<div class="controls">
|
||||
<?= $this->tabs->render($this); ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="content">
|
||||
<h3>Installed Modules</h3>
|
||||
|
||||
<?php if (isset($this->messageBox)): ?>
|
||||
|
@ -20,7 +20,7 @@ $modules = $this->modules->paginate();
|
|||
'preserve' => $this->preserve
|
||||
));
|
||||
?>
|
||||
<table>
|
||||
<table class="action">
|
||||
<tbody>
|
||||
<? foreach ($modules as $module): ?>
|
||||
<?php
|
||||
|
|
|
@ -2,32 +2,32 @@
|
|||
use Icinga\Web\Url;
|
||||
$createResource = $this->href('/config/createresource');
|
||||
?>
|
||||
<div>
|
||||
<div class="controls">
|
||||
<?= $this->tabs->render($this); ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="content">
|
||||
<?php if (isset($this->messageBox)): ?>
|
||||
<?= $this->messageBox->render() ?>
|
||||
<?php endif ?>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading panel-title">
|
||||
Create Resource
|
||||
</div>
|
||||
<div>
|
||||
<div class="panel-body">
|
||||
<a href="<?= $createResource ?>"><i class="icinga-icon-create"></i> Create A New Resource</a><br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php foreach ($this->resources as $name => $resource): ?>
|
||||
<div>
|
||||
<div class="panel panel-default">
|
||||
|
||||
<div>
|
||||
<div class="panel-heading panel-title">
|
||||
<b>Resource: </b> <?= $this->escape($name); ?>
|
||||
<br/>
|
||||
</div>
|
||||
<div>
|
||||
<div class="panel-body">
|
||||
|
||||
<a href="<?= $this->href('config/editresource', array('resource' => $name));?>">
|
||||
<i class="icinga-icon-edit"></i> Edit This Resource
|
||||
|
|
Loading…
Reference in New Issue