Commit 2fce8cfe by windychikita20

update js

parent db525dff
...@@ -19,8 +19,7 @@ ...@@ -19,8 +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>
<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>
...@@ -97,54 +96,42 @@ ...@@ -97,54 +96,42 @@
<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('js/swal.js')}}"></script>
<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>
<!-- Have fun using Bootstrap JS -->
<script type="text/javascript">
$(window).load(function() {
$('#prizePopup').modal('show');
});
</script>
<script>
$(document).ready(function() { $(document).ready(function() {
$('.select2').select2(); $('.select2').select2();
// $('.data-table').DataTable();
// let table1 = document.querySelector('.data-table');
}); });
</script> </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> <script>
Swal.fire({ $('#myForm *').attr('disabled','disabled');
position: 'top-end',
icon: 'success',
title: '{!! \Session::get('success') !!}',
showConfirmButton: false,
timer: 3000
})
</script> </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