Improve image thumbnails and files table

This commit is contained in:
Frederic Guillot
2016-02-13 22:51:58 -05:00
parent 82c45622c6
commit 124f93dbad
36 changed files with 272 additions and 247 deletions

View File

@@ -38,15 +38,20 @@ class File extends \Kanboard\Core\Base
return 'fa-file-powerpoint-o';
case 'zip':
case 'rar':
case 'tar':
case 'bz2':
case 'xz':
case 'gz':
return 'fa-file-archive-o';
case 'mp3':
return 'fa-audio-o';
return 'fa-file-audio-o';
case 'avi':
return 'fa-video-o';
case 'mov':
return 'fa-file-video-o';
case 'php':
case 'html':
case 'css':
return 'fa-code-o';
return 'fa-file-code-o';
case 'pdf':
return 'fa-file-pdf-o';
}