mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-26 03:58:41 +00:00
81 lines
4.4 KiB
PHP
81 lines
4.4 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
|
|
*/
|
|
echo $this->getData('nav')->render(); ?>
|
|
|
|
<section class="box w-66 floatLeft">
|
|
<header><h1><?= $this->l11n->getText('Admin', 'Account') ?></h1></header>
|
|
<div class="inner">
|
|
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
|
|
<table class="layout wf-100">
|
|
<tbody>
|
|
<tr><td><label for="iType"><?= $this->l11n->getText('Admin', 'Type') ?></label>
|
|
<tr><td><select id="iType" name="type">
|
|
<option><?= $this->l11n->getText('Admin', 'Person') ?>
|
|
<option><?= $this->l11n->getText('Admin', 'Organization') ?>
|
|
</select>
|
|
<tr><td><label for="iStatus"><?= $this->l11n->getText('Admin', 'Status') ?></label>
|
|
<tr><td><select id="iStatus" name="status">
|
|
<option><?= $this->l11n->getText('Admin', 'Active') ?>
|
|
<option><?= $this->l11n->getText('Admin', 'Inactive') ?>
|
|
<option><?= $this->l11n->getText('Admin', 'Timeout') ?>
|
|
<option><?= $this->l11n->getText('Admin', 'Banned') ?>
|
|
</select>
|
|
<tr><td><label for="iUsername"><?= $this->l11n->getText('Admin', 'Username') ?></label>
|
|
<tr><td><input id="iUsername" name="name" type="text" placeholder=" Fred">
|
|
<tr><td><label for="iName1"><?= $this->l11n->getText('Admin', 'Name1') ?></label>
|
|
<tr><td><input id="iName1" name="name1" type="text" placeholder=" Donald" required>
|
|
<tr><td><label for="iName2"><?= $this->l11n->getText('Admin', 'Name2') ?></label>
|
|
<tr><td><input id="iName2" name="name2" type="text" placeholder=" Fauntleroy">
|
|
<tr><td><label for="iName3"><?= $this->l11n->getText('Admin', 'Name3') ?></label>
|
|
<tr><td><input id="iName3" name="name3" type="text" placeholder=" Duck">
|
|
<tr><td><label for="iEmail"><?= $this->l11n->getText('Admin', 'Email') ?></label>
|
|
<tr><td><input id="iEmail" name="email" type="email" placeholder=" d.duck@duckburg.com">
|
|
<tr><td><label for="iPassword"><?= $this->l11n->getText('Admin', 'Name3') ?></label>
|
|
<tr><td><input id="iPassword" name="password" type="text" placeholder=" Pa55ssw0rd?">
|
|
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Create') ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box w-33 floatLeft">
|
|
<header><h1><?= $this->l11n->getText('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->getText('Admin', 'Name') ?></label>
|
|
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder=" Guest" required></span>
|
|
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Add') ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box w-33 floatLeft">
|
|
<header><h1><?= $this->l11n->getText('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->getText('Admin', 'Name') ?></label>
|
|
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder=" news_create" required></span>
|
|
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Add') ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|