🚀 Update tables improve ui .main #33

pull/36/head
YasinDehfuli 1 year ago
parent f67bb76fc0
commit 0b01722f3a

@ -9,11 +9,11 @@
@include('starter-kit::component.err') @include('starter-kit::component.err')
<form action="{{route('admin.cat.bulk')}}" method="post" class="bulk-action" > <form action="{{route('admin.cat.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>
{{__("Image")}} {{__("Image")}}
@ -27,13 +27,15 @@
<th> <th>
{{__("Action")}} {{__("Action")}}
</th> </th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach ($cats as $cat) @foreach ($cats as $cat)
<tr> <tr>
<td> <td>
<input type="checkbox" name="id[]" value="{{$cat->id}}" class="m-2 chkbox"/>
{{$cat->id}} {{$cat->id}}
</td> </td>
<td> <td>
@ -60,6 +62,9 @@
</a> </a>
@endif @endif
</td> </td>
<td>
<input type="checkbox" name="id[]" value="{{$cat->id}}" class="m-2 chkbox"/>
</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>

@ -34,9 +34,9 @@
</div> </div>
<form action="{{route('admin.product.bulk')}}" method="post" class="bulk-action"> <form action="{{route('admin.product.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 class="text-center"> <tr>
<th> <th>
# #
</th> </th>
@ -59,7 +59,7 @@
</thead> </thead>
<tbody> <tbody>
@foreach ($products as $n) @foreach ($products as $n)
<tr class="text-center"> <tr>
<td> <td>
{{$n->id}} {{$n->id}}
</td> </td>

Loading…
Cancel
Save