Documentation has moved
This documentation is not maintained anymore.
Find the new documentation here:
https://support.lewe.com/docs/bootstrap-visuals-for-confluence-manual/
Alert Box
Screenshot
Description
The Alert Box is a panel basically. You can define the style and the title in the macro dialog. The macro body is displayed in the panel. In the above example, that is the "Lorem ipsum" text.
Adding the Macro
Edit your page.
Select "+" => Other macros
Type in "Bootstrap" in the Search box
Select the "Bootstrap Alert Box" macro
Macro Options
Style
The style defines the color of the alertbox. The listbox contains the terms that Bootstrap uses to identify the color style.
Term | Background Color |
---|---|
danger | |
dark | |
info | |
light | |
primary | |
secondary | |
success | |
warning |
Heading
If you want to add a heading to your alertbox, you can enter it here. If you do, it will be followed by a horizontal line befoer the body is shown.
If you use a plugin or macro that reads out the headings of your page, this heading will be included!
Heading Level
Select the heading level that you want your alertbox heading to have.
Dimissible
SINCE VERSION: 1.3.0
You can select that the alertbox is dismissible. In that case, an x will be shown in the upper right corner that, when clicked, will hide the alertbox.
Body
This macro supports a body. The content that you place in the content will be displayed inside the alertbox.
After you save the macro while editing the page, put any text or another macro in the body: