-
Notifications
You must be signed in to change notification settings - Fork 1
/
alert.html
32 lines (28 loc) · 907 Bytes
/
alert.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<cms:if k_alert_type='success' >
<cms:set alert_type="success" />
<cms:set icon='<i class="icon fa fa-check"></i>' />
<cms:set heading="Success!" />
<cms:else_if k_alert_type='error' />
<cms:set alert_type="danger" />
<cms:set icon='<i class="icon fa fa-ban"></i>' />
<cms:set heading="Error!" />
<cms:else_if k_alert_type='warning' />
<cms:set alert_type="warning" />
<cms:set icon='<i class="icon fa fa-warning"></i>' />
<cms:set heading="Warning!" />
<cms:else />
<cms:set alert_type="info" />
<cms:set icon='<i class="icon fa fa-info"></i>' />
<cms:set heading="Info!" />
</cms:if>
<div class="alert alert-<cms:show alert_type /> alert-dismissible">
<h4>
<cms:show icon />
<cms:if k_alert_heading>
<cms:show k_alert_heading />
<cms:else />
<cms:show heading />
</cms:if>
</h4>
<cms:show k_alert_content />
</div>