NoRedInk/noredink-ui/6.19.1

NOTE: the latest version is 35.9.3

Nri.Ui.Page.V2

A styled NRI issue page!

type alias DefaultPage msg =
{ link : msg
, name : String
}

The default page information is for the button which will direct the user back to the main page of the SPA. Specify it's name and the message which will navigate to the page.

broken : DefaultPage msg -> Html msg

For HTTP errors and other broken states.

blocked : String -> Html msg

For HTTP errors and other broken states, where link goes to "/".

notFound : DefaultPage msg -> Html msg

For the not found page.

noPermission : DefaultPage msg -> Html msg

For pages the user does not have access to.