snipe-it/resources/views/notifications.blade.php
2016-03-25 01:18:05 -07:00

56 lines
1.5 KiB
PHP
Executable file

@if ($errors->any())
<div class="col-md-12">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fa fa-exclamation-circle"></i>
<strong>Error: </strong>
Please check the form below for errors
</div>
</div>
@endif
@if ($message = Session::get('success'))
<div class="col-md-12">
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fa fa-check"></i>
<strong>Success: </strong>
{{ $message }}
</div>
</div>
@endif
@if ($message = Session::get('error'))
<div class="col-md-12">
<div class="alert alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fa fa-exclamation-circle"></i>
<strong>Error: </strong>
{{ $message }}
</div>
</div>
@endif
@if ($message = Session::get('warning'))
<div class="col-md-12">
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fa fa-warning"></i>
<strong>Warning: </strong>
{{ $message }}
</div>
</div>
@endif
@if ($message = Session::get('info'))
<div class="col-md-12">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fa fa-info-circle"></i>
<strong>Info: </strong>
{{ $message }}
</div>
</div>
@endif