Fixes service and config icons

This commit is contained in:
Bernd Erk 2014-11-17 16:27:12 +01:00
parent 878aa81d98
commit e44086cb9f
8 changed files with 10 additions and 10 deletions

View File

@ -212,7 +212,7 @@ class Monitoring_ShowController extends Controller
'service', 'service',
array( array(
'title' => 'Service', 'title' => 'Service',
'icon' => 'service', 'icon' => 'conf',
'url' => 'monitoring/show/service', 'url' => 'monitoring/show/service',
'urlParams' => $params, 'urlParams' => $params,
) )
@ -222,7 +222,7 @@ class Monitoring_ShowController extends Controller
'services', 'services',
array( array(
'title' => 'Services', 'title' => 'Services',
'icon' => 'service', 'icon' => 'conf-alt',
'url' => 'monitoring/show/services', 'url' => 'monitoring/show/services',
'urlParams' => $params, 'urlParams' => $params,
) )

View File

@ -7,7 +7,7 @@
<thead> <thead>
<tr> <tr>
<th><?= $this->icon('host') ?> Host</th> <th><?= $this->icon('host') ?> Host</th>
<th><?= $this->icon('service') ?> Service</th> <th><?= $this->icon('conf') ?> Service</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View File

@ -50,7 +50,7 @@
</td> </td>
<td> <td>
<?php if ($comment->objecttype === 'service'): ?> <?php if ($comment->objecttype === 'service'): ?>
<?= $this->icon('service'); ?> <a href="<?= $this->href('monitoring/service/show', array( <?= $this->icon('conf'); ?> <a href="<?= $this->href('monitoring/service/show', array(
'host' => $comment->host, 'host' => $comment->host,
'service' => $comment->service, 'service' => $comment->service,
)); ?>"> )); ?>">

View File

@ -45,7 +45,7 @@ $this->target = array(
</tr> </tr>
</table> </table>
<h2><?=$this->icon('service')?> Service Actions</h2> <h2><?=$this->icon('conf')?> Service Actions</h2>
<table class="avp newsection"> <table class="avp newsection">
<tbody> <tbody>

View File

@ -8,7 +8,7 @@
<thead> <thead>
<tr> <tr>
<th><?= $this->icon('host') ?> <?= $this->translate('Host') ?></th> <th><?= $this->icon('host') ?> <?= $this->translate('Host') ?></th>
<th><?= $this->icon('service') ?> <?= $this->translate('Service') ?></th> <th><?= $this->icon('conf') ?> <?= $this->translate('Service') ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View File

@ -12,7 +12,7 @@ foreach ($object->servicegroups as $name => $alias) {
printf( printf(
"<tr><th>%s</th><td>%s %s</td></tr>\n", "<tr><th>%s</th><td>%s %s</td></tr>\n",
$this->translate('Servicegroups'), $this->translate('Servicegroups'),
$this->icon('service'), $this->icon('conf-alt'),
implode(', ', $list) implode(', ', $list)
); );

View File

@ -124,7 +124,7 @@ $section->add($this->translate('Timeline'))->setUrl('monitoring/timeline');
* Reporting Section * Reporting Section
*/ */
$section = $this->menuSection($this->translate('Reporting'), array( $section = $this->menuSection($this->translate('Reporting'), array(
'icon' => 'chart-line', 'icon' => 'service',
'priority' => 100 'priority' => 100
)); ));

View File

@ -197,7 +197,7 @@ abstract class MonitoredObjectController extends Controller
'service', 'service',
array( array(
'title' => 'Service', 'title' => 'Service',
'icon' => 'service', 'icon' => 'conf',
'url' => 'monitoring/service/show', 'url' => 'monitoring/service/show',
'urlParams' => $params 'urlParams' => $params
) )
@ -207,7 +207,7 @@ abstract class MonitoredObjectController extends Controller
'services', 'services',
array( array(
'title' => 'Services', 'title' => 'Services',
'icon' => 'service', 'icon' => 'conf-alt',
'url' => 'monitoring/show/services', 'url' => 'monitoring/show/services',
'urlParams' => $params 'urlParams' => $params
) )