Header: Add header to process/info

refs #7976
This commit is contained in:
Marius Hein 2015-02-17 16:12:41 +01:00
parent d3c79dae32
commit 32226418af
3 changed files with 66 additions and 8 deletions

View File

@ -25,7 +25,7 @@ class Monitoring_ProcessController extends Controller
'title' => $this->translate('Monitoring Health'),
'url' =>'monitoring/process/info'
)
);
)->setTitle($this->translate('Process Information'));
}
/**

View File

@ -9,15 +9,42 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
</div>
<div class="content processinfo">
<h1 tabindex="-1">
<?= $this->translate('Monitoring Health'); ?>
</h1>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#process-feature-command">
<?= t('Skip To Feature Commands'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-process-info">
<?= t('Skip To Process Information'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-performance-info">
<?= t('Skip To Performance Information'); ?>
</a>
</li>
</ul>
</div>
<div class="boxview">
<div class="box left">
<h2><?= $this->translate('Feature Commands') ?></h2>
<h2 tabindex="-1" id="process-feature-command">
<?= $this->translate('Feature Commands') ?>
</h2>
<?= $this->toggleFeaturesForm ?>
</div>
<div class="box left">
<h2><?= $this->translate('Process Info') ?></h2>
<h2 tabindex="-1" id="process-process-info">
<?= $this->translate('Process Info') ?>
</h2>
<table class="avp">
<tbody>
<tr>
@ -68,9 +95,33 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
</div>
<div class="box left">
<h2><?= $this->translate('Performance Info') ?></h2>
<h2 tabindex="-1" id="process-performance-info">
<?= $this->translate('Performance Info') ?>
</h2>
<div class="skip-links skip-links-inline">
<h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul>
<li>
<a tabindex="0" href="#process-object-summaries">
<?= t('Skip To Object Summaries'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-active-checks">
<?= t('Skip To Active Checks'); ?>
</a>
</li>
<li>
<a tabindex="0" href="#process-passive-checks">
<?= t('Skip To Passive Checks'); ?>
</a>
</li>
</ul>
</div>
<h3><?= $this->translate('Object summaries') ?></h3>
<h3 tabindex="-1" id="process-object-summaries">
<?= $this->translate('Object summaries') ?>
</h3>
<table class="avp">
<thead>
<tr>
@ -118,7 +169,9 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
</tbody>
</table>
<h3><?= $this->translate('Active checks') ?></h3>
<h3 tabindex="-1" id="process-active-checks">
<?= $this->translate('Active checks') ?>
</h3>
<table class="avp">
<thead>
<tr>
@ -148,7 +201,9 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
</tbody>
</table>
<h3><?= $this->translate('Passive checks') ?></h3>
<h3 tabindex="-1" id="process-passive-checks">
<?= $this->translate('Passive checks') ?>
</h3>
<table class="avp">
<tbody>
<tr>

View File

@ -301,5 +301,8 @@ a:focus {
}
}
.skip-links-inline {
margin-top: -3.5em;
margin-top: -2em;
ul > li > a {
width: 14em !important;
}
}