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

20 lines
617 B
PHP
Raw Normal View History

<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>
2020-09-05 23:46:27 +00:00
<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