notmuch-web-0.2.0: A web interface to the notmuch email indexer

Safe HaskellNone

Foundation

Synopsis

Documentation

data App Source

Instances

YesodAuth App 
Yesod App 
RenderRoute App 
ParseRoute App 
RouteAttrs App 
YesodDispatch App 
RenderMessage App FormMessage 
RenderMessage App AppMessage 
Eq (Route App) 
Read (Route App) 
Show (Route App) 

type Handler = HandlerT App IOSource

type Widget = WidgetT App IO ()Source

resourcesApp :: [ResourceTree String]Source

type Form x = Html -> MForm (HandlerT App IO) (FormResult x, Widget)Source

getExtra :: (MonadHandler m, HandlerSite m ~ App) => m ExtraSource

Get the Extra value, used to hold data from the settings.yml file.

isPjax :: (MonadHandler m, HandlerSite m ~ App) => m BoolSource

Checks if the request comes from pjax

loginForm :: AForm (HandlerT App IO) ByteStringSource