Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- theme :: Theme
- genNavBar :: GenXML (Clck ClckURL)
- navBarHTML :: Text -> Bool -> NavBar -> GenXML (Clck ClckURL)
- mkNavBarItem :: NavBarItem -> GenXML (Clck ClckURL)
- defaultTemplate :: (EmbedAsChild (ClckT ClckURL (ServerPartT IO)) headers, EmbedAsChild (ClckT ClckURL (ServerPartT IO)) body) => Text -> headers -> body -> XMLGenT (ClckT ClckURL (ServerPartT IO)) XML
- defaultStyle :: ThemeStyle
Documentation
helper function to generate a navigation bar from the navigation bar data
mkNavBarItem :: NavBarItem -> GenXML (Clck ClckURL) Source #
:: (EmbedAsChild (ClckT ClckURL (ServerPartT IO)) headers, EmbedAsChild (ClckT ClckURL (ServerPartT IO)) body) | |
=> Text | title to stick in <title> tag |
-> headers | extra values to stick in <head> tag |
-> body | value to stick in <body> tag |
-> XMLGenT (ClckT ClckURL (ServerPartT IO)) XML |
default template for this theme
defaultStyle :: ThemeStyle Source #
default ThemeStyle
for this theme