mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-15 17:28:41 +00:00
table sorting improvements
This commit is contained in:
parent
8fa0eef5b7
commit
7d46a3ae86
|
|
@ -199,7 +199,11 @@ final class Importer extends ImporterAbstract
|
||||||
|
|
||||||
foreach ($keys as $key => $values) {
|
foreach ($keys as $key => $values) {
|
||||||
\fwrite($fp,
|
\fwrite($fp,
|
||||||
" '" . $key . "'" . \str_repeat(' ', $keyLengths[$module][$theme][$file] - \strlen($key)) . " => '" . \str_replace(['\'', '\\'], ['\\\'', '\\\\'], $values[$language] ?? '') . "',\n"
|
" '" . $key . "'"
|
||||||
|
. \str_repeat(' ', $keyLengths[$module][$theme][$file] - \strlen($key))
|
||||||
|
. " => '"
|
||||||
|
. \str_replace(['\'', '\\'], ['\\\'', '\\\\'], $values[$language] ?? '')
|
||||||
|
. "',\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,21 @@ echo $this->getData('nav')->render();
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Exports'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Exports'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
<table class="default">
|
<table id="exportList" class="default">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="wf-100"><?= $this->getHtml('Title'); ?>
|
<td class="wf-100"><?= $this->getHtml('Title'); ?>
|
||||||
|
<label for="exportList-sort-1">
|
||||||
|
<input type="radio" name="exportList-sort" id="exportList-sort-1">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exportList-sort-2">
|
||||||
|
<input type="radio" name="exportList-sort" id="exportList-sort-2">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
|
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/exchange/export/profile?{?}&id=' . $value->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/exchange/export/profile?{?}&id=' . $value->getId()); ?>
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,21 @@ echo $this->getData('nav')->render();
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Imports'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Imports'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
<table class="default">
|
<table id="importList" class="default">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="wf-100"><?= $this->getHtml('Title'); ?>
|
<td class="wf-100"><?= $this->getHtml('Title'); ?>
|
||||||
|
<label for="importList-sort-1">
|
||||||
|
<input type="radio" name="importList-sort" id="importList-sort-1">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="importList-sort-2">
|
||||||
|
<input type="radio" name="importList-sort" id="importList-sort-2">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
|
<?php $count = 0; foreach ($interfaces as $key => $value) : ++$count;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
|
||||||
|
|
|
||||||
|
|
@ -27,11 +27,77 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
|
<label for="exchangeLogs-sort-1">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-1">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exchangeLogs-sort-2">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-2">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<td><?= $this->getHtml('Type'); ?>
|
<td><?= $this->getHtml('Type'); ?>
|
||||||
|
<label for="exchangeLogs-sort-3">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-3">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exchangeLogs-sort-4">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-4">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<td><?= $this->getHtml('Subtype'); ?>
|
<td><?= $this->getHtml('Subtype'); ?>
|
||||||
|
<label for="exchangeLogs-sort-5">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-5">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exchangeLogs-sort-6">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-6">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<td class="wf-100"><?= $this->getHtml('Exchange'); ?>
|
<td class="wf-100"><?= $this->getHtml('Exchange'); ?>
|
||||||
|
<label for="exchangeLogs-sort-7">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-7">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exchangeLogs-sort-8">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-8">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<td><?= $this->getHtml('CreatedBy'); ?>
|
<td><?= $this->getHtml('CreatedBy'); ?>
|
||||||
|
<label for="exchangeLogs-sort-9">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-9">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exchangeLogs-sort-0">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-0">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<td><?= $this->getHtml('CreatedAt'); ?>
|
<td><?= $this->getHtml('CreatedAt'); ?>
|
||||||
|
<label for="exchangeLogs-sort-11">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-11">
|
||||||
|
<i class="sort-asc fa fa-chevron-up"></i>
|
||||||
|
</label>
|
||||||
|
<label for="exchangeLogs-sort-12">
|
||||||
|
<input type="radio" name="exchangeLogs-sort" id="exchangeLogs-sort-12">
|
||||||
|
<i class="sort-desc fa fa-chevron-down"></i>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<i class="filter fa fa-filter"></i>
|
||||||
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($logs as $key => $value) :
|
<?php $count = 0; foreach ($logs as $key => $value) :
|
||||||
++$count;
|
++$count;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user