|
|
|
@ -9,9 +9,6 @@ |
|
|
|
|
|
|
|
<title>{{ config('app.name', 'Laravel') }}</title> |
|
|
|
|
|
|
|
<!-- Scripts --> |
|
|
|
<script src="{{ asset('js/app.js') }}" defer></script> |
|
|
|
|
|
|
|
<!-- Fonts --> |
|
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com"> |
|
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> |
|
|
|
@ -76,5 +73,29 @@ |
|
|
|
@yield('content') |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
<script src="{{ asset('js/app.js') }}"></script> |
|
|
|
<script src="{{ asset('js/jquery-3.5.1.min.js') }}"></script> |
|
|
|
<script src="{{ asset('js/plugins/noty.js') }}"></script> |
|
|
|
<script> |
|
|
|
Echo.channel('queue-notifier') |
|
|
|
.listen('LongRunJobDone', (e) => { |
|
|
|
noty({ |
|
|
|
type: 'success', |
|
|
|
layout: 'bottomRight', |
|
|
|
text: e.message, |
|
|
|
timeout: false |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
@if (Session::has('flash_notification.message')) |
|
|
|
<script> |
|
|
|
noty({ |
|
|
|
type: '{{ Session::get('flash_notification.level') }}', |
|
|
|
layout: 'bottomRight', |
|
|
|
text: '{{ Session::get('flash_notification.message') }}', |
|
|
|
timeout: 5000 |
|
|
|
}); |
|
|
|
</script> |
|
|
|
@endif |
|
|
|
</body> |
|
|
|
</html> |