mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-23 10:48:40 +00:00
63 lines
3.5 KiB
PHP
63 lines
3.5 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.4
|
|
*
|
|
* @package Modules\Admin\Template\Backend
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
use phpOMS\Uri\UriFactory;
|
|
|
|
/**
|
|
* @var \phpOMS\Views\View $this
|
|
*/
|
|
echo $this->getData('nav')->render(); ?>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-4">
|
|
<div class="portlet">
|
|
<form id="fAccount" action="<?= UriFactory::build('{/api}admin/account'); ?>" method="put">
|
|
<div class="portlet-head"><?= $this->getHtml('Account'); ?></div>
|
|
<div class="portlet-body">
|
|
<table class="layout wf-100">
|
|
<tbody>
|
|
<tr><td><label for="iType"><?= $this->getHtml('Type'); ?></label>
|
|
<tr><td><select id="Type" name="type">
|
|
<option value="<?= $this->printHtml(\phpOMS\Account\AccountType::USER); ?>"><?= $this->getHtml('Person'); ?>
|
|
<option value="<?= $this->printHtml(\phpOMS\Account\AccountType::GROUP); ?>"><?= $this->getHtml('Organization'); ?>
|
|
</select>
|
|
<tr><td><label for="iStatus"><?= $this->getHtml('Status'); ?></label>
|
|
<tr><td><select id="iStatus" name="status">
|
|
<option value="<?= $this->printHtml(\phpOMS\Account\AccountStatus::ACTIVE); ?>"><?= $this->getHtml('Active'); ?>
|
|
<option value="<?= $this->printHtml(\phpOMS\Account\AccountStatus::INACTIVE); ?>"><?= $this->getHtml('Inactive'); ?>
|
|
<option value="<?= $this->printHtml(\phpOMS\Account\AccountStatus::TIMEOUT); ?>"><?= $this->getHtml('Timeout'); ?>
|
|
<option value="<?= $this->printHtml(\phpOMS\Account\AccountStatus::BANNED); ?>"><?= $this->getHtml('Banned'); ?>
|
|
</select>
|
|
<tr><td><label for="iUsername"><?= $this->getHtml('Username'); ?></label>
|
|
<tr><td><input id="iUsername" name="login" type="text" placeholder=" Fred">
|
|
<tr><td><label for="iName1"><?= $this->getHtml('Name1'); ?></label>
|
|
<tr><td><input id="iName1" name="name1" type="text" placeholder=" Donald" required>
|
|
<tr><td><label for="iName2"><?= $this->getHtml('Name2'); ?></label>
|
|
<tr><td><input id="iName2" name="name2" type="text" placeholder=" Fauntleroy">
|
|
<tr><td><label for="iName3"><?= $this->getHtml('Name3'); ?></label>
|
|
<tr><td><input id="iName3" name="name3" type="text" placeholder=" Duck">
|
|
<tr><td><label for="iEmail"><?= $this->getHtml('Email'); ?></label>
|
|
<tr><td><input id="iEmail" name="email" type="email" placeholder=" d.duck@duckburg.com">
|
|
<tr><td><label for="iPassword"><?= $this->getHtml('Name3'); ?></label>
|
|
<tr><td><input id="iPassword" name="password" type="password" placeholder=" Pa55ssw0rd?">
|
|
</table>
|
|
</div>
|
|
<div class="portlet-foot">
|
|
<input id="account-create-submit" name="createSubmit" type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|