Commit 2762c689 by windychikita20

update js

parent 2f422ad8
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
<link rel="stylesheet" href="{{URL::to('template/assets/vendors/simple-datatables/style.css')}}"> <link rel="stylesheet" href="{{URL::to('template/assets/vendors/simple-datatables/style.css')}}">
<!-- Include select CSS --> <!-- Include select CSS -->
<link rel="stylesheet" href="{{URL::to('template/assets/vendors/choices.js/choices.min.css')}}"> <link rel="stylesheet" href="{{URL::to('template/assets/vendors/choices.js/choices.min.css')}}">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
...@@ -93,30 +94,56 @@ ...@@ -93,30 +94,56 @@
</div> </div>
</div> </div>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="{{URL::to('template/assets/vendors/perfect-scrollbar/perfect-scrollbar.min.js')}}"></script> <script src="{{URL::to('template/assets/vendors/perfect-scrollbar/perfect-scrollbar.min.js')}}"></script>
<script src="{{URL::to('template/assets/js/bootstrap.bundle.min.js')}}"></script> <script src="{{URL::to('template/assets/js/bootstrap.bundle.min.js')}}"></script>
<script src="{{URL::to('template/assets/vendors/apexcharts/apexcharts.js')}}"></script> <script src="{{URL::to('template/assets/vendors/apexcharts/apexcharts.js')}}"></script>
<script src="{{URL::to('template/assets/js/pages/dashboard.js')}}"></script> {{-- <script src="{{URL::to('template/assets/js/pages/dashboard.js')}}"></script> --}}
<script src="{{URL::to('template/assets/js/pages/horizontal-layout.js')}}"></script> <script src="{{URL::to('template/assets/js/pages/horizontal-layout.js')}}"></script>
<script src="{{URL::to('template/assets/js/mazer.js')}}"></script> <script src="{{URL::to('template/assets/js/mazer.js')}}"></script>
<!-- Include datatables CSS --> <!-- Include datatables CSS -->
<script src="{{URL::to('template/assets/vendors/simple-datatables/simple-datatables.js')}}"></script> <script src="{{URL::to('template/assets/vendors/simple-datatables/simple-datatables.js')}}"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.js"></script>
<script> <script>
// Simple Datatable // Simple Datatable
let table1 = document.querySelector('#table1'); // let table1 = document.querySelector('#table1');
let dataTable = new simpleDatatables.DataTable(table1); // let dataTable = new simpleDatatables.DataTable(table1);
</script> </script>
<!-- Include select JavaScript --> <!-- Include select JavaScript -->
<script src="{{URL::to('template/assets/vendors/choices.js/choices.min.js')}}"></script> <script src="{{URL::to('template/assets/vendors/choices.js/choices.min.js')}}"></script>
<script src="{{URL::to('template/assets/js/pages/form-element-select.js')}}"></script> <script src="{{URL::to('template/assets/js/pages/form-element-select.js')}}"></script>
<script src="{{URL::to('https://unpkg.com/inputmask@4.0.4/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js')}}"></script>
<script src="{{URL::to('https://unpkg.com/inputmask@4.0.4/dist/inputmask/inputmask.js')}}"></script>
<script src="{{URL::to('https://unpkg.com/inputmask@4.0.4/dist/inputmask/inputmask.date.extensions.js')}}"></script>
<script src="{{URL::to('js/swal.js')}}"></script> <script src="{{URL::to('js/swal.js')}}"></script>
<script>
$(document).ready(function() {
$('.select2').select2();
// $('.data-table').DataTable();
// let table1 = document.querySelector('.data-table');
});
</script>
{{-- @if(session()->get('errors'))
<script>
Swal.fire({
position: 'top-end',
icon: 'error',
title: '{{ session()->get('errors')->first() }}',
showConfirmButton: false,
timer: 3000
})
</script>
@endif --}}
@if (\Session::has('success'))
<script>
Swal.fire({
position: 'top-end',
icon: 'success',
title: '{!! \Session::get('success') !!}',
showConfirmButton: false,
timer: 3000
})
</script>
@endif
@stack('js') @stack('js')
</body> </body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment