mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
add (not exactly correct -> see fixme) mime types for docx and xlsx
This commit is contained in:
@@ -529,11 +529,13 @@ function getIconFromType(type) {
|
||||
'text/html': 'bi-filetype-html',
|
||||
'application/msword': 'bi-file-earmark-word',
|
||||
'application/pdf': 'bi-file-earmark-pdf',
|
||||
'application/vnd.oasis.opendocument.text': 'bifile--earmark-text',
|
||||
'application/vnd.oasis.opendocument.text': 'bi-file-earmark-text',
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'bi-file-earmark-text',
|
||||
'application/epub+zip': 'bi-file-earmark-text',
|
||||
//Spreadsheet
|
||||
'application/vnd.oasis.opendocument.spreadsheet': 'bi-file-earmark-spreadsheet',
|
||||
'application/vnd.ms-excel': 'bi-file-earmark-spreadsheet',
|
||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'bi-file-earmark-spreadsheet',
|
||||
//Image
|
||||
'image/jpeg': 'bi-file-earmark-image',
|
||||
'image/png': 'bi-file-earmark-image',
|
||||
|
||||
@@ -141,11 +141,13 @@ function getIconFromType(type) {
|
||||
'text/html': 'bi-filetype-html',
|
||||
'application/msword': 'bi-file-earmark-word',
|
||||
'application/pdf': 'bi-file-earmark-pdf',
|
||||
'application/vnd.oasis.opendocument.text': 'bifile--earmark-text',
|
||||
'application/vnd.oasis.opendocument.text': 'bi-file-earmark-text',
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'bi-file-earmark-text',
|
||||
'application/epub+zip': 'bi-file-earmark-text',
|
||||
//Spreadsheet
|
||||
'application/vnd.oasis.opendocument.spreadsheet': 'bi-file-earmark-spreadsheet',
|
||||
'application/vnd.ms-excel': 'bi-file-earmark-spreadsheet',
|
||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'bi-file-earmark-spreadsheet',
|
||||
//Image
|
||||
'image/jpeg': 'bi-file-earmark-image',
|
||||
'image/png': 'bi-file-earmark-image',
|
||||
|
||||
Reference in New Issue
Block a user