mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-19 10:37:01 +00:00
ui: Move div.page into Page frame
This commit is contained in:
@@ -225,15 +225,14 @@ updateRemoteTotal metric value history =
|
||||
-- VIEW --
|
||||
|
||||
|
||||
view : Session -> Model -> { title : String, modal : Maybe (Html msg), content : Html Msg }
|
||||
view : Session -> Model -> { title : String, modal : Maybe (Html msg), content : List (Html Msg) }
|
||||
view session model =
|
||||
{ title = "Inbucket Status"
|
||||
, modal = Nothing
|
||||
, content =
|
||||
div [ class "page" ]
|
||||
[ h1 [] [ text "Status" ]
|
||||
, div [] (configPanel model.config :: metricPanels model)
|
||||
]
|
||||
[ h1 [] [ text "Status" ]
|
||||
, div [] (configPanel model.config :: metricPanels model)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user