ServiceController: prepare for an overview site...
...not much content here... yet
This commit is contained in:
parent
b23a2437e6
commit
484e14c445
|
@ -99,6 +99,13 @@ class ServiceController extends ObjectController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function indexAction()
|
||||||
|
{
|
||||||
|
$object = $this->loadObject();
|
||||||
|
$title = $this->view->title = $object->object_name;
|
||||||
|
$this->singleTab($this->translate('Icinga Service Template'));
|
||||||
|
}
|
||||||
|
|
||||||
public function editAction()
|
public function editAction()
|
||||||
{
|
{
|
||||||
$object = $this->object;
|
$object = $this->object;
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
<div class="controls">
|
||||||
|
<?= $this->tabs ?>
|
||||||
|
<h1><?= $this->escape($this->title) ?></h1>
|
||||||
|
<span class="action-links">
|
||||||
|
<?= $this->actionLinks ?>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
This is a service template. [As it has no command You might want to assign it:
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Assign it to one or more single hosts</li>
|
||||||
|
<li>Assign it to all hosts inheriting a specific template</li>
|
||||||
|
<li>Assign it base on rule/rule definitions
|
||||||
|
|
||||||
|
Admin tasks:
|
||||||
|
<ul>
|
||||||
|
<li>Control which fields (custom vars) can be filled by your users
|
||||||
|
<li>Provide sets of services
|
||||||
|
</ul>
|
||||||
|
</div>
|
Loading…
Reference in New Issue