parent
bff45a1eb2
commit
872fa2ac6c
|
@ -47,7 +47,7 @@
|
|||
src="<?php echo $this->baseUrl('js/vendor/require.js') ?>"></script>
|
||||
|
||||
</head>
|
||||
<body class="cranberry">
|
||||
<body>
|
||||
<?= $this->render('body.phtml') ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<?= $this->escape($this->auth()->getUser()->getUsername()); ?>
|
||||
<i class="icon-user icon-white" style="margin-top:0.2em"></i>
|
||||
<i>USER ICON</i>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
|
|
|
@ -22,10 +22,10 @@ $modules = $this->modules->paginate();
|
|||
<tr>
|
||||
<td>
|
||||
<? if ($module->enabled): ?>
|
||||
<i class="icon-ok-sign"></i>
|
||||
<i>ICON OK</i>
|
||||
<a href="<?= $disableUrl ?>"><?= $this->escape($module->name); ?></a>
|
||||
<? else: ?>
|
||||
<i class="icon-remove-sign"></i>
|
||||
<i>ICON REMOVE</i>
|
||||
<a href="<?= $enableUrl ?>"><?= $this->escape($module->name); ?></a>
|
||||
<? endif ?>
|
||||
(<?=
|
||||
|
|
|
@ -1,20 +1,19 @@
|
|||
|
||||
<?php if (isset($this->objects) && !empty($this->objects) && isset($this->objects[0]->host_name)): ?>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
<legend>Affected objects</legend>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Host name</th>
|
||||
<th>Service name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<legend>Affected objects</legend>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Host name</th>
|
||||
<th>Service name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->objects as $object): ?>
|
||||
<tr>
|
||||
<td><?= $object->host_name; ?></td>
|
||||
<td><?= (isset($object->service_description) ? $object->service_description : ''); ?></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= $object->host_name; ?></td>
|
||||
<td><?= (isset($object->service_description) ? $object->service_description : ''); ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -22,9 +21,9 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->form): ?>
|
||||
<div style="border: 1px #cc0000 solid; padding: 5px; margin: 10px 0 0 10px; max-width: 600px;">
|
||||
<?= $this->form; ?>
|
||||
<div class="clearfix"></div>
|
||||
<div>
|
||||
<?= $this->form; ?>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue