1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 19:17:01 +00:00

ui: Mailbox purge prompts for confirmation

This commit is contained in:
James Hillyerd
2018-12-12 20:37:39 -08:00
parent efe554bd77
commit f12a72871f
7 changed files with 94 additions and 23 deletions

View File

@@ -82,9 +82,10 @@ update session msg model =
-- VIEW
view : Session -> Model -> { title : String, content : Html Msg }
view : Session -> Model -> { title : String, modal : Maybe (Html msg), content : Html Msg }
view session model =
{ title = "Inbucket Monitor"
, modal = Nothing
, content =
div [ class "page" ]
[ h1 [] [ text "Monitor" ]