diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index a2aeb705..827ab342 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -32,7 +32,7 @@ spec: type: RuntimeDefault initContainers: - name: migrate - image: git.mcintire.me/graham/towerops-web:production-1773686604-cdc40b3 + image: git.mcintire.me/graham/towerops-web:production-1773688540-020a55c imagePullPolicy: IfNotPresent command: ["/app/bin/migrate"] securityContext: @@ -104,7 +104,7 @@ spec: cpu: "500m" containers: - name: towerops - image: git.mcintire.me/graham/towerops-web:production-1773686604-cdc40b3 + image: git.mcintire.me/graham/towerops-web:production-1773688540-020a55c imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false diff --git a/lib/towerops_web/live/device_live/index.ex b/lib/towerops_web/live/device_live/index.ex index a3b6307e..74ee3acb 100644 --- a/lib/towerops_web/live/device_live/index.ex +++ b/lib/towerops_web/live/device_live/index.ex @@ -453,13 +453,6 @@ defmodule ToweropsWeb.DeviceLive.Index do } end - defp device_type_icon(:router), do: "hero-signal" - defp device_type_icon(:switch), do: "hero-squares-2x2" - defp device_type_icon(:wireless), do: "hero-wifi" - defp device_type_icon(:server), do: "hero-server" - defp device_type_icon(:workstation), do: "hero-computer-desktop" - defp device_type_icon(_), do: "hero-question-mark-circle" - defp device_type_label(type) do type |> to_string() |> String.capitalize() end diff --git a/lib/towerops_web/live/device_live/index.html.heex b/lib/towerops_web/live/device_live/index.html.heex index ba33e988..c9f4fa7b 100644 --- a/lib/towerops_web/live/device_live/index.html.heex +++ b/lib/towerops_web/live/device_live/index.html.heex @@ -276,12 +276,6 @@ > {t("Status")} - - {t("Type")} - - - <.link - navigate={~p"/devices/#{row.device.id}"} - class={[ - "flex items-center gap-1.5 px-3 text-inherit no-underline", - "py-2" - ]} - > - <.icon - name={device_type_icon(row.device.device_role)} - class="h-3.5 w-3.5 text-gray-400 dark:text-gray-500 dark:text-gray-400 flex-shrink-0" - /> - - {(row.device.device_role || :unknown) - |> to_string() - |> String.capitalize()} - - - <.link navigate={~p"/devices/#{row.device.id}"}