mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 22:55:58 +00:00
Reorder user task table columns
This commit is contained in:
parent
bdfc151272
commit
1f9f09ba6f
@ -42,15 +42,15 @@ update msg model =
|
|||||||
view : Model -> List NotificationSettings -> Html Msg
|
view : Model -> List NotificationSettings -> Html Msg
|
||||||
view _ items =
|
view _ items =
|
||||||
div []
|
div []
|
||||||
[ table [ class "ui very basic table" ]
|
[ table [ class "ui very basic center aligned table" ]
|
||||||
[ thead []
|
[ thead []
|
||||||
[ th [ class "collapsing" ] []
|
[ th [ class "collapsing" ] []
|
||||||
, th [ class "collapsing" ]
|
, th [ class "collapsing" ]
|
||||||
[ i [ class "check icon" ] []
|
[ i [ class "check icon" ] []
|
||||||
]
|
]
|
||||||
|
, th [] [ text "Schedule" ]
|
||||||
, th [] [ text "Connection" ]
|
, th [] [ text "Connection" ]
|
||||||
, th [] [ text "Recipients" ]
|
, th [] [ text "Recipients" ]
|
||||||
, th [] [ text "Schedule" ]
|
|
||||||
, th [] [ text "Remind Days" ]
|
, th [] [ text "Remind Days" ]
|
||||||
]
|
]
|
||||||
, tbody []
|
, tbody []
|
||||||
@ -75,17 +75,17 @@ viewItem item =
|
|||||||
, td [ class "collapsing" ]
|
, td [ class "collapsing" ]
|
||||||
[ Util.Html.checkbox item.enabled
|
[ Util.Html.checkbox item.enabled
|
||||||
]
|
]
|
||||||
|
, td []
|
||||||
|
[ code []
|
||||||
|
[ text item.schedule
|
||||||
|
]
|
||||||
|
]
|
||||||
, td []
|
, td []
|
||||||
[ text item.smtpConnection
|
[ text item.smtpConnection
|
||||||
]
|
]
|
||||||
, td []
|
, td []
|
||||||
[ String.join ", " item.recipients |> text
|
[ String.join ", " item.recipients |> text
|
||||||
]
|
]
|
||||||
, td []
|
|
||||||
[ code []
|
|
||||||
[ text item.schedule
|
|
||||||
]
|
|
||||||
]
|
|
||||||
, td []
|
, td []
|
||||||
[ String.fromInt item.remindDays
|
[ String.fromInt item.remindDays
|
||||||
|> text
|
|> text
|
||||||
|
@ -42,15 +42,15 @@ update msg model =
|
|||||||
view : Model -> List ScanMailboxSettings -> Html Msg
|
view : Model -> List ScanMailboxSettings -> Html Msg
|
||||||
view _ items =
|
view _ items =
|
||||||
div []
|
div []
|
||||||
[ table [ class "ui very basic table" ]
|
[ table [ class "ui very basic center aligned table" ]
|
||||||
[ thead []
|
[ thead []
|
||||||
[ th [ class "collapsing" ] []
|
[ th [ class "collapsing" ] []
|
||||||
, th [ class "collapsing" ]
|
, th [ class "collapsing" ]
|
||||||
[ i [ class "check icon" ] []
|
[ i [ class "check icon" ] []
|
||||||
]
|
]
|
||||||
|
, th [] [ text "Schedule" ]
|
||||||
, th [] [ text "Connection" ]
|
, th [] [ text "Connection" ]
|
||||||
, th [] [ text "Folders" ]
|
, th [] [ text "Folders" ]
|
||||||
, th [] [ text "Schedule" ]
|
|
||||||
, th [] [ text "Received Since" ]
|
, th [] [ text "Received Since" ]
|
||||||
, th [] [ text "Target" ]
|
, th [] [ text "Target" ]
|
||||||
, th [] [ text "Delete" ]
|
, th [] [ text "Delete" ]
|
||||||
@ -77,21 +77,22 @@ viewItem item =
|
|||||||
, td [ class "collapsing" ]
|
, td [ class "collapsing" ]
|
||||||
[ Util.Html.checkbox item.enabled
|
[ Util.Html.checkbox item.enabled
|
||||||
]
|
]
|
||||||
|
, td []
|
||||||
|
[ code []
|
||||||
|
[ text item.schedule
|
||||||
|
]
|
||||||
|
]
|
||||||
, td []
|
, td []
|
||||||
[ text item.imapConnection
|
[ text item.imapConnection
|
||||||
]
|
]
|
||||||
, td []
|
, td []
|
||||||
[ String.join ", " item.folders |> text
|
[ String.join ", " item.folders |> text
|
||||||
]
|
]
|
||||||
, td []
|
|
||||||
[ code []
|
|
||||||
[ text item.schedule
|
|
||||||
]
|
|
||||||
]
|
|
||||||
, td []
|
, td []
|
||||||
[ Maybe.map String.fromInt item.receivedSinceHours
|
[ Maybe.map String.fromInt item.receivedSinceHours
|
||||||
|> Maybe.withDefault "-"
|
|> Maybe.withDefault "-"
|
||||||
|> text
|
|> text
|
||||||
|
, text " h"
|
||||||
]
|
]
|
||||||
, td []
|
, td []
|
||||||
[ Maybe.withDefault "-" item.targetFolder
|
[ Maybe.withDefault "-" item.targetFolder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user