add view for kelola admin menu
This commit is contained in:
parent
ba81b2a28d
commit
6e23de7813
|
|
@ -3,6 +3,21 @@
|
||||||
@section('title', 'Kelola Admin')
|
@section('title', 'Kelola Admin')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
{{-- ALERT SUKSES --}}
|
||||||
|
@if (session('success'))
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
{{ session('success') }}
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
{{-- ALERT ERROR UMUM (Jika ada error selain validasi modal) --}}
|
||||||
|
@if (session('error'))
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
{{ session('error') }}
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="buttons pb-3">
|
<div class="buttons pb-3">
|
||||||
<a href="#" class="btn-add-custom" data-bs-toggle="modal" data-bs-target="#create">
|
<a href="#" class="btn-add-custom" data-bs-toggle="modal" data-bs-target="#create">
|
||||||
|
|
@ -59,11 +74,7 @@ class="badge rounded-pill px-3 py-2
|
||||||
@include('admin.kelola-admin.partials.modal-delete')
|
@include('admin.kelola-admin.partials.modal-delete')
|
||||||
@empty
|
@empty
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="6" class="text-center p-4">
|
<td colspan="4" class="text-center text-muted">Belum ada data admin.</td>
|
||||||
<div class="alert alert-light-secondary color-secondary">
|
|
||||||
<i class="bi bi-exclamation-circle"></i> Belum ada data paket foto.
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
@endforelse
|
@endforelse
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
@ -73,5 +84,4 @@ class="badge rounded-pill px-3 py-2
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
@include('admin.kelola-admin.partials.modal-create')
|
@include('admin.kelola-admin.partials.modal-create')
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue