[Bug] On relation in HTML Builder
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
{{$dataTable->table()}}
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div id="tree1" data-url="{{ route('Shop.Categories.getTree') }}"></div>
|
||||
@include('Shop.Admin.Categories.partials.tree')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,15 +25,5 @@
|
||||
|
||||
@push('scripts')
|
||||
@include('components.js.datatable', ['route' => '/Shop/Admin/Categories', 'model' => 'categories'])
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#tree1').tree({
|
||||
dragAndDrop: true,
|
||||
autoOpen: 0
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@endpush
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
<i class="fas fa-sort"></i>
|
||||
Gestion du menu
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div id="tree1" data-url="{{ route('Shop.Categories.getTree') }}"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
$(function() {
|
||||
$('#tree1').tree({
|
||||
dragAndDrop: true,
|
||||
autoOpen: 0
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<title>{{ $title }} | {{ config('app.name') }}</title>
|
||||
<link rel="stylesheet" href="{{ mix('/adminlte.min.css', '/assets/vendor/boilerplate') }}">
|
||||
<link rel="stylesheet" href="{{ mix('/css/app.css') }}">
|
||||
<link rel="stylesheet" href="/css/main.min.css">
|
||||
@stack('css')
|
||||
</head>
|
||||
<body class="layout-fixed layout-navbar-fixed sidebar-mini">
|
||||
|
||||
Reference in New Issue
Block a user