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'); ?>
</h1>
<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>
<li>
<a tabindex="0" href="#authentication-reorder-form">

View File

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

View File

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

View File

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

View File

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