host/services: add dedicated view script
This commit is contained in:
parent
8290628f82
commit
ea80161a27
|
@ -48,7 +48,6 @@ class HostController extends ObjectController
|
|||
->setHost($host)
|
||||
->enforceFilter('host_id', $host->id)
|
||||
->setConnection($this->db());
|
||||
$this->render('objects/table', null, true);
|
||||
}
|
||||
|
||||
public function agentAction()
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span>
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
<?php if (count($table) || ($this->filterEditor && ! $this->filterEditor->getFilter()->isEmpty())): ?>
|
||||
<?= $this->filterEditor ?>
|
||||
<?php endif ?>
|
||||
<?= $this->table->getPaginator() ?>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<?= $this->form ?>
|
||||
<?php if (count($table)): ?>
|
||||
<?= $this->table->render() ?>
|
||||
<?php endif ?>
|
||||
</div>
|
Loading…
Reference in New Issue