HTML Style fixes and class removals

refs #4550
This commit is contained in:
Jannis Moßhammer 2013-08-21 16:45:10 +02:00 committed by Marius Hein
parent bff45a1eb2
commit 872fa2ac6c
4 changed files with 18 additions and 19 deletions

View File

@ -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>

View File

@ -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">

View File

@ -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 ?>
(<?=

View File

@ -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; ?>