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,9 +1,9 @@
@extends('layouts.admin')
@section('title', 'Beranda') @section('content')
@section('title', 'Beranda')
<section class="row">
@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">
@ -75,49 +75,31 @@
</div>
</div>
</div>
</div>
<div class="col-12">
<div class="row">
<div class="col-12 col-xl-6">
<div class="card">
<div class="card-header">
<h4>Latest Comments</h4>
<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>Name</th>
<th>Comment</th>
<th>Waktu</th>
<th>Nama Pelanggan</th>
<th>Nama Buket</th>
<th>Aksi</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>
<td>Si Ganteng</td>
<td>Komentar dia...</td>
<td>...</td>
<td>...</td>
</tr>
</tbody>
</table>
@ -125,48 +107,29 @@
</div>
</div>
</div>
<div class="col-12 col-xl-6">
<div class="card">
<div class="card-header">
<h4>Latest Comments</h4>
<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>Name</th>
<th>Comment</th>
<th>Waktu</th>
<th>Nama Pelanggan</th>
<th>Nama Paket</th>
<th>Aksi</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>
<td>Si Keren</td>
<td>Komentar dia...</td>
<td>...</td>
<td>...</td>
</tr>
</tbody>
</table>
@ -176,5 +139,122 @@
</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