def divider(*content): ''' Returns a divider class for use to split breadcrumbs. Twitter Bootstrap examples all pass in a slash as the only content. ''' return " " + classed_span(DIVIDER_CLASS, *content)
def icon_bar(): ''' A visual "bar" in CSS. ''' return classed_span(ICON_BAR_CLASS)
def caret_button(): """ Returns the HTML code for a caret indicating a dropdown/dropup menu. """ return classed_button([BUTTON_CLASS, DROPDOWN_TOGGLE_CLASS], toggle(DROPDOWN_CLASS), classed_span("caret"))
def caret_button(): ''' Returns the HTML code for a caret indicating a dropdown/dropup menu. ''' return classed_button([BUTTON_CLASS, DROPDOWN_TOGGLE_CLASS], toggle(DROPDOWN_CLASS), classed_span("caret"))
def default_badge(*content): ''' Returns the HTML code for a grey-coloured badge. ''' return classed_span(BADGE_CLASS, *content)
def default_label(*content): ''' Returns the HTML code for a grey-coloured label. ''' return classed_span(LABEL_CLASS, *content)