Template:Alert: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{type}}} | |||
| danger = <div class="alert alert-danger" style="padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; color: #a94442; background-color: #f2dede; border-color: #ebccd1;">{{{message}}</div> | |||
| info = <div class="alert alert-danger" style="padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; color: #31708f; background-color: #d9edf7; border-color: #bce8f1;">{{{message}}</div> | |||
}} | |||
<div class="alert alert-{{{type|}}}" style="padding: 15px; | <div class="alert alert-{{{type|}}}" style="padding: 15px; | ||
margin-bottom: 20px; | margin-bottom: 20px; |
Revision as of 05:59, 30 June 2017
No Text Entered