From c8683743d08a6e3cf97b05d339fbfd8395cfedf0 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Mon, 20 Apr 2020 18:41:30 +0200 Subject: [PATCH] Provide help within the form --- .../src/main/elm/Comp/NotificationForm.elm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/webapp/src/main/elm/Comp/NotificationForm.elm b/modules/webapp/src/main/elm/Comp/NotificationForm.elm index b4ca03db..706accf5 100644 --- a/modules/webapp/src/main/elm/Comp/NotificationForm.elm +++ b/modules/webapp/src/main/elm/Comp/NotificationForm.elm @@ -222,10 +222,16 @@ view extraClasses model = [] , label [] [ text "Enabled" ] ] + , span [ class "small-info" ] + [ text "Enable or disable this task." + ] ] , div [ class "required field" ] [ label [] [ text "Send via" ] , Html.map ConnMsg (Comp.Dropdown.view model.connectionModel) + , span [ class "small-info" ] + [ text "The SMTP connection to use when sending notification mails." + ] ] , div [ class "required field" ] [ label [] @@ -233,14 +239,23 @@ view extraClasses model = ] , Html.map RecipientMsg (Comp.EmailInput.view model.recipients model.recipientsModel) + , span [ class "small-info" ] + [ text "One or more mail addresses, confirm each by pressing 'Return'." + ] ] , div [ class "field" ] [ label [] [ text "Tags Include (and)" ] , Html.map TagIncMsg (Comp.Dropdown.view model.tagInclModel) + , span [ class "small-info" ] + [ text "Items must have all tags specified here." + ] ] , div [ class "field" ] [ label [] [ text "Tags Exclude (or)" ] , Html.map TagExcMsg (Comp.Dropdown.view model.tagExclModel) + , span [ class "small-info" ] + [ text "Items must not have all tags specified here." + ] ] , Html.map RemindDaysMsg (Comp.IntField.view model.remindDays @@ -261,6 +276,9 @@ view extraClasses model = ] , Html.map CalEventMsg (Comp.CalEventInput.view "" model.scheduleModel) + , span [ class "small-info" ] + [ text "Specify how often and when this task should run." + ] ] , div [ class "ui divider" ] [] , button