wiki:plugin:bootswrapper:button

This is an old revision of the document!


Buttons

<button type="primary">Primary</button> ... 

Default Primary Success Info Warning Danger Link

<button type="success" size="lg" icon="glyphicon glyphicon-edit">[[:wiki:welcome]]</button>

Welcome to your new DokuWiki

<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>

Large button Large button

Default button Default button

Small button Small button

Extra small button Extra small button

Attribute Default Value Allowed Values Description
type default default, primary, success, info, warning, danger, link Type of button
icon optional Font icon class (eg. Glyphicon or Font-Awesome)
size optional Allowed values: lg, sm
  • wiki/plugin/bootswrapper/button.1438549918.txt.gz
  • Last modified: 9 years ago
  • by Giuseppe Di Terlizzi