| 123456789101112131415161718192021222324252627282930313233 |
- <script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.9.0/less.min.js"></script>
- @include('dev.helpers.jquery')
- <script src="{{asset('templates/assets/js/jquery-confirm.js') }}"></script>
- <script>
- @if(count($errors) > 0 || Session::has('success') || Session::has('info') || Session::has('warning'))
- $.confirm({
- title: '{{Session::get('info')}}',
- content: '{{Session::get('alert')}}',
- type: '{{Session::get('colors')}}',
- icon: '{{Session::get('icons')}}',
- typeAnimated: true,
- buttons: {
- close: function () {
- }
- }
- });
- @elseif(count($errors) == 0)
- return false;
- @else
- $.confirm({
- title: '{{Session::has('info')}}',
- content: '{{Session::get('alert')}}',
- type: 'red',
- typeAnimated: true,
- icon: 'fas fa-exclamation-triangle',
- buttons: {
- close: function () {
- }
- }
- });
- @endif
- </script>
|