mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-02 14:48:40 +00:00
start implementing portlets
This commit is contained in:
parent
cb944a9099
commit
3e85dcf49d
|
|
@ -12,6 +12,8 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use phpOMS\Uri\UriFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
*/
|
*/
|
||||||
|
|
@ -21,10 +23,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
<section class="box wf-100">
|
<div class="portlet">
|
||||||
<header><h1><?= $this->getHtml('Report'); ?></h1></header>
|
<form id="helper-report-create" action="<?= UriFactory::build('{/api}helper/report/report'); ?>" method="post">
|
||||||
<div class="inner">
|
<div class="portlet-head"><?= $this->getHtml('Report'); ?></div>
|
||||||
<form id="helper-report-create" action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/report/report'); ?>" method="post">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||||
|
|
@ -35,11 +37,13 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<option value="<?= $this->printHtml($key); ?>"><?= $this->printHtml($value->getName()); ?>
|
<option value="<?= $this->printHtml($key); ?>"><?= $this->printHtml($value->getName()); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><input type="submit" id="iReportCreateButton" name="reportCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
<div class="portlet-foot">
|
||||||
</section>
|
<input type="submit" id="iReportCreateButton" name="reportCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
|
|
|
||||||
|
|
@ -12,18 +12,19 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use phpOMS\Uri\UriFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
*/
|
*/
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
<section class="box wf-100">
|
<div class="portlet">
|
||||||
<header><h1><?= $this->getHtml('Template'); ?></h1></header>
|
<form id="helper-template-create" action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/report/template'); ?>" method="post">
|
||||||
<div class="inner">
|
<div class="portlet-head"><?= $this->getHtml('Template'); ?></div>
|
||||||
<form id="helper-template-create" action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/report/template'); ?>" method="post">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100" style="table-layout: fixed">
|
<table class="layout wf-100" style="table-layout: fixed">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||||
|
|
@ -42,11 +43,13 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="ipt-first"><input id="iExpected" type="text" placeholder=" file.csv"><input name="expected" type="hidden"></div>
|
<div class="ipt-first"><input id="iExpected" type="text" placeholder=" file.csv"><input name="expected" type="hidden"></div>
|
||||||
<div class="ipt-second"><button><?= $this->getHtml('Add', '0', '0'); ?></button></div>
|
<div class="ipt-second"><button><?= $this->getHtml('Add', '0', '0'); ?></button></div>
|
||||||
</div>
|
</div>
|
||||||
<tr><td><input type="submit" id="iReportTemplateCreateButton" name="reportTemplateCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
<div class="portlet-foot">
|
||||||
</section>
|
<input type="submit" id="iReportTemplateCreateButton" name="reportTemplateCreateButton" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user