fix spaces

This commit is contained in:
1Day 2021-12-14 16:08:51 +01:00
parent d572a603d3
commit d9b9eb369e

View file

@ -12,7 +12,8 @@
<ol class="breadcrumb float-sm-right"> <ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li> <li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li>
<li class="breadcrumb-item"><a class="text-muted" <li class="breadcrumb-item"><a class="text-muted"
href="{{route('admin.products.index')}}">{{__('Products')}}</a></li> href="{{route('admin.products.index')}}">{{__('Products')}}</a>
</li>
</ol> </ol>
</div> </div>
</div> </div>
@ -40,7 +41,6 @@
<table id="datatable" class="table table-striped"> <table id="datatable" class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>{{__('Active')}}</th> <th>{{__('Active')}}</th>
<th>{{__('Name')}}</th> <th>{{__('Name')}}</th>
<th>{{__('Price')}}</th> <th>{{__('Price')}}</th>
@ -54,7 +54,6 @@
<th>{{__('Eggs')}}</th> <th>{{__('Eggs')}}</th>
<th>{{__('Servers')}}</th> <th>{{__('Servers')}}</th>
<th>{{__('Created at')}}</th> <th>{{__('Created at')}}</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
@ -73,19 +72,19 @@
<script> <script>
function submitResult() { function submitResult() {
return confirm("{{__('Are you sure you wish to delete?')}}") !== false; return confirm("{{__('Are you sure you wish to delete?')}}") !== false;
} }
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
$("#datatable").DataTable({ $("#datatable").DataTable({
language: { language: {
url: '//cdn.datatables.net/plug-ins/1.11.3/i18n/{{config("app.datatable_locale")}}.json' url: '//cdn.datatables.net/plug-ins/1.11.3/i18n/{{config("app.datatable_locale")}}.json'
}, },
processing: true, processing: true,
serverSide: true, serverSide: true,
stateSave: true, stateSave: true,
order: [ order: [
[ 2, "asc" ] [2, "asc"]
], ],
ajax: "{{ route('admin.products.datatable') }}", ajax: "{{ route('admin.products.datatable') }}",
columns: [ columns: [
@ -113,4 +112,4 @@
@endsection @endsection