-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathalerts.json.template
32 lines (32 loc) · 1.41 KB
/
alerts.json.template
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
[
{
"class": "dark",
"title": "General",
"content": "<b>Oh boy!</b> This is a alert. You can edit <code>alerts.json</code> to change the alerts displayed here.<br/>Set <code>class</code> to <code>dark</code>",
"closable": false
},
{
"class": "success",
"title": "Success",
"content": "<b>Oh boy!</b> This is an alert. You can edit <code>alerts.json</code> to change the alerts displayed here.<br/>Set <code>class</code> to <code>success</code><br/>Set <code>closable</code> to <code>true</code> to make the alert closable.",
"closable": true
},
{
"class": "info",
"title": null,
"content": "<b>Alert without a header!</b> This is an alert without header. If you set <code>title</code> to <code>null</code>, it renders this way.<br/>Set <code>class</code> to <code>info</code><br/>Set <code>closable</code> to <code>true</code> to make the alert closable.",
"closable": false
},
{
"class": "warning",
"title": "Warning",
"content": "<b>Oh boy!</b> This is an alert. You can edit <code>alerts.json</code> to change the alerts displayed here.<br/>Set <code>class</code> to <code>warning</code>",
"closable": true
},
{
"class": "danger",
"title": "Danger",
"content": "<b>Oh boy!</b> This is an alert. You can edit <code>alerts.json</code> to change the alerts displayed here.<br/>Set <code>class</code> to <code>danger</code>",
"closable": false
}
]