Compare commits
No commits in common. "d403e5997b680b6dbf6d54251dc41dc9e025b866" and "2c9fab28a48f556d13e69b5baa6e5fa5aab8d663" have entirely different histories.
d403e5997b
...
2c9fab28a4
3 changed files with 6 additions and 180 deletions
|
@ -1,202 +1,24 @@
|
||||||
defmodule Freedive.Api.Service.Icons do
|
defmodule Freedive.Api.Service.Icons do
|
||||||
def icon_for_service(name) do
|
def icon_for_service(name) do
|
||||||
case 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"
|
"automountd" -> "hard-drive"
|
||||||
"autounmountd" -> "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"
|
"caddy" -> "globe"
|
||||||
"ccd" -> "hard-drive"
|
|
||||||
"cfumass" -> "hard-drive"
|
|
||||||
"cleanvar" -> "ticket-x"
|
|
||||||
"cleartmp" -> "ticket-slash"
|
|
||||||
"cron" -> "clock"
|
"cron" -> "clock"
|
||||||
"ctld" -> "hard-drive"
|
"dbus" -> "bus"
|
||||||
"cupsd" -> "printer"
|
|
||||||
"dbus" -> "message-square-code"
|
|
||||||
"ddb" -> "bug-play"
|
|
||||||
"defaultroute" -> "waypoints"
|
|
||||||
"devd" -> "usb"
|
"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"
|
"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"
|
"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"
|
"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"
|
"ntpd" -> "clock"
|
||||||
"ntpdate" -> "clock"
|
|
||||||
"opensm" -> "dot"
|
|
||||||
"os-release" -> "hard-drive-download"
|
|
||||||
"papyrss" -> "rss"
|
|
||||||
"pcscd" -> "dot"
|
|
||||||
"pf" -> "shield"
|
"pf" -> "shield"
|
||||||
"pflog" -> "newspaper"
|
"pflog" -> "newspaper"
|
||||||
"pfsync" -> "shield"
|
|
||||||
"portacl" -> "shield"
|
|
||||||
"postgresql" -> "database"
|
|
||||||
"power_profile" -> "battery-charging"
|
|
||||||
"powerd" -> "utility-pole"
|
"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"
|
"sddm" -> "user"
|
||||||
"sdpd" -> "dot"
|
|
||||||
"securelevel" -> "shield"
|
|
||||||
"sendmail" -> "mail"
|
|
||||||
"serial" -> "usb"
|
|
||||||
"slpd" -> "dot"
|
|
||||||
"smartd" -> "hard-drive"
|
|
||||||
"sndiod" -> "audio-lines"
|
|
||||||
"sshd" -> "lock"
|
"sshd" -> "lock"
|
||||||
"statd" -> "braces"
|
"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"
|
"syslogd" -> "newspaper"
|
||||||
"sysvipc" -> "circuit-board"
|
|
||||||
"tailscaled" -> "shield"
|
"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"
|
_ -> "puzzle"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -167,7 +167,7 @@ defmodule FreediveWeb.ServiceLive.Components do
|
||||||
|
|
||||||
def items_block(assigns) do
|
def items_block(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<%= for {_name, item} <- Enum.sort(@items, fn {a, _}, {b, _} -> a < b end) do %>
|
<%= for {_name, item} <- @items do %>
|
||||||
<.service_preview item={item} selected_item={@selected_item} />
|
<.service_preview item={item} selected_item={@selected_item} />
|
||||||
<% end %>
|
<% end %>
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -171,6 +171,10 @@ defmodule Liliform.Icon do
|
||||||
"system" -> :bot
|
"system" -> :bot
|
||||||
"account" -> :user
|
"account" -> :user
|
||||||
"all" -> :infinity
|
"all" -> :infinity
|
||||||
|
"pf" -> :shield
|
||||||
|
"sshd" -> :lock
|
||||||
|
"ntpdate" -> :clock
|
||||||
|
"httpd" -> :globe
|
||||||
"running" -> :circle_play
|
"running" -> :circle_play
|
||||||
"stopped" -> :circle_stop
|
"stopped" -> :circle_stop
|
||||||
"enabled" -> :circle_check
|
"enabled" -> :circle_check
|
||||||
|
|
Loading…
Reference in a new issue