mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-01-11 14:28:40 +00:00
Fix paths
This commit is contained in:
parent
baf4c5dd17
commit
fc8a61e1b7
|
|
@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<section class="box w-100">
|
||||
<div class="inner">
|
||||
<form id="drawForm" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/draw?csrf={$CSRF}'); ?>" method="POST">
|
||||
<input type="text" class="wf-100"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||
<input type="text" id="iTitle" name="title" class="wf-100"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
|||
$footerView->setPages(20);
|
||||
$footerView->setPage(1);
|
||||
|
||||
$images = $this->getData('images');
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
<div class="box">
|
||||
<table class="table">
|
||||
|
|
@ -35,7 +37,12 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tr>
|
||||
<td colspan="3"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||
<?php $count = 0; foreach($images as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/draw/single?id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td><?= $value->getMedia()->getName(); ?>
|
||||
<td><?= $value->getMedia()->getCreatedBy(); ?>
|
||||
<td><?= $value->getMedia()->getCreatedAt()->format('Y-m-d'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user