🚀 Update Website content category table ui .main #33

pull/36/head
YasinDehfuli 3 months ago
parent 364ea951f2
commit 8f84e21992

@ -7,9 +7,12 @@
<div class="container">
@include('starter-kit::component.err')
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
#
</th>
<th>
{{__("User")}}
</th>
@ -27,6 +30,9 @@
<tbody>
@foreach ($logs as $log)
<tr>
<td>
{{$log->id}}
</td>
<td>
{{$log->user->name}}
</td>

@ -7,9 +7,6 @@
<div class="container">
<h1>
{{__("Advertise list")}}
<a href="{{route('admin.adv.create')}}" class="btn btn-success float-start">
{{__("New Advertise")}}
</a>
</h1>
@include('starter-kit::component.err')
<div class="alert alert-dark">
@ -29,11 +26,11 @@
<form action="{{route('admin.adv.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")}}
@ -52,8 +49,9 @@
</th>
<th>
{{__("Action")}}
<a href="{{route('admin.adv.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -61,7 +59,6 @@
@foreach($advs as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -81,12 +78,15 @@
</td>
<td>
<a href="{{route('admin.adv.edit',$pl->id)}}" class="btn btn-secondary">
{{__("Edit")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.adv.delete',$pl->id)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -96,4 +96,7 @@
<br>
{{$advs->links()}}
</div>
<a class="btn-add" href="{{route('admin.adv.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

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

@ -7,9 +7,6 @@
<div class="container">
<h1>
{{__("Clip list")}}
<a href="{{route('admin.clip.create')}}" class="btn btn-success float-start">
{{__("New Clip")}}
</a>
</h1>
@include('starter-kit::component.err')
<div class="alert alert-dark">
@ -29,11 +26,11 @@
<form action="{{route('admin.clip.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")}}
@ -47,13 +44,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach($clips as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -79,6 +78,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -26,11 +26,11 @@
</div>
<form action="{{route('admin.comment.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>
{{__("name / email")}}
@ -43,8 +43,9 @@
</th>
<th colspan="2">
{{__("Action")}}
<a href="{{route('admin.post.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -52,7 +53,6 @@
@foreach ($comments as $c)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$c->id}}" class="m-2 chkbox"/>
{{$c->id}}
</td>
<td>
@ -99,6 +99,9 @@
<i class="fa fa-times"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$c->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -109,4 +112,7 @@
{{$comments->links()}}
</div>
</div>
<a class="btn-add" href="{{route('admin.post.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -23,11 +23,11 @@
</div>
<form action="{{route('admin.gallery.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>
{{__("Image")}}
@ -41,13 +41,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($galleries as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -76,6 +78,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -10,11 +10,11 @@
</h1>
@include('starter-kit::component.err')
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
-
#
</th>
<th>
{{__("Name")}}
@ -34,11 +34,11 @@
{{$menu->name}}
</td>
<td>
<a href="{{route('admin.menu.manage',$menu->id)}}" class="btn btn-secondary">
{{__("Manage")}}
<a href="{{route('admin.menu.manage',$menu->id)}}" class="btn btn-primary">
<i class="ri-edit-2-fill"></i>
</a>
<a href="{{route('admin.menu.delete',$menu->id)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
</tr>

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

@ -23,11 +23,11 @@
</div>
<form action="{{route('admin.post.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>
{{__("Image")}}
@ -41,13 +41,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($posts as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -76,6 +78,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -27,11 +27,11 @@
<form action="{{route('admin.slider.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>
{{__("Image")}}
@ -42,13 +42,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach($sliders as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -71,6 +73,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -7,15 +7,12 @@
<div class="container">
<h1>
{{__("User list")}}
<a href="{{route('admin.user.create')}}" class="btn btn-success float-start">
{{__("New user")}}
</a>
</h1>
@include('starter-kit::component.err')
<table class="table table-bordered table-striped">
<table class="table table-bordered table-striped text-center">
<tr>
<th>
{{__("id")}}
#
</th>
<th>
{{__("Username")}}
@ -45,14 +42,14 @@
{{$user->mobile}}
</td>
<td>
<a href="{{route('admin.user.edit',$user->id)}}" class="btn btn-secondary">
{{__("Edit")}}
<a href="{{route('admin.user.edit',$user->id)}}" class="btn btn-primary">
<i class="ri-edit-2-fill"></i>
</a>
<a href="{{route('admin.user.delete',$user->id)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
<a href="{{route('admin.logs.user',$user->id)}}" class="btn btn-dark">
{{__("Logs")}}
<i class="ri-news-line"></i>
</a>
</td>
</tr>
@ -60,4 +57,7 @@
</table>
{{$users->links()}}
</div>
<a class="btn-add" href="{{route('admin.user.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

Loading…
Cancel
Save