clckwrks-theme-clckwrks 0.3.14 → 0.4.0
raw patch · 2 files changed
+12/−12 lines, 2 filesdep ~clckwrks
Dependency ranges changed: clckwrks
Files
- Theme.hs +10/−10
- clckwrks-theme-clckwrks.cabal +2/−2
Theme.hs view
@@ -18,19 +18,10 @@ theme :: Theme theme = Theme { themeName = "clckwrks"- , _themeTemplate = standardTemplate+ , themeStyles = [standardStyle] , themeDataDir = getDataDir } -pageTemplate :: ( EmbedAsChild (ClckT ClckURL (ServerPartT IO)) headers- , EmbedAsChild (ClckT ClckURL (ServerPartT IO)) body- ) =>- T.Text- -> headers- -> body- -> XMLGenT (ClckT ClckURL (ServerPartT IO)) XML-pageTemplate ttl hdr bdy = standardTemplate ttl hdr bdy- genNavBar :: GenXML (Clck ClckURL) genNavBar = do menu <- lift getNavBarData@@ -94,3 +85,12 @@ </body> </html>+++standardStyle :: ThemeStyle+standardStyle = ThemeStyle+ { themeStyleName = "standard"+ , themeStyleDescription = "standard view"+ , themeStylePreview = Nothing+ , themeStyleTemplate = standardTemplate+ }
clckwrks-theme-clckwrks.cabal view
@@ -1,5 +1,5 @@ name: clckwrks-theme-clckwrks-version: 0.3.14+version: 0.4.0 synopsis: simple bootstrap based template for clckwrks homepage: http://www.clckwrks.com/ license: BSD3@@ -31,7 +31,7 @@ exposed-modules: Theme Paths_clckwrks_theme_clckwrks build-depends: base >= 4.5 && < 5,- clckwrks >= 0.18 && < 0.21,+ clckwrks >= 0.21 && < 0.22, containers >= 0.4 && < 0.6, hsp >= 0.9 && < 0.11, text == 0.11.*