🚀 Update Website content category table ui .main #33

pull/36/head
YasinDehfuli 1 year ago
parent 364ea951f2
commit 8f84e21992

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

@ -7,9 +7,6 @@
<div class="container"> <div class="container">
<h1> <h1>
{{__("Advertise list")}} {{__("Advertise list")}}
<a href="{{route('admin.adv.create')}}" class="btn btn-success float-start">
{{__("New Advertise")}}
</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.adv.bulk')}}" method="post" class="bulk-action"> <form action="{{route('admin.adv.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")}}
@ -52,8 +49,9 @@
</th> </th>
<th> <th>
{{__("Action")}} {{__("Action")}}
<a href="{{route('admin.adv.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>
@ -61,7 +59,6 @@
@foreach($advs as $pl) @foreach($advs 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>
@ -81,12 +78,15 @@
</td> </td>
<td> <td>
<a href="{{route('admin.adv.edit',$pl->id)}}" class="btn btn-secondary"> <a href="{{route('admin.adv.edit',$pl->id)}}" class="btn btn-secondary">
{{__("Edit")}} <i class="ri-edit-2-line"></i>
</a> </a>
<a href="{{route('admin.adv.delete',$pl->id)}}" class="btn btn-danger del-conf"> <a href="{{route('admin.adv.delete',$pl->id)}}" 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>
@ -96,4 +96,7 @@
<br> <br>
{{$advs->links()}} {{$advs->links()}}
</div> </div>
<a class="btn-add" href="{{route('admin.adv.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection @endsection

@ -9,11 +9,11 @@
@include('starter-kit::component.err') @include('starter-kit::component.err')
<form action="{{route('admin.category.bulk')}}" method="post" class="bulk-action"> <form action="{{route('admin.category.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>
{{__("Name")}} {{__("Name")}}
@ -24,13 +24,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>
@ -54,6 +56,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>

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

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

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

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

@ -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

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

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

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

Loading…
Cancel
Save