Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Di rilis ini, versi 2601.0.0 berisi penambahan dan perbaikan yang diminta penggu

#### Perbaikan BUG

1. [#893](https://github.com/OpenSID/OpenKab/issues/893) Perbaiki UI Layout dashboard dan sidebar.

#### Perubahan Teknis

Expand Down
6 changes: 3 additions & 3 deletions config/adminlte.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
],
[
'icon' => 'fas fa-info-circle fa-lg nav-link',
'id' => 'catatan-rilis',
'id' => 'catatan-rilis',
'text' => '',
'url' => '#',
'topnav_right' => true,
Expand Down Expand Up @@ -347,12 +347,12 @@
],
[
'text' => 'Dasbor',
'icon' => 'fas fa-home',
'icon' => 'nav-icon fas fa-home',
'url' => '/dasbor',
],
[
'text' => 'Dasbor Demografi',
'icon' => 'fas fa-home',
'icon' => 'nav-icon fas fa-home',
'url' => '/dasbor-demografi',
],

Expand Down
59 changes: 50 additions & 9 deletions public/assets/costume/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ a:hover {
color: inherit;
}

.unlink a,
.unlink a:hover {
.unlink a,
.unlink a:hover {
text-decoration: none;
color: inherit;
}
Expand Down Expand Up @@ -36,33 +36,33 @@ tr.shown td.details-control {
transition: .5s;
}

.img-cover{
.img-cover {
height: 100px;
object-fit: cover;
}

.w-40 {
width: 40%!important;
width: 40% !important;
}

.w-42 {
width: 42%!important;
width: 42% !important;
}

.w-80 {
width: 80%!important;
width: 80% !important;
}

.w-56px {
width: 56px!important;
width: 56px !important;
}

.w-70px {
width: 70px!important;
width: 70px !important;
}

.w-100px {
width: 100px!important;
width: 100px !important;
}

.select2-container .select2-selection--single {
Expand Down Expand Up @@ -557,10 +557,51 @@ tr.shown td.details-control {
.nav-treeview .nav-treeview {
padding-left: 5px !important;
}

.nav-treeview .nav-item {
padding-left: 5px !important;
}

.has-treeview .has-treeview {
padding-left: 5px !important;
}

/* When sidebar is collapsed - only apply margin on larger screens */
@media (min-width: 992px) {

.sidebar-collapse .content-wrapper,
.sidebar-collapse .main-footer,
.sidebar-collapse .main-header {
margin-left: 4.6rem !important;
}
}

/* Reset margin for mobile when sidebar is collapsed */
@media (max-width: 991.98px) {

.sidebar-collapse .content-wrapper,
.sidebar-collapse .main-footer,
.sidebar-collapse .main-header {
margin-left: 0 !important;
}
}

/* Adjust arrow icon position */
.nav-sidebar .nav-link>.right,
.nav-sidebar .nav-link>p>.right {
position: absolute;
right: 5px;
top: 50%;
transform: translateY(-50%);
transition: transform 0.3s ease;
}

/* When menu is open, rotate the arrow */
.nav-sidebar .menu-open>.nav-link>.right,
.nav-sidebar .menu-open>.nav-link>p>.right {
transform: translateY(-50%) rotate(-90deg);
}

a .nav-link {
margin-left: -5px;
}
14 changes: 11 additions & 3 deletions resources/views/dasbor/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@
@include('dasbor.filter')
@include('dasbor.summary')
</div>
</div>
</div>
{{-- @include('dasbor.statistik_penduduk') --}}
@include('dasbor.peta')
@include('dasbor.tabel_penduduk')
<div class="card rounded-0 border-0 shadow-none col-12">
<div class="card-body">
@include('dasbor.peta')
</div>
</div>
<div class="card rounded-0 border-0 shadow-none col-12">
<div class="card-body">
@include('dasbor.tabel_penduduk')
</div>
</div>
</div>

@endsection
Expand Down