mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 10:57:41 +02:00
welcome: first attempts to make it look better
This commit is contained in:
parent
3d205724c3
commit
87ddaf19d8
@ -7,5 +7,25 @@
|
|||||||
<?php if ($this->errorMessage): ?>
|
<?php if ($this->errorMessage): ?>
|
||||||
<p class="error"><?= $this->errorMessage ?></p>
|
<p class="error"><?= $this->errorMessage ?></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
Nothing to see here yet. We will point you to the most common tasks later on.
|
<?php
|
||||||
|
$actions = array(
|
||||||
|
array('cloud', $this->translate('Monitoring Nodes'), 'director/commands'),
|
||||||
|
array('host', $this->translate('Host objecs'), 'director/hosts'),
|
||||||
|
array('services', $this->translate('Monitored Services'), 'director/services'),
|
||||||
|
array('users', $this->translate('Users / Contacts'), 'director/users'),
|
||||||
|
array('chat', $this->translate('Alarms and notifications'), 'director/notificatios'),
|
||||||
|
array('database', $this->translate('Sync / Import'), 'director/list/importsource'),
|
||||||
|
array('wrench', $this->translate('Configuration'), 'director/list/generatedconfig'),
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
<ul class="main-actions">
|
||||||
|
<?php foreach ($actions as $a): ?>
|
||||||
|
<li>
|
||||||
|
<a href="<?= $this->url($a[2]) ?>">
|
||||||
|
<?= $this->icon($a[0]) ?>
|
||||||
|
<?= $this->escape($a[1]) ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,6 +25,7 @@ $section = $this->menuSection(
|
|||||||
$this->translate('Icinga Director')
|
$this->translate('Icinga Director')
|
||||||
)->setIcon('cubes');
|
)->setIcon('cubes');
|
||||||
|
|
||||||
|
$section->add($this->translate('Overview'))->setUrl('director/welcome')->setPriority(20);
|
||||||
$section->add($this->translate('Global'))->setUrl('director/commands');
|
$section->add($this->translate('Global'))->setUrl('director/commands');
|
||||||
$section->add($this->translate('Hosts'))->setUrl('director/hosts');
|
$section->add($this->translate('Hosts'))->setUrl('director/hosts');
|
||||||
$section->add($this->translate('Fields'))->setUrl('director/field/host')->setPriority(903);
|
$section->add($this->translate('Fields'))->setUrl('director/field/host')->setPriority(903);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user