Last active
October 28, 2019 00:15
-
-
Save willyarisky/12500c3b37f27da0b620ee1187e9326f to your computer and use it in GitHub Desktop.
Component to show push message laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (session('success')) | |
<div class="alert alert-success alert-dismissible fade show" role="alert"> | |
{{ session('success') }} | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
@endif | |
@if (session('failed')) | |
<div class="alert alert-danger alert-dismissible fade show" role="alert"> | |
{{ session('failed') }} | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
@endif | |
@if (session('info')) | |
<div class="alert alert-info alert-dismissible fade show" role="alert"> | |
{{ session('info') }} | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
@endif | |
@if (session('warning')) | |
<div class="alert alert-warning alert-dismissible fade show" role="alert"> | |
{{ session('warning') }} | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
@endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment