mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-01 10:18:42 +00:00
small display improvements
This commit is contained in:
parent
01ba242489
commit
ae4b0ae8a6
|
|
@ -25,6 +25,7 @@ use phpOMS\Utils\IO\Csv\CsvSettings;
|
|||
<div class="tab-content">
|
||||
<input type="radio" id="media-c-tab-1" name="tabular-1" checked>
|
||||
<div class="tab">
|
||||
<div class="slider">
|
||||
<table class="default">
|
||||
<?php
|
||||
$f = \fopen(($this->media->isAbsolute ? '' : __DIR__ . '/../../../../../../') . $this->media->getPath(), 'r');
|
||||
|
|
@ -40,6 +41,7 @@ use phpOMS\Utils\IO\Csv\CsvSettings;
|
|||
\fclose($f);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<input type="radio" id="media-c-tab-2" name="tabular-1">
|
||||
<div class="tab">
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ $next = empty($this->media)
|
|||
?>
|
||||
<div class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('Media', 'Media'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||
<div class="slider">
|
||||
<table class="default">
|
||||
<thead>
|
||||
<td>
|
||||
|
|
@ -56,6 +57,7 @@ $next = empty($this->media)
|
|||
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ Autoloader::addPath(__DIR__ . '/../../../../../../Resources/');
|
|||
$data = \ob_get_clean();
|
||||
$csv = \explode("\n", \trim($data, "\n"));
|
||||
?>
|
||||
<div class="slider">
|
||||
<table class="default">
|
||||
<?php
|
||||
foreach ($csv as $line) {
|
||||
|
|
@ -68,6 +69,7 @@ Autoloader::addPath(__DIR__ . '/../../../../../../Resources/');
|
|||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user