Update Dashboard

This commit is contained in:
Firman Herdiansyah
2025-02-06 04:53:20 +07:00
parent 99e99fa2e6
commit 3309664bae
6 changed files with 64 additions and 49 deletions

View File

@@ -10,4 +10,8 @@ class BigDataController extends Controller
public function index(){
return view('dashboards.bigdata');
}
public function pbg(){
return view('index');
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View File

@@ -2,7 +2,7 @@
@section('content')
@include('layouts.partials/page-title', ['title' => 'Dashboards', 'subtitle' => 'DASHBOARD PIMPINAN'])
@include('layouts.partials/page-title', ['title' => 'Dashboards', 'subtitle' => 'Dashboard Pimpinan'])
<style>
.square{
@@ -32,9 +32,29 @@
left: 0;
background: linear-gradient(to top left, transparent calc(50% - 2px), black, transparent calc(50% + 2px));
}
#dashboard-fixed-wrapper {
background-image:url('/images/bg-dashboard.jpg');background-size: cover;background-position: center;
}
#dashboard-fixed-wrapper::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7); /* Black overlay with 50% opacity */
}
</style>
<div id="dashboard-fixed-wrapper" class="row">
<h2 style="margin-top:30px;margin-left:15px;color:#911701">
<span style="float:right;font-size:14px;margin-right:25px;color:black">terakhir di update - 6 Februari 2025</span>
ANALISA BIG DATA PROSES PBG <br>
MELALUI APLIKASI SIBEDAS PBG
</h2>
<div id="dashboard-fixed-container" style="width:1110px;height:770px;position:relative;margin:auto;">
@component('components.circle', [
'document_title' => 'Kekurangan Potensi',

View File

@@ -2,7 +2,7 @@
@section('content')
@include('layouts.partials/page-title', ['title' => 'Darkone', 'subtitle' => 'Dashboard'])
@include('layouts.partials/page-title', ['title' => 'Darkone', 'subtitle' => 'Dashboard PBG'])
<div class="row">
<!-- Card 1 -->
@@ -11,8 +11,8 @@
<div class="card-body">
<div class="row">
<div class="col-6">
<p class="text-muted mb-0 text-truncate">Total Income</p>
<h3 class="text-dark mt-2 mb-0">$78.8k</h3>
<p class="text-muted mb-0 text-truncate">Target PAD</p>
<h4 class="text-dark mt-2 mb-0">33.200.000.000</h4>
</div>
<div class="col-6">
@@ -33,8 +33,8 @@
<div class="card-body">
<div class="row">
<div class="col-6">
<p class="text-muted mb-0 text-truncate">New Users</p>
<h3 class="text-dark mt-2 mb-0">2,150</h3>
<p class="text-muted mb-0 text-truncate">Total Potensi Berkas</p>
<h4 class="text-dark mt-2 mb-0">10.080.738.057</h4>
</div>
<div class="col-6">
@@ -55,8 +55,8 @@
<div class="card-body">
<div class="row">
<div class="col-6">
<p class="text-muted mb-0 text-truncate">Orders</p>
<h3 class="text-dark mt-2 mb-0">1,784</h3>
<p class="text-muted mb-0 text-truncate">Total Berkas Terverifikasi</p>
<h4 class="text-dark mt-2 mb-0">1.555.064.633</h4>
</div>
<div class="col-6">
@@ -77,8 +77,8 @@
<div class="card-body">
<div class="row">
<div class="col-6">
<p class="text-muted mb-0 text-truncate">Conversion Rate</p>
<h3 class="text-dark mt-2 mb-0">12.3%</h3>
<p class="text-muted mb-0 text-truncate">Kekurangan Potensi</p>
<h4 class="text-dark mt-2 mb-0">23.113.261.943</h4>
</div>
<div class="col-6">
@@ -100,7 +100,7 @@
<div class="col-lg-4">
<div class="card card-height-100">
<div class="card-header d-flex align-items-center justify-content-between gap-2">
<h4 class=" mb-0 flex-grow-1 mb-0">Revenue</h4>
<h4 class=" mb-0 flex-grow-1 mb-0">Pemenuhan Target PAD</h4>
<div>
<button type="button" class="btn btn-sm btn-outline-light">ALL</button>
<button type="button" class="btn btn-sm btn-outline-light">1M</button>
@@ -121,7 +121,7 @@
<div class="col-lg-4">
<div class="card card-height-100">
<div class="card-header d-flex align-items-center justify-content-between gap-2">
<h4 class="card-title flex-grow-1 mb-0">Sales By Category</h4>
<h4 class="card-title flex-grow-1 mb-0">Berkas Belum Lengkap</h4>
<div>
<button type="button" class="btn btn-sm btn-outline-light">ALL</button>
<button type="button" class="btn btn-sm btn-outline-light">1M</button>
@@ -139,35 +139,25 @@
<thead class="bg-light bg-opacity-50 thead-sm">
<tr>
<th class="py-1">
Category
KETEGORI
</th>
<th class="py-1">Orders</th>
<th class="py-1">Perc.</th>
<th class="py-1">NILAI</th>
<th class="py-1">PERSENTASE</th>
</tr>
</thead>
<tbody>
<tr>
<td>Grocery</td>
<td>NON USAHA</td>
<td>187,232</td>
<td>
48.63%
<span class="badge badge-soft-success float-end">2.5% Up</span>
</td>
</tr>
<tr>
<td>Electonics</td>
<td>USAHA</td>
<td>126,874</td>
<td>
36.08%
<span class="badge badge-soft-success float-end">8.5% Up</span>
</td>
</tr>
<tr>
<td>Other</td>
<td>90,127</td>
<td>
23.41%
<span class="badge badge-soft-danger float-end">10.98% Down</span>
</td>
</tr>
</tbody>
@@ -183,7 +173,7 @@
<div class="card">
<div
class="d-flex card-header justify-content-between align-items-center border-bottom border-dashed">
<h4 class="card-title mb-0">Sessions by Country</h4>
<h4 class="card-title mb-0">SEBARAN DATA</h4>
<div class="dropdown">
<a href="#" class="dropdown-toggle btn btn-sm btn-outline-light"
data-bs-toggle="dropdown" aria-expanded="false">
@@ -215,7 +205,7 @@
<div class="col-xl-6">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center">
<h4 class="card-title mb-0">New Accounts</h4>
<h4 class="card-title mb-0">Baru Di Update</h4>
<a href="#!" class="btn btn-sm btn-light">
View All
</a>
@@ -226,11 +216,11 @@
<div class="table-responsive">
<table class="table table-hover mb-0 table-centered">
<thead>
<th class="py-1">ID</th>
<th class="py-1">Date</th>
<th class="py-1">User</th>
<th class="py-1">Account</th>
<th class="py-1">Username</th>
<th class="py-1">No. Registrasi</th>
<th class="py-1">Tanggal</th>
<th class="py-1">Pemohon</th>
<th class="py-1">Status</th>
<th class="py-1">Pemilik</th>
</thead>
<tbody>
<tr>
@@ -313,7 +303,7 @@
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center">
<h4 class="card-title mb-0">
Recent Transactions
Pending Lama
</h4>
<a href="#!" class="btn btn-sm btn-light">
@@ -326,19 +316,19 @@
<div class="table-responsive">
<table class="table table-hover mb-0 table-centered">
<thead>
<th class="py-1">ID</th>
<th class="py-1">Date</th>
<th class="py-1">Amount</th>
<th class="py-1">No. Registrasi</th>
<th class="py-1">Tanggal</th>
<th class="py-1">Retribusi</th>
<th class="py-1">Status</th>
<th class="py-1">
Description
Catatan
</th>
</thead>
<tbody>
<tr>
<td>#98521</td>
<td>24 April, 2024</td>
<td>$120.55</td>
<td>9.000.120.55</td>
<td>
<span class="badge bg-success">Cr</span>
</td>
@@ -347,7 +337,7 @@
<tr>
<td>#20158</td>
<td>24 April, 2024</td>
<td>$9.68</td>
<td>6.000.009.68</td>
<td>
<span class="badge bg-success">Cr</span>
</td>
@@ -356,7 +346,7 @@
<tr>
<td>#36589</td>
<td>20 April, 2024</td>
<td>$105.22</td>
<td>700.105.22</td>
<td>
<span class="badge bg-danger">Dr</span>
</td>
@@ -365,7 +355,7 @@
<tr>
<td>#95362</td>
<td>18 April, 2024</td>
<td>$80.59</td>
<td>3.236.580.59</td>
<td>
<span class="badge bg-success">Cr</span>
</td>
@@ -374,7 +364,7 @@
<tr>
<td>#75214</td>
<td>18 April, 2024</td>
<td>$750.95</td>
<td>555.750.95</td>
<td>
<span class="badge bg-danger">Dr</span>
</td>

View File

@@ -29,13 +29,10 @@
<div class="collapse" id="sidebarDashboard">
<ul class="nav sub-navbar-nav">
<li class="sub-nav-item">
<a class="sub-nav-link" href="{{ route ('home' ) }}">SIBEDAS</a>
<a class="sub-nav-link" href="{{ route ('home' ) }}">Dashboard Pimpinan</a>
</li>
<li class="sub-nav-item">
<a class="sub-nav-link" href="{{ route ('home' ) }}">Dashboard 2</a>
</li>
<li class="sub-nav-item">
<a class="sub-nav-link" href="{{ route ('home' ) }}">Dashboard 3</a>
<a class="sub-nav-link" href="{{ route ('dashboards.pbg' ) }}">Dashboard PBG</a>
</li>
</ul>
</div>

View File

@@ -20,6 +20,10 @@ Route::group(['middleware' => 'auth'], function(){
Route::get('/bigdata', [BigDataController::class, 'index'])->name('home');
});
Route::group(['prefix' => '/dashboards'], function(){
Route::get('/dashboard-pbg', [BigDataController::class, 'pbg'])->name('dashboards.pbg');
});
// settings
Route::group(['prefix' => '/settings'], function(){
Route::resource('/general', SettingsController::class);