diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index c789f0d..c59dd27 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -77,13 +77,13 @@ class HomeController extends Controller $sekolah .= ''.@$row->profile->status_sekolah.' '; if(($row->level+1) == 1){ - $jenis_usulan = 'Adiwiyata Kab/Kota'; + $jenis_usulan = 'Adiwiyata Kab/Kota'; }elseif(($row->level+1) == 2){ - $jenis_usulan = 'Adiwiyata Provinsi'; + $jenis_usulan = 'Adiwiyata Provinsi'; }elseif(($row->level+1) == 3){ - $jenis_usulan = 'Adiwiyata Nasional'; + $jenis_usulan = 'Adiwiyata Nasional'; }elseif(($row->level+1) == 4){ - $jenis_usulan = 'Adiwiyata Mandiri'; + $jenis_usulan = 'Adiwiyata Mandiri'; } if($row->level == 0){ @@ -100,12 +100,12 @@ class HomeController extends Controller $_data[] = [ - 'no' => $key+1, - 'nama_sekolah' => @$sekolah, - 'npsn' => @$row->sekolah->npsn, - 'kab' => @$row->sekolah->kabupaten->name, - 'usulan_sebelumnya' => @$usulanAwal, - 'pengajuan_usulan' => @$jenis_usulan, + 'no' => $key+1, + 'nama_sekolah' => @$sekolah, + 'npsn' => @$row->sekolah->npsn, + 'kab' => @$row->sekolah->kabupaten->name, + 'usulan_sebelumnya' => @$usulanAwal, + 'pengajuan_usulan' => @$jenis_usulan, ]; } return response()->json($_data); diff --git a/public/assets/css/custom.css b/public/assets/css/custom.css index 96cdf02..01029d1 100644 --- a/public/assets/css/custom.css +++ b/public/assets/css/custom.css @@ -45,6 +45,18 @@ .f20{ font-size: 20px; } +.f12{ + font-size: 12px; +} +.f14{ + font-size: 14px; +} +.f16{ + font-size: 16px; +} +.f18{ + font-size: 18px; +} .subheader{margin-bottom: 20px;} .table-bordered th, .table-bordered td{border: none!important;} @@ -54,6 +66,12 @@ .border-success{ border: 1px solid #1f6c3c!important; } +.border-left-primary{ + border-left: 5px solid #4765c0!important; +} +.border-left-primary-light{ + border-left: 5px solid #dbeafe!important; +} .border-primary{ border: 1px solid #4765c0!important; } @@ -69,24 +87,57 @@ .bg-secondary{ background: #F3F4F6!important; } +.border-left-success{ + border-left: 5px solid #1f6c3c!important; +} +.border-left-success-light{ + border-left: 5px solid #dcfce7!important; +} .bg-success{ background: #1f6c3c!important; } .bg-success-light{ background: #dcfce7; } +.bg-primary{ + background: #4765c0!important; +} .bg-primary-light{ background: #dbeafe; } +.text-primary-light{ + color: #dbeafe; +} +.border-left-white{ + border-left: 5px solid #fff!important; +} +.border-left-info{ + border-left: 5px solid #9333ea!important; +} +.border-left-info-light{ + border-left: 5px solid #f3e8ff!important; +} .text-info{ color: #9333ea!important; } +.bg-info{ + background: #9333ea!important; +} .bg-info-light{ background: #f3e8ff; } +.border-left-warning{ + border-left: 5px solid #ca8a04!important; +} +.border-left-warning-light{ + border-left: 5px solid #fef9c3!important; +} .text-warning{ color: #ca8a04!important; } +.bg-warning{ + background: #ca8a04!important; +} .bg-warning-light{ background: #fef9c3; } diff --git a/resources/views/modules/dashboard/admin.blade.php b/resources/views/modules/dashboard/admin.blade.php index 44f75f6..1284f8c 100644 --- a/resources/views/modules/dashboard/admin.blade.php +++ b/resources/views/modules/dashboard/admin.blade.php @@ -9,95 +9,144 @@ Dashboard -