replace knockout-sortable with html5 native

This commit is contained in:
djmaze 2020-09-20 23:15:06 +02:00
parent e1d3a143f4
commit 4e449b9c66
13 changed files with 94 additions and 605 deletions

View file

@ -14,7 +14,7 @@
<br />
<br />
<br />
<div class="templates-list-wrp">
<div>
<div class="templates-list-top-padding"></div>
<table class="table table-hover list-table templates-list" data-bind="i18nUpdate: templates">
<colgroup>
@ -22,8 +22,8 @@
<col style="width: 150px" />
<col style="width: 1%" />
</colgroup>
<tbody data-bind="sortable: {data: templates, options: scrollableOptions('.templates-list-wrp')}">
<tr class="template-item">
<tbody data-bind="foreach: templates">
<tr class="template-item" draggable="true" data-bind="sortableItem: { list: $root.templates }">
<td class="e-action">
<span class="template-img icon-user"></span>
<i class="icon-braille drag-handle"></i>
@ -45,4 +45,4 @@
</table>
</div>
</div>
</div>
</div>