Article Save and sweet alert
This commit is contained in:
		
							
								
								
									
										14
									
								
								resources/views/vendor/sweetalert/alert.blade.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								resources/views/vendor/sweetalert/alert.blade.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
@if (config('sweetalert.alwaysLoadJS') === true && config('sweetalert.neverLoadJS') === false )
 | 
			
		||||
    <script src="{{ $cdn ?? asset('vendor/sweetalert/sweetalert.all.js')  }}"></script>
 | 
			
		||||
@endif
 | 
			
		||||
@if (Session::has('alert.config'))
 | 
			
		||||
    @if(config('sweetalert.animation.enable'))
 | 
			
		||||
        <link rel="stylesheet" href="{{ config('sweetalert.animatecss') }}">
 | 
			
		||||
    @endif
 | 
			
		||||
    @if (config('sweetalert.alwaysLoadJS') === false && config('sweetalert.neverLoadJS') === false)
 | 
			
		||||
        <script src="{{ $cdn ?? asset('vendor/sweetalert/sweetalert.all.js')  }}"></script>
 | 
			
		||||
    @endif
 | 
			
		||||
    <script>
 | 
			
		||||
        Swal.fire({!! Session::pull('alert.config') !!});
 | 
			
		||||
    </script>
 | 
			
		||||
@endif
 | 
			
		||||
		Reference in New Issue
	
	Block a user