summaryrefslogtreecommitdiff
path: root/repository
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-12-23 17:19:03 +0530
committerBobby <[email protected]>2025-12-23 17:19:03 +0530
commit8b59414ced114efcaee42f3711adf29ee84cfcf3 (patch)
tree1ea5d26da4c4d78e94dc0ca9556243f317fb0f9e /repository
parent93279b718bc7f9fb89aa329b7dbcc55d6e909b3e (diff)
downloadlain-8b59414ced114efcaee42f3711adf29ee84cfcf3.tar.xz
lain-8b59414ced114efcaee42f3711adf29ee84cfcf3.zip
added folder icons
Diffstat (limited to 'repository')
-rw-r--r--repository/folders.go36
1 files changed, 36 insertions, 0 deletions
diff --git a/repository/folders.go b/repository/folders.go
index 63ccf88..ba9a478 100644
--- a/repository/folders.go
+++ b/repository/folders.go
@@ -29,6 +29,42 @@ var folderIcons = map[string]types.FolderIconVariant{
Open: "/static/icons/dog_open.png",
Close: "/static/icons/dog.png",
},
+ "internal": {
+ Open: "/static/icons/internal_open.png",
+ Close: "/static/icons/internal.png",
+ },
+ "draft": {
+ Open: "/static/icons/draft_open.png",
+ Close: "/static/icons/draft.png",
+ },
+ "progress": {
+ Open: "/static/icons/draft_open.png",
+ Close: "/static/icons/draft.png",
+ },
+ "sent": {
+ Open: "/static/icons/sent.png",
+ Close: "/static/icons/sent.png",
+ },
+ "archive": {
+ Open: "/static/icons/archive_open.png",
+ Close: "/static/icons/archive.png",
+ },
+ "trash": {
+ Open: "/static/icons/trash_open.png",
+ Close: "/static/icons/trash.png",
+ },
+ "delete": {
+ Open: "/static/icons/trash_open.png",
+ Close: "/static/icons/trash.png",
+ },
+ "spam": {
+ Open: "/static/icons/junk_open.png",
+ Close: "/static/icons/junk.png",
+ },
+ "junk": {
+ Open: "/static/icons/junk_open.png",
+ Close: "/static/icons/junk.png",
+ },
}
func GetFolders(userEmail, activeFolder string) []fiber.Map {