mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
alerts
This commit is contained in:
parent
3381409392
commit
366ac64f89
2 changed files with 22 additions and 1 deletions
15
README.md
15
README.md
|
@ -8,3 +8,18 @@ Requires [Jekyll](https://github.com/mojombo/jekyll)
|
|||
* run jekyll
|
||||
* output will be in \_site/
|
||||
|
||||
## Advanced Usage
|
||||
|
||||
### Alerts
|
||||
|
||||
You can easily put alerts on the homepage by changing the ALERT and ALERT\_CLASS variables in index.html.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
ALERT_CLASS: error
|
||||
ALERT: <strong>Security alert:</strong> Please upgrade to 0.3.25 as soon as possible!
|
||||
```
|
||||
|
||||
|
||||
will produce a red alert box. Possible classes are: error (red), info (blue), success (green) and warning (yellow)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue