|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / Mirasvit / Search / view / adminhtml / web / template / component / |
Filename | /home/Mirasvit/Search/view/adminhtml/web/template/component/attributes.html |
Size | 1.69 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 01-Jul-2024 20:52 |
Last modified | 06-Apr-2021 18:06 |
Last accessed | 28-Jan-2025 02:05 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<div class="search__component-attributes" data-bind="visible: attributes().length">
<table class="admin__control-table">
<thead>
<tr>
<th class="col-default">Attribute</th>
<th class="col-default">Weight</th>
<th class="col-delete"></th>
</tr>
</thead>
<tbody data-bind="foreach: weights">
<tr>
<td class="col-default">
<span data-bind="scope: guid, mageInit: $parent.attributesSelect($data)">
<!-- ko template: getTemplate() --><!-- /ko -->
</span>
</td>
<td class="col-default">
<select data-bind="options: $parent.weightSource, optionsText: 'label', optionsValue: 'value', value: weight"
class="admin__control-select"></select>
</td>
<td class="col-delete">
<button type="button" class="scalable" data-bind="click: $parent.handleDelete">
<span><i class="fa fa-fw fa-close"></i> Delete</span>
</button>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="3" class="col-actions-add">
<button type="button" class="scalable" data-bind="click: handleAdd">
<span><i class="fa fa-fw fa-plus"></i> Add Attribute</span>
</button>
<p style="float:right">1 - minimum weight, 10 - maximum weight</p>
</th>
</tr>
</tfoot>
</table>
</div>
<div class="search__component-attributes" data-bind="visible: !attributes().length">
<div class="message">Please select search index type</div>
</div>
<table class="admin__control-table">
<thead>
<tr>
<th class="col-default">Attribute</th>
<th class="col-default">Weight</th>
<th class="col-delete"></th>
</tr>
</thead>
<tbody data-bind="foreach: weights">
<tr>
<td class="col-default">
<span data-bind="scope: guid, mageInit: $parent.attributesSelect($data)">
<!-- ko template: getTemplate() --><!-- /ko -->
</span>
</td>
<td class="col-default">
<select data-bind="options: $parent.weightSource, optionsText: 'label', optionsValue: 'value', value: weight"
class="admin__control-select"></select>
</td>
<td class="col-delete">
<button type="button" class="scalable" data-bind="click: $parent.handleDelete">
<span><i class="fa fa-fw fa-close"></i> Delete</span>
</button>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="3" class="col-actions-add">
<button type="button" class="scalable" data-bind="click: handleAdd">
<span><i class="fa fa-fw fa-plus"></i> Add Attribute</span>
</button>
<p style="float:right">1 - minimum weight, 10 - maximum weight</p>
</th>
</tr>
</tfoot>
</table>
</div>
<div class="search__component-attributes" data-bind="visible: !attributes().length">
<div class="message">Please select search index type</div>
</div>