phpldapadmin/resources/themes/architect/views/layouts/partials/scripts.blade.php

20 lines
617 B
PHP

<script type="text/javascript" src="{{ asset('/js/vendor.js') }}"></script>
<script type="text/javascript" src="{{ asset('/js/manifest.js') }}"></script>
<script type="text/javascript" src="{{ asset('/js/app.js') }}"></script>
<script type="text/javascript">
// Our CSRF token to each interaction
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
// Work out our timezone.
const tz = Intl.DateTimeFormat().resolvedOptions().timeZone;
</script>
@if(file_exists('js/custom.js'))
<!-- Any Custom JS -->
<script src="{{ asset('js/custom.js') }}"></script>
@endif