Templating

This commit is contained in:
Dennis Eichhorn 2016-06-25 13:57:53 +02:00
parent 11575213f2
commit 82a9c5c797
4 changed files with 14 additions and 14 deletions

View File

@ -15,7 +15,7 @@
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<section class="box w-66 floatLeft">
<header><h1><?= $this->l11n->lang['Admin']['Account'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
@ -51,28 +51,28 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
<section class="box w-66 floatLeft">
<section class="box w-33 floatLeft">
<header><h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iGroup"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGroup" name="group" type="text" placeholder="&#xf0c0; Guest">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder="&#xf0c0; Guest" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-66 floatLeft">
<section class="box w-33 floatLeft">
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iGroup"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGroup" name="group" type="text" placeholder="&#xf084; news_create">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder="&#xf084; news_create" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>

View File

@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?>
<table class="layout wf-100">
<tbody>
<tr><td><label for="iGParentName"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder="&#xf0c0; Guest">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGParentName" name="parentname" type="text" placeholder="&#xf0c0; Guest" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
@ -56,7 +56,7 @@ echo $this->getData('nav')->render(); ?>
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPermissionName"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iPermissionName" name="permissionname" type="text" placeholder="&#xf084; Admin">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iPermissionName" name="permissionname" type="text" placeholder="&#xf084; Admin" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>

View File

@ -15,7 +15,7 @@
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<section class="box w-66 floatLeft">
<header><h1><?= $this->l11n->lang['Admin']['Account'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
@ -51,28 +51,28 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
<section class="box w-66 floatLeft">
<section class="box w-33 floatLeft">
<header><h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iGroup"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGroup" name="group" type="text" placeholder="&#xf0c0; Guest">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder="&#xf0c0; Guest" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-66 floatLeft">
<section class="box w-33 floatLeft">
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iGroup"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGroup" name="group" type="text" placeholder="&#xf084; news_create">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder="&#xf084; news_create" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>

View File

@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?>
<table class="layout wf-100">
<tbody>
<tr><td><label for="iGParentName"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder="&#xf0c0; Guest">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGParentName" name="parentname" type="text" placeholder="&#xf0c0; Guest" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
@ -56,7 +56,7 @@ echo $this->getData('nav')->render(); ?>
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPermissionName"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iPermissionName" name="permissionname" type="text" placeholder="&#xf084; Admin">
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iPermissionName" name="permissionname" type="text" placeholder="&#xf084; Admin" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>