159 lines
		
	
	
		
			7.0 KiB
		
	
	
	
		
			PHP
		
	
	
			
		
		
	
	
			159 lines
		
	
	
		
			7.0 KiB
		
	
	
	
		
			PHP
		
	
	
| @extends('layouts.master')
 | |
| 
 | |
| @section('page-css')
 | |
| <link rel="stylesheet" media="screen, print" href="{{asset('assets/css/datagrid/datatables/datatables.bundle.css')}}">
 | |
| @endsection
 | |
| @section('content')
 | |
| <div class="subheader">
 | |
|     <h1 class="subheader-title">
 | |
|         <i class='subheader-icon fal fa-chart-area'></i> Dashboard
 | |
|     </h1>
 | |
| </div>
 | |
| <div class="row">
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-primary-300 rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                     <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                         {{$total_usulan_kab}}
 | |
|                     </h3>
 | |
|                     <span class="m-0 l-h-n">Total Usulan Adiwiyata Kota</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15 mb-n1 mr-n1" style="font-size:6rem"></i>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-warning-300 rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                 <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                     {{$total_usulan_prov}}
 | |
|                 </h3>
 | |
|                 <span class="m-0 l-h-n">Total Usulan Adiwiyata Provinsi</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15  mb-n1 mr-n4" style="font-size: 6rem;"></i>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-success-200 rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                 <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                     {{$total_usulan_nasional}}
 | |
|                 </h3>
 | |
|                 <span class="m-0 l-h-n">Total Usulan Adiwiyata Nasional</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15 mb-n5 mr-n6" style="font-size: 8rem;"></i>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-info-200 rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                 <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                     {{$total_usulan_mandiri}}
 | |
|                 </h3>
 | |
|                 <span class="m-0 l-h-n">Total Usulan Adiwiyata Mandiri</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15 mb-n1 mr-n4" style="font-size: 6rem;"></i>
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 | |
| <div class="row">
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-danger rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                     <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                         {{@$total_sekolah_kab}}
 | |
|                     </h3>
 | |
|                     <span class="m-0 l-h-n">Total Sekolah Adiwiyata Kota</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15 mb-n1 mr-n1" style="font-size:6rem"></i>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-warning rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                 <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                     {{@$total_sekolah_prov}}
 | |
|                 </h3>
 | |
|                 <span class="m-0 l-h-n">Total Sekolah Adiwiyata Provinsi</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15  mb-n1 mr-n4" style="font-size: 6rem;"></i>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-success rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                 <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                     {{@$total_sekolah_nasional}}
 | |
|                 </h3>
 | |
|                 <span class="m-0 l-h-n">Total Sekolah Adiwiyata Nasional</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15 mb-n5 mr-n6" style="font-size: 8rem;"></i>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="col-sm-6 col-xl-3">
 | |
|         <div class="p-3 bg-info rounded overflow-hidden position-relative text-white mb-g">
 | |
|             <div class="">
 | |
|                 <h3 class="display-4 d-block l-h-n m-0 fw-500">
 | |
|                     {{@$total_sekolah_mandiri}}
 | |
|                 </h3>
 | |
|                 <span class="m-0 l-h-n">Total Sekolah Adiwiyata Mandiri</span>
 | |
|             </div>
 | |
|             <i class="fal fa-trophy position-absolute pos-right pos-bottom opacity-15 mb-n1 mr-n4" style="font-size: 6rem;"></i>
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 | |
| <div class="row">
 | |
|     
 | |
|     <div class="col-lg-12">
 | |
|         <div id="panel-4" class="panel">
 | |
|             <div class="panel-hdr">
 | |
|                 <h2>Usulan Adiwiyata Tahun {{date('Y')}}</h2>
 | |
|             </div>
 | |
|             <div class="panel-container show">
 | |
|                 <div class="panel-content">
 | |
|                     <div class="table-responsive">
 | |
|                         <table class="table table-bordered table-hover table-striped w-100" 
 | |
|                             data-search="true"
 | |
|                             data-toggle="table"
 | |
|                             data-pagination="true"
 | |
|                             data-toolbar="#toolbar"
 | |
|                             data-show-refresh="false"
 | |
|                             data-url="{{route($route.'.gridUsulan')}}"
 | |
|                             data-sort-name="ids"
 | |
|                             data-sort-order="desc"
 | |
|                             data-page-size="10"
 | |
|                             data-id-field="id"
 | |
|                             id="grid-data">
 | |
|                               <thead>
 | |
|                                 <tr class="table-primary text-white">
 | |
|                                   <th data-field="no">No</th>
 | |
|                                   <th data-field="npsn">NPSN</th>
 | |
|                                   <th data-field="nama_sekolah">Nama Sekolah</th>
 | |
|                                   <th data-field="kab">Kab/Kota</th>
 | |
|                                   <th data-field="usulan_sebelumnya">Usulan Sebelumnya</th>
 | |
|                                   <th data-field="pengajuan_usulan">Pengajuan Usulan</th>
 | |
|                                 </tr>
 | |
|                               </thead>
 | |
|                               <tbody></tbody>
 | |
|                           </table>
 | |
|                     </div>
 | |
|                 </div>
 | |
|             </div>
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 | |
| @endsection
 | |
| @section('page-js')
 | |
| <script src="{{asset('assets/js/statistics/peity/peity.bundle.js')}}"></script>
 | |
| <script src="{{asset('assets/js/statistics/flot/flot.bundle.js')}}"></script>
 | |
| <script src="{{asset('assets/js/statistics/easypiechart/easypiechart.bundle.js')}}"></script>
 | |
| <script src="{{asset('assets/js/datagrid/datatables/datatables.bundle.js')}}"></script>
 | |
| <script>
 | |
|     $(document).ready(function()
 | |
|     {
 | |
| 
 | |
|         /* init datatables */
 | |
|         $('#dt-basic-example').dataTable();
 | |
|     });
 | |
| 
 | |
| </script>
 | |
| @endsection |