This is an old revision of the document!
Buttons
Useful plugin for add several Bootstrap components (Jumbotron, Alert, Panel, …) to DokuWiki especially in combination with a Bootstrap template (eg. Bootstrap3).
For more information see Bootstrap Wrapper Plugin page on DokuWiki.org!
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Available components
Development
ChangeLog
- Added support for Igor by giterlizzi (2022/09/22 22:32)
- Merge branch 'develop' into master by giterlizzi (2020/09/03 14:42)
- Bump version by giterlizzi (2020/09/03 14:42)
- Fixed icon position in Tab syntax by giterlizzi (2020/09/03 14:37)
- Fixed CI by giterlizzi (2020/09/03 14:25)
Known Bugs and Issues
Please report bugs or feature requests at the Bug tracker.
Basic usage
<button type="primary">Primary</button>
Link button
<button type="success" size="lg" icon="glyphicon glyphicon-edit">[[:wiki:welcome]]</button>
Sizes
<button type="primary" size="lg">Large button</button> <button type="default" size="lg">Large button</button> <button type="primary">Default button</button> <button type="default">Default button</button> <button type="primary" size="sm">Small button</button> <button type="default" size="sm">Small button</button> <button type="primary" size="xs">Extra small button</button> <button type="default" size="xs">Extra small button</button>
Attributes
Attribute | Default Value | Allowed Values | Description |
---|---|---|---|
type | default | default , primary , success , info , warning , danger | Type of button |
icon | optional | Font icon class (eg. Glyphicon or Font-Awesome) | |
size | optional | Allowed values: lg , sm |