2015-02-02 10:34:29 -05:00
|
|
|
<div class="controls">
|
2015-09-30 06:49:46 -04:00
|
|
|
<?= $tabs ?>
|
2013-08-20 09:45:04 -04:00
|
|
|
</div>
|
|
|
|
|
|
2014-03-11 12:13:42 -04:00
|
|
|
<div class="content" data-base-target="_next">
|
2015-09-30 06:49:46 -04:00
|
|
|
<div>
|
|
|
|
|
<h2><?= $this->translate('Monitoring Backends') ?></h2>
|
|
|
|
|
<?= $this->qlink(
|
2015-10-01 04:03:29 -04:00
|
|
|
$this->translate('Create a New Monitoring Backend') ,
|
2015-09-30 06:49:46 -04:00
|
|
|
'monitoring/config/createbackend',
|
|
|
|
|
null,
|
|
|
|
|
array(
|
2015-11-12 09:50:10 -05:00
|
|
|
'class' => 'button-link',
|
2015-09-30 06:49:46 -04:00
|
|
|
'icon' => 'plus',
|
|
|
|
|
'title' => $this->translate('Create a new monitoring backend')
|
|
|
|
|
)
|
|
|
|
|
) ?>
|
2015-11-04 09:39:35 -05:00
|
|
|
<table class="table-row-selectable common-table">
|
2015-09-30 06:49:46 -04:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th><?= $this->translate('Monitoring Backend') ?></th>
|
|
|
|
|
<th></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<?php foreach ($this->backendsConfig as $backendName => $config): ?>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<?= $this->qlink(
|
|
|
|
|
$backendName,
|
|
|
|
|
'monitoring/config/editbackend',
|
|
|
|
|
array('backend-name' => $backendName),
|
|
|
|
|
array(
|
|
|
|
|
'icon' => 'edit',
|
|
|
|
|
'title' => sprintf($this->translate('Edit monitoring backend %s'), $backendName)
|
|
|
|
|
)
|
|
|
|
|
) ?>
|
2015-11-03 06:19:52 -05:00
|
|
|
<span class="config-label-meta">(<?= sprintf(
|
2015-09-30 06:49:46 -04:00
|
|
|
$this->translate('Type: %s'),
|
|
|
|
|
$this->escape($config->type === 'ido' ? 'IDO' : ucfirst($config->type))
|
|
|
|
|
) ?>)
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="text-right">
|
|
|
|
|
<?= $this->qlink(
|
|
|
|
|
'',
|
|
|
|
|
'monitoring/config/removebackend',
|
|
|
|
|
array('backend-name' => $backendName),
|
|
|
|
|
array(
|
|
|
|
|
'class' => 'action-link',
|
|
|
|
|
'icon' => 'cancel',
|
|
|
|
|
'title' => sprintf($this->translate('Remove monitoring backend %s'), $backendName)
|
|
|
|
|
)
|
|
|
|
|
) ?>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<h2><?= $this->translate('Command Transports') ?></h2>
|
|
|
|
|
<?= $this->qlink(
|
2015-10-01 04:03:29 -04:00
|
|
|
$this->translate('Create a New Command Transport') ,
|
2015-09-30 06:49:46 -04:00
|
|
|
'monitoring/config/createtransport',
|
|
|
|
|
null,
|
|
|
|
|
array(
|
2015-11-12 09:50:10 -05:00
|
|
|
'class' => 'button-link',
|
2015-09-30 06:49:46 -04:00
|
|
|
'icon' => 'plus',
|
|
|
|
|
'title' => $this->translate('Create a new command transport')
|
|
|
|
|
)
|
|
|
|
|
) ?>
|
2017-02-07 13:08:18 -05:00
|
|
|
<?php
|
|
|
|
|
/** @var \Icinga\Module\Monitoring\Forms\Config\TransportReorderForm $commandTransportReorderForm */
|
|
|
|
|
echo $commandTransportReorderForm;
|
|
|
|
|
?>
|
2015-09-30 06:49:46 -04:00
|
|
|
</div>
|
2014-10-28 09:01:00 -04:00
|
|
|
</div>
|