Introduce new detail section headers fitting the rest of the layout

This commit is contained in:
Thomas Gelf 2014-03-08 00:17:42 +00:00
parent d53573ede2
commit d234a87e84
5 changed files with 19 additions and 7 deletions

View File

@ -33,7 +33,7 @@ $states = array(
?><div class="controls">
<?= $this->render('show/components/header.phtml') ?>
<a href="<?= $this->href('monitoring/list/eventhistory', $params); ?>">All events for <?= $title ?></a><br />
<h1>This object's event history</h1>
<?= $this->paginationControl($this->history, null, null, array('preserve' => $this->preserve)); ?>
</div>
@ -42,7 +42,7 @@ No History Available For This Object
</div>
<?php return; endif ?>
<div class="content">
<table class="action">
<tbody>
@ -127,4 +127,4 @@ echo $output;
<? endforeach; ?>
</tbody>
</table>
</div>

View File

@ -1,5 +1,6 @@
<div class="controls">
<?= $this->render('show/components/header.phtml') ?>
<h1>This host's current state</h1>
</div>
<div class="content" data-base-target="col1">
<?= $this->render('show/components/output.phtml') ?>

View File

@ -1,8 +1,9 @@
<div class="controls">
<?= $this->render('show/components/header.phtml') ?>
<h1>This service's current state</h1>
</div>
<div class="content" data-base-target="col1">
<?= $this->render('show/components/status.phtml'); ?>
<?= $this->render('show/components/status.phtml') ?>
<?= $this->render('show/components/output.phtml') ?>
<?= $this->render('show/components/downtime.phtml') ?>
@ -15,8 +16,8 @@
<?= $this->render('show/components/command.phtml') ?>
<?= $this->render('show/components/servicegroups.phtml') ?>
<?= $this->render('show/components/contacts.phtml') ?>
<?= $this->render('show/components/customvars.phtml') ?>
<?= $this->render('show/components/checkstatistics.phtml') ?>
<?= $this->render('show/components/customvars.phtml') ?>
<?= $this->render('show/components/flags.phtml') ?>
</table>
</div>

View File

@ -1,5 +1,6 @@
<div class="controls">
<?= $this->render('show/components/header.phtml') ?>
<h1>All services configured on this host</h1>
</div>
<div class="content">
<?= $services ?>

View File

@ -140,7 +140,7 @@ html {
width: 6em;
}
.dashboard > div.container h1 {
.dashboard > div.container h1, .container .content h1, .container .controls h1 {
line-height: 2em;
font-size: 1em;
padding-left: 1em;
@ -152,6 +152,15 @@ html {
-webkit-border-radius: 0.2em;
}
.container .controls h1 {
margin-left: 1em;
margin-right: 1em;
}
.container .controls .pagination {
margin-left: 1.2em;
}
.dashboard > div.container h1 a {
text-decoration: none;
color: inherit;