🚀 Update transportIndex.blade.php update table ui .main #33

pull/36/head
YasinDehfuli 9 months ago
parent adf9d72e96
commit 1a01c1387f

@ -10,11 +10,11 @@
@include('starter-kit::component.err') @include('starter-kit::component.err')
<form action="{{route('admin.transport.bulk')}}" method="post" class="bulk-action"> <form action="{{route('admin.transport.bulk')}}" method="post" class="bulk-action">
@csrf @csrf
<table class="table table-striped table-bordered "> <table class="table table-striped table-bordered text-center">
<thead class="thead-dark"> <thead class="thead-dark">
<tr> <tr>
<th> <th>
<input type="checkbox" class="chkall"/> #
</th> </th>
<th> <th>
{{__("Title")}} {{__("Title")}}
@ -24,8 +24,9 @@
</th> </th>
<th> <th>
{{__("Action")}} {{__("Action")}}
<a href="{{route('admin.transport.create')}}" class="btn btn-success float-start"><i </th>
class="fa fa-plus"></i></a> <th>
<input type="checkbox" class="chkall"/>
</th> </th>
</tr> </tr>
</thead> </thead>
@ -33,7 +34,6 @@
@foreach ($transports as $n) @foreach ($transports as $n)
<tr> <tr>
<td> <td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}} {{$n->id}}
</td> </td>
<td> <td>
@ -44,15 +44,16 @@
</td> </td>
<td> <td>
<a href="{{route('admin.transport.edit',$n->id)}}" class="btn btn-primary"> <a href="{{route('admin.transport.edit',$n->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp; <i class="ri-edit-2-line"></i>
{{__("Edit")}}
</a> </a>
<a href="{{route('admin.transport.delete',$n->id)}}" <a href="{{route('admin.transport.delete',$n->id)}}"
class="btn btn-danger delete-confirm"> class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> &nbsp; <i class="ri-close-line"></i>
{{__("Delete")}}
</a> </a>
</td> </td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
@ -62,5 +63,8 @@
<div class="text-center pt-3"> <div class="text-center pt-3">
{{$transports->links()}} {{$transports->links()}}
</div> </div>
<a class="btn-add" href="{{route('admin.transport.create')}}">
<i class="ri-add-line"></i>
</a>
</div> </div>
@endsection @endsection

Loading…
Cancel
Save