Template:Alert: Difference between revisions

From OCARC
Jump to navigation Jump to search
(Created page with "<div class="alert alert-danger" style="padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; {{ #ifeq: {{{type|info}}} | info...")
 
No edit summary
Line 1: Line 1:
<div class="alert alert-danger" style="padding: 15px;
<div class="alert alert-{{{type|}}}" style="padding: 15px;
     margin-bottom: 20px;
     margin-bottom: 20px;
     border: 1px solid transparent;
     border: 1px solid transparent;
     border-radius: 4px;  
     border-radius: 4px;  
{{
{{
#ifeq: {{{type|info}}} | info
#ifeq: {{{type|}}} | info |  
  |  
     color: #31708f;
     color: #31708f;
     background-color: #d9edf7;
     background-color: #d9edf7;
Line 11: Line 10:
   |  
   |  
}}
}}
#ifeq: {{{type|info}}} | danger
#ifeq: {{{type|}}} | danger |  
  |  
    color: #a94442;
  color: #a94442;
     background-color: #f2dede;
     background-color: #f2dede;
     border-color: #ebccd1;
     border-color: #ebccd1;
   |  
   |  
}}
}}
#ifeq: {{{type|info}}} | warning
#ifeq: {{{type|}}} | warning |  
  |  
     color: #8a6d3b;
     color: #8a6d3b;
     background-color: #fcf8e3;
     background-color: #fcf8e3;
Line 25: Line 22:
   |  
   |  
}}
}}
#ifeq: {{{type|info}}} | success
#ifeq: {{{type|}}} | success |  
  |  
color: #3c763d;
color: #3c763d;
     background-color: #dff0d8;
     background-color: #dff0d8;
     border-color: #d6e9c6;
     border-color: #d6e9c6;
   |  
   |  
x
}}
}}
     ">{{{message|No Text Entered}}}
     ">{{{message|No Text Entered}}}
</div>
</div>

Revision as of 05:56, 30 June 2017

No Text Entered