parent
0d1d181d51
commit
63c73a8215
|
@ -12,24 +12,24 @@ $createDbBackend = $this->href('/config/createAuthenticationBackend', array('typ
|
|||
<?= $this->messageBox->render() ?>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading panel-title">
|
||||
<div>
|
||||
<div>
|
||||
Create Authentication Provider
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div>
|
||||
<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 class="panel panel-default">
|
||||
<div class="panel-heading panel-title">
|
||||
<div>
|
||||
<div>
|
||||
Backend <?= $this->escape($backend->name); ?>
|
||||
<br/>
|
||||
<?= $backend->reorderForm; ?>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div>
|
||||
<a href="<?= $this->href('config/editAuthenticationBackend', array('auth_backend' => $backend->name));?>">
|
||||
<i class="icinga-icon-edit"></i> Edit This Authentication Provider
|
||||
</a>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if ($this->form->getErrorMessages()): ?>
|
||||
<div class="alert alert-danger">
|
||||
<div>
|
||||
<?php foreach ($this->form->getErrorMessages() as $error): ?>
|
||||
<?= $this->escape($error); ?><br/>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if ($this->successMessage): ?>
|
||||
<div class="alert alert-success">
|
||||
<div>
|
||||
<i class="icinga-icon-success"></i>
|
||||
<strong><?= $this->escape($this->successMessage); ?></strong>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($errors)) : ?>
|
||||
<div class="alert alert-danger">
|
||||
<div>
|
||||
<h4>Errors occured when trying to save the project.</h4>
|
||||
<p>
|
||||
The following errors occured when trying to save the configuration:
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
?>
|
||||
<?= $this->tabs->render($this); ?>
|
||||
<br/>
|
||||
<div class="alert alert-error">
|
||||
<div>
|
||||
<h1>Could not <?= $action; ?> module "<?= $moduleName; ?>"</h1>
|
||||
<p>
|
||||
While operation the following error occurred:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<table class="table table-bordered" >
|
||||
<table >
|
||||
<thead>
|
||||
<tr style="text-align:left">
|
||||
<th width="70%">Module</th>
|
||||
|
|
|
@ -11,23 +11,23 @@ $createResource = $this->href('/config/createresource');
|
|||
<?= $this->messageBox->render() ?>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading panel-title">
|
||||
<div>
|
||||
<div>
|
||||
Create Resource
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div>
|
||||
<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 class="panel panel-default">
|
||||
<div>
|
||||
|
||||
<div class="panel-heading panel-title">
|
||||
<div>
|
||||
<b>Resource: </b> <?= $this->escape($name); ?>
|
||||
<br/>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div>
|
||||
|
||||
<a href="<?= $this->href('config/editresource', array('resource' => $name));?>">
|
||||
<i class="icinga-icon-edit"></i> Edit This Resource
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if ($this->form->getErrorMessages()): ?>
|
||||
<div class="alert alert-danger">
|
||||
<div>
|
||||
<?php foreach ($this->form->getErrorMessages() as $error): ?>
|
||||
<?= $this->escape($error); ?><br/>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
<br/>
|
||||
<div class="alert alert-error">
|
||||
<div>
|
||||
<h4><i>WARNING ICON</i>Saving "<?= $this->escape($this->file); ?>.ini" Failed</h4>
|
||||
<br/>
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue