mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
change file icon type
This commit is contained in:
@@ -53,9 +53,11 @@ export const Utils = {
|
||||
FILEEXT_ICON_MAP: {
|
||||
|
||||
// text file
|
||||
'md': 'txt.png',
|
||||
'txt': 'txt.png',
|
||||
|
||||
// markdown file
|
||||
'md': 'md.png',
|
||||
|
||||
// pdf file
|
||||
'pdf': 'pdf.png',
|
||||
|
||||
@@ -103,11 +105,17 @@ export const Utils = {
|
||||
'gif': 'pic.png',
|
||||
'bmp': 'pic.png',
|
||||
'ico': 'pic.png',
|
||||
'psd': 'psd.png',
|
||||
|
||||
// style file
|
||||
'css': 'css.png',
|
||||
|
||||
// sdoc file
|
||||
'sdoc': 'sdoc.png',
|
||||
'sdoc_notification': 'sdoc_notification.ico',
|
||||
|
||||
// default
|
||||
'default': 'file.png',
|
||||
'sdoc': 'sdoc.png',
|
||||
'sdoc_notification': 'sdoc_notification.ico'
|
||||
},
|
||||
|
||||
// check if a file is an image
|
||||
|
Reference in New Issue
Block a user