panel
Usage
Parameter | Default | Description |
---|---|---|
header | none | The title of the panel. If specified, this title will be displayed in its own header row. |
footer | none | the footer of the panel. If specified, this text will be displayed in its own row |
theme | primary |
default ,primary ,info ,success ,warning ,danger |
Basic example
By default :
{{% panel %}}this is a panel text{{% /panel %}}
<div class="panel-body">this is a panel text</div>
Panel with heading
Easily add a heading container to your panel with header
parameter. You may apply any theme.
{{% panel theme="danger" header="panel title" %}}this is a panel text{{% /panel %}}
{{% panel theme="success" header="panel title" %}}this is a panel text{{% /panel %}}
Panel with footer
Wrap a secondary text in footer.
{{% panel footer="panel footer" %}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.{{% /panel %}}
<div class="panel-body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.