Header: Adapt resource configuration

This commit is contained in:
Marius Hein 2015-02-13 16:10:51 +01:00
parent ef7fcb1023
commit 04fde79a9f
5 changed files with 15 additions and 16 deletions

View File

@ -6,7 +6,7 @@
<?= $this->translate('Authentication Configuration'); ?> <?= $this->translate('Authentication Configuration'); ?>
</h1> </h1>
<div class="skip-links skip-links-inline"> <div class="skip-links skip-links-inline">
<h3 class="sr-only"><?= $this->translate('Skip Links'); ?></h3> <h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul> <ul>
<li> <li>
<a tabindex="0" href="#authentication-reorder-form"> <a tabindex="0" href="#authentication-reorder-form">

View File

@ -2,21 +2,20 @@
<?= $tabs; ?> <?= $tabs; ?>
</div> </div>
<div class="content" data-base-target="_next"> <div class="content" data-base-target="_next">
<h1 tabindex="0" id="resource-index"> <h1 tabindex="-1" id="resource-index">
<?= t('Resource Configuration'); ?> <?= t('Resource Configuration'); ?>
</h1> </h1>
<div class="skip-links skip-links-inline"> <div class="skip-links skip-links-inline">
<nav> <h2 class="sr-only"><?= $this->translate('Skip Links'); ?></h2>
<ul> <ul>
<li> <li>
<a tabindex="0" href="#resource-edit-table"> <a tabindex="0" href="#resource-edit-table">
<?= t('Skip To Existing Resources'); ?> <?= t('Skip To Existing Resources'); ?>
</a> </a>
</li> </li>
</ul> </ul>
</nav>
</div> </div>
<h2 tabindex="0" id="resource-new-resource" class="sr-only"> <h2 tabindex="-1" id="resource-new-resource" class="sr-only">
<?= t('Create New Resource'); ?> <?= t('Create New Resource'); ?>
</h2> </h2>
<p> <p>
@ -24,7 +23,7 @@
<?= $this->icon('plus', null, array('aria-hidden' => 'true')); ?> <?= $this->translate('Create A New Resource'); ?> <?= $this->icon('plus', null, array('aria-hidden' => 'true')); ?> <?= $this->translate('Create A New Resource'); ?>
</a> </a>
</p> </p>
<h2 tabindex="0" id="resource-edit-resource" class="sr-only"> <h2 tabindex="-1" id="resource-edit-resource" class="sr-only">
<?= t('Edit Existing Resources'); ?> <?= t('Edit Existing Resources'); ?>
</h2> </h2>
<table class="action" id="resource-edit-table"> <table class="action" id="resource-edit-table">

View File

@ -2,7 +2,7 @@
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton() ?>
</div> </div>
<div class="content"> <div class="content">
<h1 tabindex="0" id="resource-create"> <h1 tabindex="-1" id="resource-create">
<?= $this->translate('Create A New Resource'); ?> <?= $this->translate('Create A New Resource'); ?>
</h1> </h1>
<p><?= $this->translate('Resources are entities that provide data to Icinga Web 2.'); ?></p> <p><?= $this->translate('Resources are entities that provide data to Icinga Web 2.'); ?></p>

View File

@ -2,7 +2,7 @@
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton() ?>
</div> </div>
<div class="content"> <div class="content">
<h1 tabindex="0" id="resource-edit"> <h1 tabindex="-1" id="resource-edit">
<?= $this->translate('Edit Existing Resource'); ?> <?= $this->translate('Edit Existing Resource'); ?>
</h1> </h1>
<div> <div>

View File

@ -2,7 +2,7 @@
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton() ?>
</div> </div>
<div class="content"> <div class="content">
<h1 tabindex="0" id="resource-remove"> <h1 tabindex="-1" id="resource-remove">
<?= $this->translate('Remove Existing Resource'); ?> <?= $this->translate('Remove Existing Resource'); ?>
</h1> </h1>
<div> <div>