CurryInfo: currydoc-4.0.0 / CurryDoc.Html.simplePage

definition: Info
 
simplePage :: (String,[BaseHtml]) -> String -> Maybe [BaseHtml]
           -> [[BaseHtml]] -> [BaseHtml] -> IO String
simplePage homeref title htmltitle lefttopmenu maindoc = do
  time <- getLocalTime
  return $ showHtmlPage $
    bootstrapPage favIcon cssIncludes jsIncludes title homeref
                  lefttopmenu rightTopMenu 0 []
                  [h1 (maybe [htxt title] id htmltitle)]
                  maindoc
                  (curryDocFooter time)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Generate a simple page with the default documentation style.
@param title - the title of the page
@param htmltitle - maybe a specific title for h1 header
@param lefttopmenu - the menu shown at left of the top
@param doc - the main contents of the page
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_,_) |-> _}
name: Info
 simplePage
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (String, [HTML.Base.BaseHtml]) -> String -> Prelude.Maybe [HTML.Base.BaseHtml]
-> [[HTML.Base.BaseHtml]] -> [HTML.Base.BaseHtml] -> Prelude.IO String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term