Show new-invite as normal page

This commit is contained in:
Eike Kettner
2021-01-08 01:33:55 +01:00
parent bcb1b87fc0
commit 752c8f9be2
3 changed files with 4 additions and 22 deletions

View File

@ -28,9 +28,6 @@ view model =
RegisterPage ->
registerLayout model
NewInvitePage ->
newInviteLayout model
_ ->
defaultLayout model
@ -51,14 +48,6 @@ loginLayout model =
]
newInviteLayout : Model -> Html Msg
newInviteLayout model =
div [ class "newinvite-layout" ]
[ viewNewInvite model
, footer model
]
defaultLayout : Model -> Html Msg
defaultLayout model =
div [ class "default-layout" ]

View File

@ -14,14 +14,7 @@ view flags model =
[ div [ class "row" ]
[ div [ class "sixteen wide mobile fourteen wide tablet eight wide computer column" ]
[ h1 [ class "ui cener aligned icon header" ]
[ img
[ class "ui image"
, src (flags.config.docspellAssetPath ++ "/img/logo-96.png")
]
[]
, div [ class "content" ]
[ text "Create new invitations"
]
[ text "Create new invitations"
]
, inviteMessage flags
, Html.form