yesod-pnotify-0.5.0: Yet another getMessage/setMessage using pnotify jquery plugins

Safe HaskellNone

Yesod.Goodies.PNotify

Documentation

data PNotify Source

Constructors

PNotify 

Fields

sty :: NotifyStyling
 
typ :: NotifyType
 
ttl :: Text
 
msg :: Text
 

Instances

Read PNotify 
Show PNotify 

data NotifyType Source

Constructors

Notice 
Info 
Success 
Error 

Instances

Read NotifyType 
Show NotifyType 

data NotifyStyling Source

Constructors

JqueryUI 
Bootstrap 

Instances

class YesodJquery a => YesodJqueryPnotify a whereSource

Methods

urlPnotifyJs :: a -> Either (Route a) TextSource

urlPnotifyCss :: a -> Either (Route a) TextSource

urlPnotifyIconsCss :: a -> Either (Route a) TextSource

getPNotify :: HandlerT site IO (Maybe [PNotify])Source

pnotify :: YesodJqueryPnotify site => site -> WidgetT site IO ()Source