Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Renders forms to an HTML menu, for the sake of highly-constrained browser engines. Like those dealing with TV remotes.
Synopsis
Documentation
renderPage :: Form -> [Text] -> Query -> IO (Maybe (Either Query Text)) Source #
Converts URI path & query to rendered hyper-linked HTML representing menus for selecting values to upload to the server as prescribed by the given form. These values are returned to caller on the Left-branch.
A collection of controls intended to be handle by a particular URL endpoint.
Form | |
|
type Query = [(ByteString, Maybe ByteString)] Source #
The query string manipulated by this serverside webapp.