Added download

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-18 15:53:58 +01:00
parent 2b0c67c263
commit 9337cba340

View file

@ -9,58 +9,43 @@ class IconHelper
switch ($type) { switch ($type) {
case 'checkout': case 'checkout':
return 'fa-solid fa-rotate-left'; return 'fa-solid fa-rotate-left';
break;
case 'checkin': case 'checkin':
return 'fa-solid fa-rotate-right'; return 'fa-solid fa-rotate-right';
break;
case 'edit': case 'edit':
return 'fas fa-pencil-alt'; return 'fas fa-pencil-alt';
break;
case 'clone': case 'clone':
return 'far fa-clone'; return 'far fa-clone';
break;
case 'delete': case 'delete':
return 'fas fa-trash'; return 'fas fa-trash';
break;
case 'create': case 'create':
return 'fa-solid fa-plus'; return 'fa-solid fa-plus';
break;
case 'audit': case 'audit':
return 'fa-solid fa-clipboard-check'; return 'fa-solid fa-clipboard-check';
break;
case '2fa reset': case '2fa reset':
return 'fa-solid fa-mobile-screen'; return 'fa-solid fa-mobile-screen';
break;
case 'new-user': case 'new-user':
return 'fa-solid fa-user-plus'; return 'fa-solid fa-user-plus';
break;
case 'merged-user': case 'merged-user':
return 'fa-solid fa-people-arrows'; return 'fa-solid fa-people-arrows';
break;
case 'delete-user': case 'delete-user':
return 'fa-solid fa-user-minus'; return 'fa-solid fa-user-minus';
break;
case 'update-user': case 'update-user':
return 'fa-solid fa-user-pen'; return 'fa-solid fa-user-pen';
break;
case 'user': case 'user':
return 'fa-solid fa-user'; return 'fa-solid fa-user';
break;
case 'restore': case 'restore':
return 'fa-solid fa-trash-arrow-up'; return 'fa-solid fa-trash-arrow-up';
break;
case 'external-link': case 'external-link':
return 'fa fa-external-link'; return 'fa fa-external-link';
break;
case 'email': case 'email':
return 'fa-regular fa-envelope'; return 'fa-regular fa-envelope';
break;
case 'phone': case 'phone':
return 'fa-solid fa-phone'; return 'fa-solid fa-phone';
break;
case 'long-arrow': case 'long-arrow':
return 'fas fa-long-arrow-alt-right'; return 'fas fa-long-arrow-alt-right';
break; case 'download':
return 'as fa-download';
} }
} }
} }