修复错误的图标类名
*这点怪font awesome
This commit is contained in:
parent
f16d989f1b
commit
eefae10afe
@ -25,7 +25,7 @@ class FileTypeDetector
|
|||||||
'pdf' => 'fa-regular fa-file-pdf',
|
'pdf' => 'fa-regular fa-file-pdf',
|
||||||
'doc', 'docx', 'docm', 'dot', 'dotx', 'odm', 'odt', 'ott', 'wps' => 'fa-regular fa-file-word',
|
'doc', 'docx', 'docm', 'dot', 'dotx', 'odm', 'odt', 'ott', 'wps' => 'fa-regular fa-file-word',
|
||||||
'xls', 'xlsx', 'xlk', 'xlsb', 'xlsm', 'xlt', 'xltm', 'xlw' => 'fa-regular fa-file-excel',
|
'xls', 'xlsx', 'xlk', 'xlsb', 'xlsm', 'xlt', 'xltm', 'xlw' => 'fa-regular fa-file-excel',
|
||||||
'csv' => 'fa-regular fa-file-csv',
|
'csv' => 'fa-solid fa-file-csv',
|
||||||
'ppt', 'pptx' => 'fa-regular fa-file-powerpoint',
|
'ppt', 'pptx' => 'fa-regular fa-file-powerpoint',
|
||||||
'jpg', 'jpeg', 'png', 'gif', 'webp', 'bmp', 'psd', 'clip', 'raw', 'tiff', 'tif' => 'fa-regular fa-file-image',
|
'jpg', 'jpeg', 'png', 'gif', 'webp', 'bmp', 'psd', 'clip', 'raw', 'tiff', 'tif' => 'fa-regular fa-file-image',
|
||||||
'zip', 'rar', '7z', 'tar', 'tar.gz', 'xz', 'cab' => 'fa-regular fa-file-zipper',
|
'zip', 'rar', '7z', 'tar', 'tar.gz', 'xz', 'cab' => 'fa-regular fa-file-zipper',
|
||||||
@ -38,19 +38,19 @@ class FileTypeDetector
|
|||||||
'deb' => 'fa-brands fa-debian',
|
'deb' => 'fa-brands fa-debian',
|
||||||
'java', 'jar', 'class' => 'fa-brands fa-java',
|
'java', 'jar', 'class' => 'fa-brands fa-java',
|
||||||
'js' => 'fa-brands fa-js',
|
'js' => 'fa-brands fa-js',
|
||||||
'iso', 'img', 'mds', 'mdx', 'dmg', 'cdi', 'cue' => 'fa-regular fa-compact-disc',
|
'iso', 'img', 'mds', 'mdx', 'dmg', 'cdi', 'cue' => 'fa-solid fa-compact-disc',
|
||||||
'vmdk', 'vhdx', 'vhd', 'vfd', 'vud', 'vdi', 'hdd', 'cow', 'qcow', 'qcow2', 'qed' => 'fa-regular fa-hard-drive',
|
'vmdk', 'vhdx', 'vhd', 'vfd', 'vud', 'vdi', 'hdd', 'cow', 'qcow', 'qcow2', 'qed' => 'fa-regular fa-hard-drive',
|
||||||
'db', 'frm', 'mdb', 'mdf', 'myd', 'myi', 'sqlite', 'sql' => 'fa-regular fa-database',
|
'db', 'frm', 'mdb', 'mdf', 'myd', 'myi', 'sqlite', 'sql' => 'fa-solid fa-database',
|
||||||
'epub', 'cpz' => 'fa-brands fa-leanpub',
|
'epub', 'cpz' => 'fa-brands fa-leanpub',
|
||||||
'otf', 'tff', 'ttc', 'woff' => 'fa-regular fa-font',
|
'otf', 'tff', 'ttc', 'woff' => 'fa-regular fa-font',
|
||||||
'ico' => 'fa-regular fa-icons',
|
'ico' => 'fa-solid fa-icons',
|
||||||
'lnk', 'url' => 'fa-regular fa-link',
|
'lnk', 'url' => 'fa-regular fa-link',
|
||||||
'ipa' => 'fa-brands fa-apple',
|
'ipa' => 'fa-brands fa-apple',
|
||||||
'so' => 'fa-brands fa-linux',
|
'so' => 'fa-brands fa-linux',
|
||||||
'rdp' => 'fa-regular fa-laptop-file',
|
'rdp' => 'fa-solid fa-laptop-file',
|
||||||
'omf', 'ssh', 'pub', 'ppk', 'cer', 'crt', 'der', 'p7b', 'p7c', 'p12', 'pfx', 'pem' => 'fa-regular fa-key',
|
'omf', 'ssh', 'pub', 'ppk', 'cer', 'crt', 'der', 'p7b', 'p7c', 'p12', 'pfx', 'pem' => 'fa-solid fa-key',
|
||||||
'm3u', 'm3u8' => 'fa-regular fa-rectangle-list',
|
'm3u', 'm3u8' => 'fa-regular fa-rectangle-list',
|
||||||
'cnf', 'conf', 'cfg' => 'fa-regular fa-gears',
|
'cnf', 'conf', 'cfg' => 'fa-solid fa-gears',
|
||||||
default => 'fa-regular fa-file',
|
default => 'fa-regular fa-file',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user