mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +00:00
Show new-invite as normal page
This commit is contained in:
parent
bcb1b87fc0
commit
752c8f9be2
@ -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" ]
|
||||
|
@ -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
|
||||
|
@ -340,15 +340,15 @@ label span.muted {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.login-layout, .register-layout, .newinvite-layout {
|
||||
.login-layout, .register-layout {
|
||||
background: #708090;
|
||||
height: 100vh;
|
||||
}
|
||||
.login-layout > .ui.footer, .register-layout > .ui.footer, .newinvite-layout > .ui.footer {
|
||||
.login-layout > .ui.footer, .register-layout > .ui.footer {
|
||||
background: #708090;
|
||||
}
|
||||
|
||||
.login-layout .login-view, .register-layout .register-view, .newinvite-view {
|
||||
.login-layout .login-view, .register-layout .register-view {
|
||||
background: #fff;
|
||||
position: relative;
|
||||
top: 2vh;
|
||||
|
Loading…
x
Reference in New Issue
Block a user