This commit is contained in:
Dennis Eichhorn 2024-03-10 02:24:56 +00:00
parent d765f946c5
commit 19f82b3e85

View File

@ -24,44 +24,71 @@ echo $this->data['nav']->render(); ?>
<header><h1><?= $this->getHtml('General'); ?></h1></header> <header><h1><?= $this->getHtml('General'); ?></h1></header>
<div class="inner"> <div class="inner">
<form id="fChecklist" method="put" action="<?= \phpOMS\Uri\UriFactory::build('{/api}checklist/template?{?}&csrf={$CSRF}'); ?>"> <form id="fChecklist" method="put" action="<?= \phpOMS\Uri\UriFactory::build('{/api}checklist/template?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100"> <div class="form-group">
<tr><td><label for="iName"><?= $this->getHtml('Name'); ?></label><td> <label for="iName"><?= $this->getHtml('Name'); ?></label>
<tr><td><input type="text" id="iName" name="name" required><td> <input type="text" id="iName" name="name" required>
<tr><td><label for="iDescription"><?= $this->getHtml('Description'); ?></label><td> </div>
<tr><td><textarea id="iDescription" name="description"></textarea><td>
<tr><td><label for="iPermission"><?= $this->getHtml('Permissions'); ?></label><td> <div class="form-group">
<tr><td><span class="input"><button type="button" formaction=""><i class="g-icon">book</i></button> <label for="iDescription"><?= $this->getHtml('Description'); ?></label>
<textarea id="iDescription" name="description"></textarea>
</div>
<div class="form-group">
<label for="iPermission"><?= $this->getHtml('Permissions'); ?></label>
<span class="input"><button type="button" formaction=""><i class="g-icon">book</i></button>
<input type="text" id="iPermission" name="permission"></span> <input type="text" id="iPermission" name="permission"></span>
<td><button><?= $this->getHtml('Add', '0', '0'); ?></button> <button><?= $this->getHtml('Add', '0', '0'); ?></button>
<tr><td><label for="iFiles"><?= $this->getHtml('Files'); ?></label><td> </div>
<tr><td><input id="iFiles" name="files" type="file" multiple><td>
<tr><td><input type="submit" name="createChecklist" value="<?= $this->getHtml('Create', '0', '0'); ?>"><td> <div class="form-group">
</table> <label for="iFiles"><?= $this->getHtml('Files'); ?></label>
<input id="iFiles" name="files" type="file" multiple>
</div>
<input type="submit" name="createChecklist" value="<?= $this->getHtml('Create', '0', '0'); ?>">
</form> </form>
</div> </div>
</section> </section>
</div> </div>
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<section class="box wf-100"> <section class="portlet">
<header><h1><?= $this->getHtml('Tasks'); ?></h1></header> <form>
<div class="inner"> <div class="portlet-head"><?= $this->getHtml('Tasks'); ?></div>
<table class="layout wf-100"> <div class="portlet-body">
<tr><td><label for="iETitle"><?= $this->getHtml('Title'); ?></label><td> <div class="form-group">
<tr><td><input type="text" id="iETitle" name="eTitle" required><td> <label for="iETitle"><?= $this->getHtml('Title'); ?></label>
<tr><td><label for="iEDescription"><?= $this->getHtml('Description'); ?></label><td> <input type="text" id="iETitle" name="eTitle" required>
<tr><td><textarea id="iEDescription" name="eDescription"></textarea><td> </div>
<tr><td><label for="iETime"><?= $this->getHtml('TimeInMinutes'); ?></label><td>
<tr><td><input type="number" min="0" step="1" id="iETime" name="eTime" value="0"><td> <div class="form-group">
<tr><td><label for="iEPermission"><?= $this->getHtml('Permissions'); ?></label><td> <label for="iEDescription"><?= $this->getHtml('Description'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="g-icon">book</i></button> <textarea id="iEDescription" name="eDescription"></textarea>
<input type="text" id="iEPermission" name="ePermission"></span> </div>
<td><button data-action=""><?= $this->getHtml('Add', '0', '0'); ?></button>
<tr><td><label for="iEFiles"><?= $this->getHtml('Files'); ?></label><td> <div class="form-group">
<tr><td><input id="iEFiles" name="eFiles" type="file" multiple><td> <label for="iETime"><?= $this->getHtml('TimeInMinutes'); ?></label>
<tr><td><input type="submit" name="createChecklistElement" value="<?= $this->getHtml('Add', '0', '0'); ?>" data-action=""><td> <input type="number" min="0" step="1" id="iETime" name="eTime" value="0">
</table> </div>
</div>
<div class="form-group">
<label for="iEPermission"><?= $this->getHtml('Permissions'); ?></label>
<span class="input"><button type="button" formaction=""><i class="g-icon">book</i></button>
<input type="text" id="iEPermission" name="ePermission">
</span>
<button data-action=""><?= $this->getHtml('Add', '0', '0'); ?></button>
</div>
<div class="form-group">
<label for="iEFiles"><?= $this->getHtml('Files'); ?></label>
<input id="iEFiles" name="eFiles" type="file" multiple>
</div>
</div>
<div class="portlet-foot">
<input type="submit" name="createChecklistElement" value="<?= $this->getHtml('Add', '0', '0'); ?>" data-action=""><td>
</div>
</form>
</section> </section>
</div> </div>
</div> </div>