Add more service icons

This commit is contained in:
Harshad Sharma 2024-05-19 21:59:39 +05:30
parent be215c85da
commit d403e5997b
2 changed files with 179 additions and 5 deletions

View file

@ -1,24 +1,202 @@
defmodule Freedive.Api.Service.Icons do
def icon_for_service(name) do
case name do
"accounting" -> "circle-gauge"
"adjkerntz" -> "sunrise"
"apm" -> "square-power"
"auditd" -> "shield-plus"
"auditdistd" -> "shield-ellipsis"
"automount" -> "hard-drive"
"automountd" -> "hard-drive"
"autounmountd" -> "hard-drive"
"avahi-daemon" -> "tag"
"avahi-dnsconfd" -> "tag"
"bastille" -> "server-cog"
"bgfsck" -> "hard-drive"
"blacklistd" -> "shield"
"bluetooth" -> "bluetooth"
"bootparams" -> "file-sliders"
"bridge" -> "network"
"bsnmpd" -> "network"
"bthidd" -> "bluetooth"
"caddy" -> "globe"
"ccd" -> "hard-drive"
"cfumass" -> "hard-drive"
"cleanvar" -> "ticket-x"
"cleartmp" -> "ticket-slash"
"cron" -> "clock"
"dbus" -> "bus"
"ctld" -> "hard-drive"
"cupsd" -> "printer"
"dbus" -> "message-square-code"
"ddb" -> "bug-play"
"defaultroute" -> "waypoints"
"devd" -> "usb"
"devfs" -> "usb"
"devmatch" -> "usb"
"dhclient" -> "network"
"dmesg" -> "message-circle-more"
"dnctl" -> "arrow-down-1-0"
"dumpon" -> "archive"
"ejabberd" -> "message-circle"
"epmd" -> "message-circle-dashed"
"fsck" -> "hard-drive"
"ftp-proxy" -> "share-2"
"ftpd" -> "share"
"gbde" -> "vault"
"geli" -> "vault"
"geli2" -> "vault"
"ggated" -> "vault"
"git_daemon" -> "folder-git"
"gpsd" -> "dot"
"gptboot" -> "hard-drive"
"growfs" -> "hard-drive"
"growfs_fstab" -> "hard-drive"
"gssd" -> "lock"
"hastd" -> "hard-drive"
"hcsecd" -> "bluetooth"
"hostapd" -> "network"
"hostid" -> "tag"
"hostid_save" -> "tag"
"hostname" -> "tag"
"inetd" -> "globe"
"iovctl" -> "dot"
"ip6addrctl" -> "network"
"ipfilter" -> "shield"
"ipfs" -> "shield"
"ipfw" -> "shield"
"ipfw_netflow" -> "shield"
"ipmon" -> "shield"
"ipnat" -> "shield"
"ippool" -> "shield"
"ipropd_master" -> "dot"
"ipropd_slave" -> "dot"
"ipsec" -> "shield"
"iscsictl" -> "hard-drive"
"iscsid" -> "hard-drive"
"jail" -> "server-cog"
"kadmind" -> "dot"
"kdc" -> "dot"
"keyserv" -> "key"
"kfd" -> "ticket-plus"
"kld" -> "rectangle-ellipsis"
"kldxref" -> "circle-ellipsis"
"kpasswdd" -> "key-square"
"kpropd" -> "dot"
"ldconfig" -> "square-asterisk"
"linux" -> "rail-symbol"
"local" -> "activity"
"local_unbound" -> "tag"
"localpkg" -> "package-2"
"lockd" -> "lock"
"lpd" -> "printer"
"mdconfig" -> "memory-stick"
"mdconfig2" -> "memory-stick"
"mixer" -> "sliders-vertical"
"motd" -> "message-square-text"
"mountcritlocal" -> "hard-drive"
"mountcritremote" -> "hard-drive-download"
"mountd" -> "hard-drive"
"mountlate" -> "hard-drive"
"moused" -> "mouse"
"msgs" -> "message-circle-code"
"mysql-server" -> "database"
"natd" -> "network"
"netif" -> "network"
"netoptions" -> "network"
"netwait" -> "network"
"newsyslog" -> "newspaper"
"nfscbd" -> "hard-drive"
"nfsclient" -> "hard-drive"
"nfsd" -> "hard-drive"
"nfsuserd" -> "hard-drive"
"nisdomain" -> "tag"
"nscd" -> "tag"
"ntpd" -> "clock"
"ntpdate" -> "clock"
"opensm" -> "dot"
"os-release" -> "hard-drive-download"
"papyrss" -> "rss"
"pcscd" -> "dot"
"pf" -> "shield"
"pflog" -> "newspaper"
"pfsync" -> "shield"
"portacl" -> "shield"
"postgresql" -> "database"
"power_profile" -> "battery-charging"
"powerd" -> "utility-pole"
"ppp" -> "network"
"pppoed" -> "network"
"pwcheck" -> "shield"
"quota" -> "maximize"
"random" -> "dices"
"rarpd" -> "tag"
"rctl" -> "shield"
"resolv" -> "tag"
"rfcomm_pppd_server" -> "bluetooth"
"root" -> "hard-drive"
"route6d" -> "network"
"routed" -> "network"
"routing" -> "network"
"rpcbind" -> "shield"
"rsyncd" -> "server-cog"
"rtadvd" -> "network"
"rtsold" -> "network"
"rwho" -> "network"
"samba_server" -> "hard-drive"
"saned" -> "dot"
"savecore" -> "archive"
"sddm" -> "user"
"sdpd" -> "dot"
"securelevel" -> "shield"
"sendmail" -> "mail"
"serial" -> "usb"
"slpd" -> "dot"
"smartd" -> "hard-drive"
"sndiod" -> "audio-lines"
"sshd" -> "lock"
"statd" -> "braces"
"static_arp" -> "network"
"static_ndp" -> "network"
"stf" -> "dot"
"swap" -> "memory-stick"
"swaplate" -> "memory-stick"
"syscons" -> "square-chevron-right"
"sysctl" -> "sliders-horizontal"
"sysctl_lastload" -> "sliders-horizontal"
"syslogd" -> "newspaper"
"sysvipc" -> "circuit-board"
"tailscaled" -> "shield"
"tlsclntd" -> "shield"
"tlsservd" -> "shield"
"tmp" -> "eraser"
"ubthidhci" -> "bluetooth"
"ugidfw" -> "dot"
"utx" -> "users"
"uuidd" -> "dot"
"var" -> "hard-drive"
"var_run" -> "hard-drive"
"virecover" -> "folder-sync"
"wacom" -> "clipboard-pen-line"
"watchdogd" -> "dog"
"webcamd " -> "webcam"
"wpa_supplicant" -> "wifi"
"xdm" -> "dot"
"yggdrasil" -> "shield"
"ypbind" -> "dot"
"ypldap" -> "dot"
"yppasswdd" -> "dot"
"ypserv" -> "dot"
"ypset" -> "dot"
"ypupdated" -> "dot"
"ypxfrd" -> "dot"
"zfs" -> "hard-drive"
"zfsbe" -> "hard-drive"
"zfsd" -> "hard-drive"
"zfskeys" -> "key-round"
"zpool" -> "hard-drive"
"zpoolreguid" -> "hard-drive"
"zpoolupgrade" -> "hard-drive"
"zvol" -> "hard-drive"
_ -> "puzzle"
end
end

View file

@ -171,10 +171,6 @@ defmodule Liliform.Icon do
"system" -> :bot
"account" -> :user
"all" -> :infinity
"pf" -> :shield
"sshd" -> :lock
"ntpdate" -> :clock
"httpd" -> :globe
"running" -> :circle_play
"stopped" -> :circle_stop
"enabled" -> :circle_check