mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Ui updates: place result message below buttons
This commit is contained in:
@ -477,6 +477,7 @@ view2 flags model =
|
||||
, onInput SetName
|
||||
, Maybe.withDefault "" model.name
|
||||
|> value
|
||||
, classList [ ( S.inputErrorBorder, model.name == Nothing ) ]
|
||||
, class S.textInput
|
||||
, id "folder-name"
|
||||
]
|
||||
@ -585,11 +586,15 @@ viewButtons2 model =
|
||||
}
|
||||
]
|
||||
, end =
|
||||
[ MB.DeleteButton
|
||||
[ MB.CustomButton
|
||||
{ tagger = RequestDelete
|
||||
, label = "Delete"
|
||||
, icon = Just "fa fa-trash"
|
||||
, title = "Delete this folder"
|
||||
, inputClass =
|
||||
[ ( S.deleteButton, True )
|
||||
, ( "hidden", model.folder.id == "" )
|
||||
]
|
||||
}
|
||||
]
|
||||
, rootClasses = "mb-4"
|
||||
|
Reference in New Issue
Block a user