1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

Improve file type icons

This commit is contained in:
plt
2012-07-19 12:24:07 +08:00
parent b7f95673a1
commit 6eddec46ae
12 changed files with 11 additions and 8 deletions

View File

@@ -124,13 +124,16 @@ ACCOUNT_ACTIVATION_DAYS = 7
# Icons will show in repo page.
FILEEXT_ICON_MAP = {
# pdf file
'pdf' : 'pdf-icon-24.png',
'pdf' : 'pdf.png',
# document file
'doc' : 'word-icon-24.png',
'docx' : 'word-icon-24.png',
# ppt file
'ppt' : 'ppt-icon-24.png',
'pptx' : 'ppt-icon-24.png',
'doc' : 'ms-word.png',
'docx' : 'ms-word.png',
'ppt' : 'ms-ppt.png',
'pptx' : 'ms-ppt.png',
'xls' : 'ms-excel.png',
'xlsx' : 'ms-excel.png',
'txt' : 'txt.png',
'odf' : 'odf.png',
# music file
'mp3' : 'music-icon-24.png',
# picture file