Header: Application config and authentication

refs #7976
This commit is contained in:
Marius Hein 2015-02-12 16:43:08 +01:00
parent f586714f02
commit 513de11f20
5 changed files with 60 additions and 18 deletions

View File

@ -1,11 +1,13 @@
<div class="controls" data-base-target="_main"> <div class="controls" data-base-target="_main">
<?= $this->tabs->render($this); ?> <?= $this->tabs->render($this); ?>
</div> </div>
<div class="content"> <div class="content">
<?php if (isset($this->messageBox)): ?> <h1 tabindex="0" id="application-configuration">
<?= $this->messageBox->render() ?> <?= t('Generic Configuration'); ?>
<?php endif ?> </h1>
<?php if (isset($this->messageBox)): ?>
<?= $this->form ?> <?= $this->messageBox->render() ?>
<?php endif ?>
<?= $this->form ?>
</div> </div>

View File

@ -1,10 +1,16 @@
<div class="controls"> <div class="controls">
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton() ?>
</div> </div>
<h4><?= $this->translate('Create New Authentication Backend'); ?></h4> <div class="content">
<p> <h1 tabindex="0" id="authentication-create">
<?= $this->translate( <?= $this->translate('Create New Authentication Backend'); ?>
'Create a new backend for authenticating your users. This backend will be added at the end of your authentication order.' </h1>
); ?> <p>
</p> <?= $this->translate(
<?= $form; ?> 'Create a new backend for authenticating your users. This backend will be added at the end of your authentication order.'
); ?>
</p>
<div>
<?= $form; ?>
</div>
</div>

View File

@ -1,5 +1,11 @@
<div class="controls"> <div class="controls">
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton() ?>
</div> </div>
<h4><?= $this->translate('Edit Backend'); ?></h4> <div class="content">
<?= $form; ?> <h1 tabindex="0" id="authentication-modify">
<?= $this->translate('Edit Backend'); ?>
</h1>
<div>
<?= $form; ?>
</div>
</div>

View File

@ -1,5 +1,11 @@
<div class="controls"> <div class="controls">
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton() ?>
</div> </div>
<h4><?= $this->translate('Remove Backend'); ?></h4> <div class="content">
<?= $form; ?> <h1 tabindex="0" id="authentication-remove">
<?= $this->translate('Remove Backend'); ?>
</h1>
<div>
<?= $form; ?>
</div>
</div>

View File

@ -2,10 +2,32 @@
<?= $tabs; ?> <?= $tabs; ?>
</div> </div>
<div class="content" data-base-target="_next"> <div class="content" data-base-target="_next">
<h1 tabindex="0" id="authentication-reorder">
<?= t('Authentication Configuration'); ?>
</h1>
<div class="skip-links skip-links-inline">
<nav>
<ul>
<li>
<a tabindex="0" href="#authentication-reorder-form">
<?= t('Skip To Authentication Reorder Form'); ?>
</a>
</li>
</ul>
</nav>
</div>
<h2 tabindex="0" id="authentication-new-backend" class="sr-only">
<?= t('New Authentication Backend'); ?>
</h2>
<p> <p>
<a href="<?= $this->href('/config/createAuthenticationBackend'); ?>"> <a href="<?= $this->href('/config/createAuthenticationBackend'); ?>">
<?= $this->icon('plus', null, array('aria-hidden' => 'true')); ?><?= $this->translate('Create A New Authentication Backend'); ?> <?= $this->icon('plus', null, array('aria-hidden' => 'true')); ?><?= $this->translate('Create A New Authentication Backend'); ?>
</a> </a>
</p> </p>
<?= $form; ?> <h2 tabindex="0" id="authentication-reorder" class="sr-only">
<?= t('Reorder Authentication Backends'); ?>
</h2>
<div id="authentication-reorder-form">
<?= $form; ?>
</div>
</div> </div>