oms-Admin/Theme/backend/groups-create.tpl.php
2015-11-29 21:57:18 +01:00

65 lines
2.5 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/*
* UI Logic
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Group'] ?></h1>
<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="iGname"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGname" name="gname" type="text" placeholder="&#xf0c0; Guest" required>
<tr><td><label for="iGroupDescription"><?= $this->l11n->lang['Admin']['Description'] ?></label>
<tr><td><textarea id="iGroupDescription" name="description" placeholder="&#xf040;"></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Create'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Parent'] ?></h1>
<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="iGParentName"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder="&#xf0c0; Guest">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1>
<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="iPermissionName"><?= $this->l11n->lang['Admin']['Name'] ?></label>
<tr><td><input id="iPermissionName" name="permissionname" type="text" placeholder="&#xf084; Admin">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>