Select list/tile view and store to ui settings

Issue: #526
This commit is contained in:
eikek
2021-12-13 14:49:22 +01:00
parent 05843876cc
commit 1eb1db730c
20 changed files with 850 additions and 75 deletions

View File

@ -72,6 +72,8 @@ module Data.Icons exposing
, tagIcon2
, tags2
, tagsIcon2
, trash
, trashIcon
)
import Data.CustomFieldType exposing (CustomFieldType)
@ -81,6 +83,20 @@ import Svg
import Svg.Attributes as SA
trash : String
trash =
"fa fa-trash-alt text-red-500 dark:text-orange-600"
trashIcon : String -> Html msg
trashIcon classes =
i
[ class classes
, class trash
]
[]
share : String
share =
"fa fa-share-alt"