mirror of https://github.com/4xmen/xshop.git
parent
6b1b8baeaa
commit
d885ce07be
@ -0,0 +1,26 @@
|
|||||||
|
@extends('layouts.app')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div id="sort-control">
|
||||||
|
<ol class="ol-sortable">
|
||||||
|
@foreach(\App\Models\Prop::orderBy('sort')->get() as $prop)
|
||||||
|
<li data-id="{{$prop->id}}" class="p-2">
|
||||||
|
<i class="ri-drag-move-2-line"></i>
|
||||||
|
{{$prop->label}} [{{$prop->name}}]
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" id="sort-data" >
|
||||||
|
<button
|
||||||
|
data-link="{{getRoute('sort-save')}}"
|
||||||
|
id="save-sort"
|
||||||
|
class="action-btn circle-btn"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
data-bs-placement="top"
|
||||||
|
data-bs-custom-class="custom-tooltip"
|
||||||
|
data-bs-title="{{__("Save")}}"
|
||||||
|
>
|
||||||
|
<i class="ri-save-2-line"></i>
|
||||||
|
</button>
|
||||||
|
@endsection
|
Loading…
Reference in New Issue