Refactor beranda-pemilik view for improved structure and readability

This commit is contained in:
LailaWulandarii 2025-12-20 23:30:36 +07:00
parent 7fb24a1104
commit 28df69a7d4
1 changed files with 226 additions and 146 deletions

View File

@ -1,180 +1,260 @@
@extends('layouts.admin')
@section('title', 'Beranda') @section('content')
@section('title', 'Beranda')
<section class="row">
<div class="col-12 col-lg-12">
<div class="row">
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon purple mb-2">
<i class="iconly-boldShow"></i>
@section('content')
<section class="row">
<div class="col-12 col-lg-12">
<div class="row">
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon purple mb-2">
<i class="iconly-boldShow"></i>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Profile Views</h6>
<h6 class="font-extrabold mb-0">112.000</h6>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Profile Views</h6>
<h6 class="font-extrabold mb-0">112.000</h6>
</div>
</div>
</div>
</div>
</div>
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon blue mb-2">
<i class="iconly-boldProfile"></i>
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon blue mb-2">
<i class="iconly-boldProfile"></i>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Followers</h6>
<h6 class="font-extrabold mb-0">183.000</h6>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Followers</h6>
<h6 class="font-extrabold mb-0">183.000</h6>
</div>
</div>
</div>
</div>
</div>
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon green mb-2">
<i class="iconly-boldAdd-User"></i>
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon green mb-2">
<i class="iconly-boldAdd-User"></i>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Following</h6>
<h6 class="font-extrabold mb-0">80.000</h6>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Following</h6>
<h6 class="font-extrabold mb-0">80.000</h6>
</div>
</div>
</div>
</div>
</div>
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon red mb-2">
<i class="iconly-boldBookmark"></i>
<div class="col-6 col-lg-3 col-md-6">
<div class="card">
<div class="card-body px-4 py-4-5">
<div class="row">
<div class="col-md-4 col-lg-12 col-xl-12 col-xxl-5 d-flex justify-content-start ">
<div class="stats-icon red mb-2">
<i class="iconly-boldBookmark"></i>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Saved Post</h6>
<h6 class="font-extrabold mb-0">112</h6>
</div>
</div>
<div class="col-md-8 col-lg-12 col-xl-12 col-xxl-7">
<h6 class="text-muted font-semibold">Saved Post</h6>
<h6 class="font-extrabold mb-0">112</h6>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 col-xl-6">
<div class="card">
<div class="card-header">
<h4>Latest Comments</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-hover table-lg">
<thead>
<tr>
<th>Name</th>
<th>Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-3">
<div class="d-flex align-items-center">
<div class="avatar avatar-md">
<img src="./jpg/5.jpg">
</div>
<p class="font-bold ms-3 mb-0">Si Cantik</p>
</div>
</td>
<td class="col-auto">
<p class=" mb-0">Congratulations on your graduation!</p>
</td>
</tr>
<tr>
<td class="col-3">
<div class="d-flex align-items-center">
<div class="avatar avatar-md">
<img src="./jpg/2.jpg">
</div>
<p class="font-bold ms-3 mb-0">Si Ganteng</p>
</div>
</td>
<td class="col-auto">
<p class=" mb-0">Wow amazing design! Can you make another
tutorial for
this design?</p>
</td>
</tr>
</tbody>
</table>
<div class="col-12">
<div class="row">
<div class="col-12 col-xl-6">
<div class="card">
<div class="card-header">
<h4>Bunga Diambil Hari Ini</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-hover table-lg">
<thead>
<tr>
<th>Waktu</th>
<th>Nama Pelanggan</th>
<th>Nama Buket</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<tr>
<td>Si Ganteng</td>
<td>Komentar dia...</td>
<td>...</td>
<td>...</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-xl-6">
<div class="card">
<div class="card-header">
<h4>Latest Comments</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-hover table-lg">
<thead>
<tr>
<th>Name</th>
<th>Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-3">
<div class="d-flex align-items-center">
<div class="avatar avatar-md">
<img src="./jpg/5.jpg">
</div>
<p class="font-bold ms-3 mb-0">Si Cantik</p>
</div>
</td>
<td class="col-auto">
<p class=" mb-0">Congratulations on your graduation!</p>
</td>
</tr>
<tr>
<td class="col-3">
<div class="d-flex align-items-center">
<div class="avatar avatar-md">
<img src="./jpg/2.jpg">
</div>
<p class="font-bold ms-3 mb-0">Si Ganteng</p>
</div>
</td>
<td class="col-auto">
<p class=" mb-0">Wow amazing design! Can you make another
tutorial for
this design?</p>
</td>
</tr>
</tbody>
</table>
<div class="col-12 col-xl-6">
<div class="card">
<div class="card-header">
<h4>Jadwal Foto Hari Ini</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-hover table-lg">
<thead>
<tr>
<th>Waktu</th>
<th>Nama Pelanggan</th>
<th>Nama Paket</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<tr>
<td>Si Keren</td>
<td>Komentar dia...</td>
<td>...</td>
<td>...</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="col-12 col-xl-12">
<div class="card">
<div class="card-header">
<h4>Pesanan Pending</h4>
</div>
<div class="card-body">
<div class="nav nav-pills nav-fill mb-4" id="v-pills-tab" role="tablist" aria-orientation="horizontal">
<a class="nav-link active" id="v-pills-home-tab" data-bs-toggle="pill" href="#v-pills-home"
role="tab" aria-controls="v-pills-home" aria-selected="true">
Buket
</a>
<a class="nav-link" id="v-pills-profile-tab" data-bs-toggle="pill" href="#v-pills-profile"
role="tab" aria-controls="v-pills-profile" aria-selected="false">
Foto
</a>
</div>
<div class="tab-content" id="v-pills-tabContent">
<div class="tab-pane fade show active" id="v-pills-home" role="tabpanel"
aria-labelledby="v-pills-home-tab">
<div class="table-responsive">
<table class="table table-hover table-lg">
<thead>
<tr>
<th>No.</th>
<th>Nama Pelanggan</th>
<th>Nama Buket</th>
<th>Tanggal Ambil</th>
<th>Total</th>
<th>Status</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-3">
<p class="mb-0">1</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<a href="#" class="btn icon btn-primary btn-action">
<i class="bi bi-eye"></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab-pane fade" id="v-pills-profile" role="tabpanel"
aria-labelledby="v-pills-profile-tab">
<div class="table-responsive">
<table class="table table-hover table-lg">
<thead>
<tr>
<th>No.</th>
<th>Nama Pelanggan</th>
<th>Nama Paket</th>
<th>Tanggal Booking</th>
<th>Total</th>
<th>Status</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-3">
<p class="mb-0">1</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<p class="mb-0">Congratulations</p>
</td>
<td class="col-auto">
<a href="#" class="btn icon btn-primary btn-action">
<i class="bi bi-eye"></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
@endsection