mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-22 10:18:40 +00:00
58 lines
3.4 KiB
PHP
58 lines
3.4 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.2
|
|
*
|
|
* @package Modules\Admin\Template\Backend
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://website.orange-management.de
|
|
*/
|
|
|
|
/**
|
|
* @var \phpOMS\Views\View $this
|
|
*/
|
|
echo $this->getData('nav')->render(); ?>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-4">
|
|
<section class="box wf-100">
|
|
<header><h1><?= $this->getHtml('Account'); ?></h1></header>
|
|
<div class="inner">
|
|
<form id="fAccount" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="put">
|
|
<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?">
|
|
<tr><td><input id="account-create-submit" name="createSubmit" type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|