utils.py
596 Bytes
mime_type_to_material_icons = {
'application/pdf': 'fa-file-pdf-o',
'text/plain': 'file-text-o',
'image/png': 'file-picture-o',
'image/jpeg': 'file-picture-o',
'application/msword': 'file-word-o',
'application/excel': 'file-powerpoint-o',
'application/vnd.ms-excel': 'file-powerpoint-o',
'application/x-excel': 'file-powerpoint-o',
'application/x-msexcel': 'file-powerpoint-o',
'application/mspowerpoint': 'file-powerpoint-o',
'application/powerpoint': 'file-powerpoint-o',
'application/vnd.ms-powerpoint': 'file-powerpoint-o',
'application/x-mspowerpoint': 'file-powerpoint-o',
}