Skip to content

Commit

Permalink
🚀 Update ticketIndex.blade.php update table ui .main 4xmen#33
Browse files Browse the repository at this point in the history
  • Loading branch information
YasinDehfuli committed Feb 6, 2024
1 parent 1a01c13 commit 364ea95
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions resources/views/admin/ticket/ticketIndex.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
</div>
<form action="{{route('admin.ticket.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Title")}}
Expand All @@ -42,13 +42,16 @@
{{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}}
{{-- class="fa fa-plus"></i></a>--}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($tickets as $ticket)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$ticket->id}}" class="m-2 chkbox"/>
{{$ticket->id}}
</td>
<td>
{{$ticket->title}}
Expand All @@ -63,15 +66,16 @@
</td>
<td>
<a href="{{route('admin.ticket.edit',$ticket->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp;
{{__("Edit")}} / {{__("Answer")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.ticket.delete',$ticket->id)}}"
class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> &nbsp;
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$ticket->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
Expand Down

0 comments on commit 364ea95

Please sign in to comment.