diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-08-24 18:14:41 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-08-27 19:20:49 +0200 |
commit | 1a8f921a3d7dc1fa05e225a681b0022cd0e121e5 (patch) | |
tree | a48c2cef543ccadbd1cea3ab0a1908f66f627dda /core/js | |
parent | 1dd7a8c319e8d9d0943b5bfd69c6eec1116542ce (diff) | |
download | nextcloud-server-1a8f921a3d7dc1fa05e225a681b0022cd0e121e5.tar.gz nextcloud-server-1a8f921a3d7dc1fa05e225a681b0022cd0e121e5.zip |
simpler style for filetype icons
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/mimetypelist.js | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index b4de98247d1..e49ace6df73 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -9,23 +9,26 @@ OC.MimeTypeList={ aliases: { "application/coreldraw": "image", - "application/font-sfnt": "font", - "application/font-woff": "font", - "application/illustrator": "image/vector", + "application/epub+zip": "text", + "application/font-sfnt": "image", + "application/font-woff": "image", + "application/illustrator": "image", + "application/javascript": "text/code", "application/json": "text/code", - "application/msaccess": "database", + "application/msaccess": "file", "application/msexcel": "x-office/spreadsheet", "application/mspowerpoint": "x-office/presentation", "application/msword": "x-office/document", "application/octet-stream": "file", - "application/postscript": "image/vector", + "application/postscript": "image", + "application/rss+xml": "text/code", "application/vnd.android.package-archive": "package/x-generic", "application/vnd.ms-excel": "x-office/spreadsheet", "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet", "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet", "application/vnd.ms-excel.sheet.macroEnabled.12": "x-office/spreadsheet", "application/vnd.ms-excel.template.macroEnabled.12": "x-office/spreadsheet", - "application/vnd.ms-fontobject": "font", + "application/vnd.ms-fontobject": "image", "application/vnd.ms-powerpoint": "x-office/presentation", "application/vnd.ms-powerpoint.addin.macroEnabled.12": "x-office/presentation", "application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation", @@ -49,58 +52,54 @@ OC.MimeTypeList={ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document", "application/x-7z-compressed": "package/x-generic", + "application/x-cbr": "text", "application/x-compressed": "package/x-generic", "application/x-dcraw": "image", "application/x-deb": "package/x-generic", - "application/x-font": "font", + "application/x-font": "image", "application/x-gimp": "image", "application/x-gzip": "package/x-generic", "application/x-perl": "text/code", "application/x-photoshop": "image", "application/x-php": "text/code", "application/x-rar-compressed": "package/x-generic", + "application/x-shockwave-flash": "application", "application/x-tar": "package/x-generic", "application/x-tex": "text", "application/xml": "text/html", "application/yaml": "text/code", "application/zip": "package/x-generic", + "database": "file", "httpd/unix-directory": "dir", - "image/svg+xml": "image/vector", + "image/svg+xml": "image", + "image/vector": "image", "text/css": "text/code", "text/csv": "x-office/spreadsheet", - "text/x-shellscript": "text/code" + "text/html": "text/code", + "text/x-c": "text/code", + "text/x-h": "text/code", + "text/x-python": "text/code", + "text/x-shellscript": "text/code", + "web": "text/code" }, files: [ - "text-x-h", - "application-rss+xml", "video", "folder-drag-accept", - "application-epub+zip", "folder-public", "package-x-generic", - "application-x-shockwave-flash", - "text", "folder-external", - "web", "text-vcard", "application", - "image-vector", - "database", "text-code", - "text-x-python", "x-office-spreadsheet", "application-pdf", "folder", "x-office-document", - "text-html", "text-calendar", "x-office-presentation", - "text-x-c", "file", - "font", + "text", "folder-shared", - "application-x-cbr", - "application-javascript", "image", "audio" ], |