|
|
@ -7,9 +7,6 @@
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
<h1>
|
|
|
|
<h1>
|
|
|
|
{{__("Poll list")}}
|
|
|
|
{{__("Poll list")}}
|
|
|
|
<a href="{{route('admin.poll.create')}}" class="btn btn-success float-start">
|
|
|
|
|
|
|
|
{{__("New Poll")}}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
|
@include('starter-kit::component.err')
|
|
|
|
@include('starter-kit::component.err')
|
|
|
|
<div class="alert alert-dark">
|
|
|
|
<div class="alert alert-dark">
|
|
|
@ -29,11 +26,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
<form action="{{route('admin.poll.bulk')}}" method="post" class="bulk-action">
|
|
|
|
<form action="{{route('admin.poll.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")}}
|
|
|
@ -46,8 +43,9 @@
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
{{__("Action")}}
|
|
|
|
{{__("Action")}}
|
|
|
|
<a href="{{route('admin.poll.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>
|
|
|
@ -55,7 +53,6 @@
|
|
|
|
@foreach($polls as $pl)
|
|
|
|
@foreach($polls as $pl)
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
|
|
|
|
|
|
|
|
{{$pl->id}}
|
|
|
|
{{$pl->id}}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
@ -69,12 +66,15 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="{{route('admin.poll.edit',$pl->slug)}}" class="btn btn-secondary">
|
|
|
|
<a href="{{route('admin.poll.edit',$pl->slug)}}" class="btn btn-secondary">
|
|
|
|
{{__("Edit")}}
|
|
|
|
<i class="ri-edit-2-fill"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<a href="{{route('admin.poll.delete',$pl->slug)}}" class="btn btn-danger del-conf">
|
|
|
|
<a href="{{route('admin.poll.delete',$pl->slug)}}" class="btn btn-danger del-conf">
|
|
|
|
{{__("Delete")}}
|
|
|
|
<i class="ri-close-line"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
@ -84,4 +84,7 @@
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
{{$polls->links()}}
|
|
|
|
{{$polls->links()}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a class="btn-add" href="{{route('admin.poll.create')}}">
|
|
|
|
|
|
|
|
<i class="ri-add-line"></i>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
@endsection
|
|
|
|
@endsection
|
|
|
|