WASHINGTON STATE UNIVERSITY
Finance and Administration Information Systems
Examples
Getting started. What do we need? A message that is notice. For example:
Please use this Collegiate Licensing Company search function to quickly help you find your licensed product. The above pdf files will also assist in this process.
Below are different ways to highlight what is needed.
Triggering a label
There are 2 ways to trigger a label, using a class which will tell the system to treat this classed element as a label it’s self, or using the data attributes to trigger an appending/pre-pending of the label.
<span class="label label-default">New label</span>
<h1 data-label-before="New label" data-context="default">H1 Example heading</h1>
Via class
Set the content of the label
class="label"
Set the context of the label
class="label-default"
(note: technically using default is redundant but useful to reset or over power maybe)class="label-primary"
class="label-success"
class="label-info"
class="label-warning"
class="label-danger"
Via data attributes
Set the content and placement of the label
data-label-after="new after"
data-label-before="new before"
Set the context of the label
data-context="default"
(note: again probably redundant to use)data-context="primary"
data-context="success"
data-context="info"
data-context="warning"
data-context="danger"
Putting it to practice Basic Ideas
H1 Example heading New
H2 Example heading New
H3 Example heading New
H4 Example heading New
H5 Example heading New
H6 Example heading New
Example after
H1 Example heading
H2 Example heading
H3 Example heading
H4 Example heading
H5 Example heading
H6 Example heading
Example before
H1 Example heading
H2 Example heading
H3 Example heading
H4 Example heading
H5 Example heading
H6 Example heading
Available variations
Add any of the below mentioned modifier classes to change the appearance of a label.
Default
Primary
Success
Info
Warning
Danger
Primary
Success
Info
Warning
Danger
Have tons of labels?
Default
span as Primary
span as Success
span as Info
span as Warning
span as Danger
span as Primary
data-context="primary"
span as Success
data-context="success"
span as Info
data-context="info"
span as Warning
data-context="warning"
span as Danger
data-context="danger"