mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-16 23:38:41 +00:00
Fix template ids
This commit is contained in:
parent
16d49c4b3e
commit
1cb2211636
|
|
@ -2,7 +2,7 @@
|
||||||
<button type="button" data-action='[
|
<button type="button" data-action='[
|
||||||
{
|
{
|
||||||
"listener": "click", "action": [
|
"listener": "click", "action": [
|
||||||
{"key": 1, "type": "dom.popup", "selector": "#acc-grp-tpl", "aniIn": "fadeIn"},
|
{"key": 1, "type": "dom.popup", "selector": "#acc-grp-tpl", "aniIn": "fadeIn", "id": "<?= $this->printHtml($this->getId()); ?>"},
|
||||||
{"key": 2, "type": "message.request", "uri": "<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/admin/account?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"},
|
{"key": 2, "type": "message.request", "uri": "<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/admin/account?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"},
|
||||||
{"key": 3, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1},
|
{"key": 3, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1},
|
||||||
{"key": 4, "type": "message.request", "uri": "<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/admin/account?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"},
|
{"key": 4, "type": "message.request", "uri": "<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/admin/account?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"},
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,10 @@
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<form id="fAccSelector" method="GET" action="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/admin/accgrp'); ?>">
|
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td colspan="2"><label for="iSearchAcc">Search</label>
|
<tr><td colspan="2"><label for="iSearchAcc">Search</label>
|
||||||
<tr><td><input type="text" id="iSearchAcc" name="receiver-search" data-action='[
|
<tr><td colspan="2"><input type="text" id="iSearchAcc" name="receiver-search" data-action='[
|
||||||
{
|
{
|
||||||
"listener": "keyup", "action": [
|
"listener": "keyup", "action": [
|
||||||
{"key": 1, "type": "utils.timer", "id": "iSearchAcc", "delay": 500, "resets": true},
|
{"key": 1, "type": "utils.timer", "id": "iSearchAcc", "delay": 500, "resets": true},
|
||||||
|
|
@ -26,7 +25,7 @@
|
||||||
{"key": 4, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1}
|
{"key": 4, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]' autocomplete="off"><td>
|
]' autocomplete="off">
|
||||||
<tr><td colspan="2">
|
<tr><td colspan="2">
|
||||||
<table id="acc-table" class="table">
|
<table id="acc-table" class="table">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
@ -42,9 +41,9 @@
|
||||||
{
|
{
|
||||||
"key": 1, "listener": "click", "selector": "#acc-table tbody tr", "action": [
|
"key": 1, "listener": "click", "selector": "#acc-table tbody tr", "action": [
|
||||||
{"key": 1, "type": "dom.getvalue", "base": "self", "selector": ""},
|
{"key": 1, "type": "dom.getvalue", "base": "self", "selector": ""},
|
||||||
{"key": 2, "type": "dom.setvalue", "overwrite": false, "selector": "#<?= $this->printHtml($this->getId()); ?>-idlist", "value": "{0/id}", "data": ""},
|
{"key": 2, "type": "dom.setvalue", "overwrite": false, "selector": "#{$id}-idlist", "value": "{0/id}", "data": ""},
|
||||||
{"key": 3, "type": "dom.setvalue", "overwrite": false, "selector": "#<?= $this->printHtml($this->getId()); ?>-taglist", "value": "<span id=\"<?= $this->printHtml($this->getId()); ?>-taglist-{0/id}\" class=\"tag red\" data-id=\"{0/id}\"><i class=\"fa fa-times\"></i> {0/name/0}, {0/name/1}<span>", "data": ""},
|
{"key": 3, "type": "dom.setvalue", "overwrite": false, "selector": "#{$id}-taglist", "value": "<span id=\"{$id}-taglist-{0/id}\" class=\"tag red\" data-id=\"{0/id}\"><i class=\"fa fa-times\"></i> {0/name/0}, {0/name/1}<span>", "data": ""},
|
||||||
{"key": 4, "type": "dom.setvalue", "overwrite": true, "selector": "#<?= $this->printHtml($this->getId()); ?>", "value": "", "data": ""}
|
{"key": 4, "type": "dom.setvalue", "overwrite": true, "selector": "#{$id}", "value": "", "data": ""}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]'>
|
]'>
|
||||||
|
|
@ -58,11 +57,9 @@
|
||||||
}
|
}
|
||||||
]'><?= $this->getHtml('Close', 'Admin') ?></button>
|
]'><?= $this->getHtml('Close', 'Admin') ?></button>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
<input type="radio" id="c-tab-2" name="tabular-2">
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<form id="fGrpSelector" method="GET" action="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/admin/accgrp'); ?>">
|
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td colspan="2"><label for="iSearchGrp">Search</label>
|
<tr><td colspan="2"><label for="iSearchGrp">Search</label>
|
||||||
|
|
@ -94,7 +91,6 @@
|
||||||
}
|
}
|
||||||
]'><?= $this->getHtml('Close', 'Admin') ?></button>
|
]'><?= $this->getHtml('Close', 'Admin') ?></button>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user