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> src="<?php echo $this->baseUrl('js/vendor/require.js') ?>"></script>
</head> </head>
<body class="cranberry"> <body>
<?= $this->render('body.phtml') ?> <?= $this->render('body.phtml') ?>
</body> </body>
</html> </html>

View File

@ -15,7 +15,7 @@
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
<?= $this->escape($this->auth()->getUser()->getUsername()); ?> <?= $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> <b class="caret"></b>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">

View File

@ -22,10 +22,10 @@ $modules = $this->modules->paginate();
<tr> <tr>
<td> <td>
<? if ($module->enabled): ?> <? if ($module->enabled): ?>
<i class="icon-ok-sign"></i> <i>ICON OK</i>
<a href="<?= $disableUrl ?>"><?= $this->escape($module->name); ?></a> <a href="<?= $disableUrl ?>"><?= $this->escape($module->name); ?></a>
<? else: ?> <? else: ?>
<i class="icon-remove-sign"></i> <i>ICON REMOVE</i>
<a href="<?= $enableUrl ?>"><?= $this->escape($module->name); ?></a> <a href="<?= $enableUrl ?>"><?= $this->escape($module->name); ?></a>
<? endif ?> <? endif ?>
(<?= (<?=

View File

@ -1,20 +1,19 @@
<?php if (isset($this->objects) && !empty($this->objects) && isset($this->objects[0]->host_name)): ?> <?php if (isset($this->objects) && !empty($this->objects) && isset($this->objects[0]->host_name)): ?>
<table class="table table-bordered table-striped table-condensed"> <table class="table table-bordered table-striped table-condensed">
<legend>Affected objects</legend> <legend>Affected objects</legend>
<thead> <thead>
<tr> <tr>
<th>Host name</th> <th>Host name</th>
<th>Service name</th> <th>Service name</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php foreach ($this->objects as $object): ?> <?php foreach ($this->objects as $object): ?>
<tr> <tr>
<td><?= $object->host_name; ?></td> <td><?= $object->host_name; ?></td>
<td><?= (isset($object->service_description) ? $object->service_description : ''); ?></td> <td><?= (isset($object->service_description) ? $object->service_description : ''); ?></td>
</tr>
</tr>
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
</table> </table>
@ -22,9 +21,9 @@
<?php endif; ?> <?php endif; ?>
<?php if ($this->form): ?> <?php if ($this->form): ?>
<div style="border: 1px #cc0000 solid; padding: 5px; margin: 10px 0 0 10px; max-width: 600px;"> <div>
<?= $this->form; ?> <?= $this->form; ?>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<?php endif; ?> <?php endif; ?>