mdr2.layout

Define the basic page structure and layout

button

(button href & body)

Return a button. If the href is nil the button is disabled

button-group

(button-group buttons)

common

(common identity & body)

Display a page using the bootstrap css

dropdown

(dropdown items & body)

dropdown-menu

(dropdown-menu identity)

Display a dropdown menu

glyphicon

(glyphicon class)

key-to-label

(key-to-label k)

Return a nice string from a keyword, e.g. :product_number will be converted to “Product Number”

loginbar

(loginbar identity)

Display a login link or information about the currently logged in user if user is non-nil

menu-item

(menu-item href & body)

navbar

(navbar identity)

Display the navbar