mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-20 17:28:40 +00:00
92 lines
4.0 KiB
PHP
92 lines
4.0 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
/*
|
|
* UI Logic
|
|
*/
|
|
|
|
$group = $this->getData('group');
|
|
|
|
echo $this->getData('nav')->render(); ?>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-4">
|
|
<section class="box wf-100">
|
|
<header><h1><?= $this->getText('Group') ?></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="iGid"><?= $this->getText('ID', 0, 0) ?></label>
|
|
<tr><td><input id="iGid" name="gid" type="text" value="<?= $group->getId(); ?>" disabled>
|
|
<tr><td><label for="iGname"><?= $this->getText('Name') ?></label>
|
|
<tr><td><input id="iGname" name="gname" type="text" placeholder=" Guest" value="<?= $group->getName(); ?>">
|
|
<tr><td><label for="iGroupDescription"><?= $this->getText('Description') ?></label>
|
|
<tr><td><textarea id="iGroupDescription" name="description" placeholder=""><?= $group->getDescription(); ?></textarea>
|
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-md-4">
|
|
<section class="box wf-100">
|
|
<header><h1><?= $this->getText('Parent') ?></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="iGParentName"><?= $this->getText('Name') ?></label>
|
|
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder=" Guest">
|
|
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-md-4">
|
|
<section class="box wf-100">
|
|
<header><h1><?= $this->getText('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="iPermissionName"><?= $this->getText('Name') ?></label>
|
|
<tr><td><input id="iPermissionName" name="permissionname" type="text" placeholder=" Admin">
|
|
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-md-4">
|
|
<section class="box wf-100">
|
|
<header><h1><?= $this->getText('Accounts') ?></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="iGParentName"><?= $this->getText('Name') ?></label>
|
|
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder=" Donald Duck">
|
|
<tr><td><input type="submit" value="<?= $this->getText('Add', 0, 0) ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|