1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 10:37: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

@@ -240,9 +240,10 @@ loadServerConfig =
-- 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 Status"
, modal = Nothing
, content =
div [ class "page" ]
[ h1 [] [ text "Status" ]