docspell/modules/webapp/src/main/elm/Data/Icons.elm

174 lines
2.6 KiB
Elm
Raw Normal View History

2020-05-17 19:42:16 +00:00
module Data.Icons exposing
( addFiles
, addFilesIcon
, concerned
2020-05-17 19:42:16 +00:00
, concernedIcon
, correspondent
, correspondentIcon
2020-06-09 19:10:49 +00:00
, date
, dateIcon
, direction
, directionIcon
2020-05-17 19:42:16 +00:00
, dueDate
, dueDateIcon
2020-05-17 20:41:25 +00:00
, editNotes
, editNotesIcon
2020-06-09 19:10:49 +00:00
, equipment
, equipmentIcon
2020-07-11 09:38:57 +00:00
, folder
, folderIcon
2020-06-09 19:10:49 +00:00
, organization
, organizationIcon
, person
, personIcon
, search
, searchIcon
2020-06-09 19:10:49 +00:00
, tag
, tagIcon
, tags
, tagsIcon
2020-05-17 19:42:16 +00:00
)
import Html exposing (Html, i)
import Html.Attributes exposing (class)
search : String
search =
"search icon"
searchIcon : String -> Html msg
searchIcon classes =
i [ class (search ++ " " ++ classes) ] []
2020-07-11 09:38:57 +00:00
folder : String
folder =
2020-07-04 22:37:27 +00:00
"folder outline icon"
2020-07-11 09:38:57 +00:00
folderIcon : String -> Html msg
folderIcon classes =
i [ class (folder ++ " " ++ classes) ] []
2020-07-04 22:37:27 +00:00
2020-05-17 19:42:16 +00:00
concerned : String
concerned =
"crosshairs icon"
concernedIcon : Html msg
concernedIcon =
i [ class concerned ] []
correspondent : String
correspondent =
"address card outline icon"
2020-06-13 14:18:24 +00:00
correspondentIcon : String -> Html msg
correspondentIcon classes =
i [ class (correspondent ++ " " ++ classes) ] []
2020-05-17 19:42:16 +00:00
2020-06-09 19:10:49 +00:00
date : String
date =
"calendar outline icon"
2020-06-11 22:17:26 +00:00
dateIcon : String -> Html msg
dateIcon classes =
i [ class (date ++ " " ++ classes) ] []
2020-06-09 19:10:49 +00:00
2020-05-17 19:42:16 +00:00
dueDate : String
dueDate =
"bell icon"
2020-06-11 22:17:26 +00:00
dueDateIcon : String -> Html msg
dueDateIcon classes =
i [ class (dueDate ++ " " ++ classes) ] []
2020-05-17 20:41:25 +00:00
editNotes : String
editNotes =
"comment alternate outline icon"
editNotesIcon : Html msg
editNotesIcon =
i [ class editNotes ] []
addFiles : String
addFiles =
"file plus icon"
addFilesIcon : Html msg
addFilesIcon =
i [ class addFiles ] []
2020-06-09 19:10:49 +00:00
tag : String
tag =
"tag icon"
2020-06-11 22:17:26 +00:00
tagIcon : String -> Html msg
tagIcon classes =
i [ class (tag ++ " " ++ classes) ] []
2020-06-09 19:10:49 +00:00
tags : String
tags =
"tags icon"
2020-06-11 22:17:26 +00:00
tagsIcon : String -> Html msg
tagsIcon classes =
i [ class (tags ++ " " ++ classes) ] []
2020-06-09 19:10:49 +00:00
direction : String
direction =
"exchange icon"
2020-06-11 22:17:26 +00:00
directionIcon : String -> Html msg
directionIcon classes =
i [ class (direction ++ " " ++ classes) ] []
2020-06-09 19:10:49 +00:00
person : String
person =
"user icon"
2020-06-11 22:17:26 +00:00
personIcon : String -> Html msg
personIcon classes =
i [ class (person ++ " " ++ classes) ] []
2020-06-09 19:10:49 +00:00
organization : String
organization =
"factory icon"
2020-06-11 22:17:26 +00:00
organizationIcon : String -> Html msg
organizationIcon classes =
i [ class (organization ++ " " ++ classes) ] []
2020-06-09 19:10:49 +00:00
equipment : String
equipment =
"box icon"
2020-06-11 22:17:26 +00:00
equipmentIcon : String -> Html msg
equipmentIcon classes =
i [ class (equipment ++ " " ++ classes) ] []