-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some docs about alerts #76
Conversation
{{#*inline "content"}} | ||
<h1 class="h2">{{title}}</h1> | ||
<p class="lead"> | ||
Our alerts are 100% bootstrap based on Bootstrap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum 🤔
Thx @FKSI for pointing out the typo |
</div> | ||
<div class="alert alert-danger" role="alert"> | ||
<strong>Danger!</strong> Are you sure you want to release the raptors? | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if this could also be split up into multiple snippets, so it's easier to figure out which example belongs to what code snippet. Thoughts @elessar-ch @FKSI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If split, I'd see
<div class="alert alert-success" role="alert">
<strong>Well done!</strong> You successfully read this important alert message.
</div>
<div class="alert alert-info" role="alert">
<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</div>
<div class="alert alert-danger" role="alert">
<strong>Danger!</strong> Are you sure you want to release the raptors?
</div>
And
<div class="alert alert-warning alert-dismissible" role="alert">
<strong>Warning!</strong> Pushing the x on the right will remove this alert. For EVER!
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, it would be the different appearances first and then how to make it dismissable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.