mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
46b784cc33
The option "contents" has been removed from the search bar. This field is not intended to be used alone, but rather in conjunction with other fields. Otherwise it may be really slow on large databases. The "name" option has been removed from the search menu. This doesn't provide anything better over the "Names" field, that search more fields, including item names.
174 lines
2.6 KiB
Elm
174 lines
2.6 KiB
Elm
module Data.Icons exposing
|
|
( addFiles
|
|
, addFilesIcon
|
|
, concerned
|
|
, concernedIcon
|
|
, correspondent
|
|
, correspondentIcon
|
|
, date
|
|
, dateIcon
|
|
, direction
|
|
, directionIcon
|
|
, dueDate
|
|
, dueDateIcon
|
|
, editNotes
|
|
, editNotesIcon
|
|
, equipment
|
|
, equipmentIcon
|
|
, folder
|
|
, folderIcon
|
|
, organization
|
|
, organizationIcon
|
|
, person
|
|
, personIcon
|
|
, search
|
|
, searchIcon
|
|
, tag
|
|
, tagIcon
|
|
, tags
|
|
, tagsIcon
|
|
)
|
|
|
|
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) ] []
|
|
|
|
|
|
folder : String
|
|
folder =
|
|
"folder outline icon"
|
|
|
|
|
|
folderIcon : String -> Html msg
|
|
folderIcon classes =
|
|
i [ class (folder ++ " " ++ classes) ] []
|
|
|
|
|
|
concerned : String
|
|
concerned =
|
|
"crosshairs icon"
|
|
|
|
|
|
concernedIcon : Html msg
|
|
concernedIcon =
|
|
i [ class concerned ] []
|
|
|
|
|
|
correspondent : String
|
|
correspondent =
|
|
"address card outline icon"
|
|
|
|
|
|
correspondentIcon : String -> Html msg
|
|
correspondentIcon classes =
|
|
i [ class (correspondent ++ " " ++ classes) ] []
|
|
|
|
|
|
date : String
|
|
date =
|
|
"calendar outline icon"
|
|
|
|
|
|
dateIcon : String -> Html msg
|
|
dateIcon classes =
|
|
i [ class (date ++ " " ++ classes) ] []
|
|
|
|
|
|
dueDate : String
|
|
dueDate =
|
|
"bell icon"
|
|
|
|
|
|
dueDateIcon : String -> Html msg
|
|
dueDateIcon classes =
|
|
i [ class (dueDate ++ " " ++ classes) ] []
|
|
|
|
|
|
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 ] []
|
|
|
|
|
|
tag : String
|
|
tag =
|
|
"tag icon"
|
|
|
|
|
|
tagIcon : String -> Html msg
|
|
tagIcon classes =
|
|
i [ class (tag ++ " " ++ classes) ] []
|
|
|
|
|
|
tags : String
|
|
tags =
|
|
"tags icon"
|
|
|
|
|
|
tagsIcon : String -> Html msg
|
|
tagsIcon classes =
|
|
i [ class (tags ++ " " ++ classes) ] []
|
|
|
|
|
|
direction : String
|
|
direction =
|
|
"exchange icon"
|
|
|
|
|
|
directionIcon : String -> Html msg
|
|
directionIcon classes =
|
|
i [ class (direction ++ " " ++ classes) ] []
|
|
|
|
|
|
person : String
|
|
person =
|
|
"user icon"
|
|
|
|
|
|
personIcon : String -> Html msg
|
|
personIcon classes =
|
|
i [ class (person ++ " " ++ classes) ] []
|
|
|
|
|
|
organization : String
|
|
organization =
|
|
"factory icon"
|
|
|
|
|
|
organizationIcon : String -> Html msg
|
|
organizationIcon classes =
|
|
i [ class (organization ++ " " ++ classes) ] []
|
|
|
|
|
|
equipment : String
|
|
equipment =
|
|
"box icon"
|
|
|
|
|
|
equipmentIcon : String -> Html msg
|
|
equipmentIcon classes =
|
|
i [ class (equipment ++ " " ++ classes) ] []
|