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

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

@ -22,11 +22,11 @@
</div> </div>
<form action="{{route('admin.ticket.bulk')}}" method="post" class="bulk-action"> <form action="{{route('admin.ticket.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")}}
@ -42,13 +42,16 @@
{{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}} {{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}}
{{-- class="fa fa-plus"></i></a>--}} {{-- class="fa fa-plus"></i></a>--}}
</th> </th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach ($tickets as $ticket) @foreach ($tickets as $ticket)
<tr> <tr>
<td> <td>
<input type="checkbox" name="id[]" value="{{$ticket->id}}" class="m-2 chkbox"/> {{$ticket->id}}
</td> </td>
<td> <td>
{{$ticket->title}} {{$ticket->title}}
@ -63,15 +66,16 @@
</td> </td>
<td> <td>
<a href="{{route('admin.ticket.edit',$ticket->id)}}" class="btn btn-primary"> <a href="{{route('admin.ticket.edit',$ticket->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp; <i class="ri-edit-2-line"></i>
{{__("Edit")}} / {{__("Answer")}}
</a> </a>
<a href="{{route('admin.ticket.delete',$ticket->id)}}" <a href="{{route('admin.ticket.delete',$ticket->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="{{$ticket->id}}" class="m-2 chkbox"/>
</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>

Loading…
Cancel
Save