oms-Support/Theme/Backend/ticket-create.tpl.php

44 lines
1.7 KiB
PHP
Executable File

<?php
/**
* Karaka
*
* PHP Version 8.1
*
* @package Modules\Support
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://karaka.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
echo $this->getData('nav')->render(); ?>
<div class="row">
<div class="col-xs-6">
<section class="box wf-100">
<header><h1><?= $this->getHtml('Ticket'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/template'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iTitle"><?= $this->getHtml('Department'); ?></label>
<tr><td><select></select>
<tr><td><label for="iTitle"><?= $this->getHtml('Topic'); ?></label>
<tr><td><select></select>
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
<tr><td><input id="iTitle" name="name" type="text" required>
<tr><td><label for="iTitle"><?= $this->getHtml('Description'); ?></label>
<tr><td><textarea required></textarea>
<tr><td><label for="iFile"><?= $this->getHtml('Files'); ?></label>
<tr><td><input id="iFile" name="fileVisual" type="file" multiple><input id="iFileHidden" name="files" type="hidden">
<tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
</table>
</form>
</div>
</section>
</div>
</div>