mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
59 lines
2.9 KiB
PHP
59 lines
2.9 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
|
|
*/
|
|
/**
|
|
* @var \phpOMS\Views\View $this
|
|
*/
|
|
echo $this->getData('nav')->render(); ?>
|
|
|
|
<section class="box w-50 floatLeft">
|
|
<h1><?= $this->l11n->lang['Tasks']['Task']; ?></h1>
|
|
|
|
<div class="inner">
|
|
<form id="fTask" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/create'); ?>">
|
|
<table class="layout wf-100">
|
|
<tbody>
|
|
<tr><td colspan="2"><label for="iReceiver"><?= $this->l11n->lang['Tasks']['To']; ?></label>
|
|
<tr><td><input type="text" id="iReceiver" name="forward" placeholder=" Guest"><td><button><?= $this->l11n->lang[0]['Add']; ?></button>
|
|
<tr><td colspan="2"><label for="iObserver"><?= $this->l11n->lang['Tasks']['CC']; ?></label>
|
|
<tr><td><input type="text" id="iObserver" name="observer" placeholder=" Guest"><td><button><?= $this->l11n->lang[0]['Add']; ?></button>
|
|
<tr><td colspan="2"><label for="iDue"><?= $this->l11n->lang['Tasks']['Due']; ?></label>
|
|
<tr><td><input type="datetime-local" id="iDue" name="due" value="<?= (new \DateTime('NOW'))->format('Y-m-d\TH:i:s') ?>"><td>
|
|
<tr><td colspan="2"><label for="iTitle"><?= $this->l11n->lang['Tasks']['Title']; ?></label>
|
|
<tr><td><input type="text" id="iTitle" name="title" placeholder=" <?= $this->l11n->lang['Tasks']['Title']; ?>"><td>
|
|
<tr><td colspan="2"><label for="iMessage"><?= $this->l11n->lang['Tasks']['Message']; ?></label>
|
|
<tr><td><textarea id="iMessage" name="description" placeholder=""></textarea><td>
|
|
<tr><td colspan="2"><input type="submit" value="<?= $this->l11n->lang[0]['Create']; ?>"><input type="hidden" name="type" value="<?= \Modules\Tasks\Models\TaskType::TASK ?>">
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box w-50 floatLeft">
|
|
<h1><?= $this->l11n->lang['Tasks']['Media']; ?></h1>
|
|
|
|
<div class="inner">
|
|
<form>
|
|
<table class="layout wf-100">
|
|
<tbody>
|
|
<tr><td colspan="2"><label for="iMedia"><?= $this->l11n->lang['Tasks']['Media']; ?></label>
|
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->l11n->lang[0]['Select']; ?></button>
|
|
<tr><td colspan="2"><label for="iUpload"><?= $this->l11n->lang['Tasks']['Upload']; ?></label>
|
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</section>
|