|
-
+ |
{t("Device")}
|
-
+ |
{t("Alert")}
|
-
+ |
{t("Impact")}
|
-
+ |
{t("When")}
|
|
@@ -403,14 +403,14 @@
{alert.device.ip_address}
{alert.device.site.name}
@@ -429,7 +429,7 @@
<.timestamp
datetime={alert.triggered_at}
timezone={@timezone}
- class="font-mono text-[11px] text-gray-400 dark:text-gray-500"
+ class="font-mono text-[11px] text-gray-400 dark:text-gray-500 dark:text-gray-400"
/>
@@ -486,22 +486,22 @@
- |
+ |
{t("Site")}
|
-
+ |
{t("Devices")}
|
-
+ |
{t("Down")}
|
-
+ |
{t("QoE")}
|
-
+ |
{t("Subs")}
|
-
+ |
{t("Affected")}
|
@@ -679,7 +679,7 @@
type="button"
phx-click="dismiss_insight"
phx-value-id={insight.id}
- class="rounded p-0.5 text-gray-300 hover:text-gray-500 dark:text-gray-600 dark:hover:text-gray-400 opacity-0 group-hover:opacity-100 transition"
+ class="rounded p-0.5 text-gray-300 hover:text-gray-500 dark:text-gray-400 dark:text-gray-600 dark:hover:text-gray-400 opacity-0 group-hover:opacity-100 transition"
title="Dismiss"
>
<.icon name="hero-x-mark" class="h-3 w-3" />
@@ -754,7 +754,7 @@
- Config Changes (7d)
+ Config Changes (7d)
<.link
navigate={~p"/insights"}
@@ -774,13 +774,13 @@
{if change.device, do: change.device.name, else: "Unknown"}
-
+
{change.change_size}L
-
+
{Enum.join(Enum.take(change.sections_changed, 2), ", ")}
-
+
{format_short_datetime(change.changed_at, @timezone)}
@@ -788,7 +788,7 @@
<% else %>
-
+
No config changes in 7 days
@@ -821,7 +821,7 @@
{activity.summary}
-
+
{format_short_datetime(activity.timestamp, @timezone)}
@@ -834,20 +834,20 @@
═══════════════════════════════════════════════ --%>
-
+
⌘K
to search
·
- <.link navigate={~p"/devices/new"} class="hover:text-gray-500 dark:hover:text-gray-400">
+ <.link navigate={~p"/devices/new"} class="hover:text-gray-500 dark:text-gray-400 dark:hover:text-gray-400">
+ device
·
- <.link navigate={~p"/trace"} class="hover:text-gray-500 dark:hover:text-gray-400">
+ <.link navigate={~p"/trace"} class="hover:text-gray-500 dark:text-gray-400 dark:hover:text-gray-400">
trace
·
- <.link navigate={~p"/network-map"} class="hover:text-gray-500 dark:hover:text-gray-400">
+ <.link navigate={~p"/network-map"} class="hover:text-gray-500 dark:text-gray-400 dark:hover:text-gray-400">
map
diff --git a/lib/towerops_web/live/device_live/form.html.heex b/lib/towerops_web/live/device_live/form.html.heex
index f64a5473..fda89bf6 100644
--- a/lib/towerops_web/live/device_live/form.html.heex
+++ b/lib/towerops_web/live/device_live/form.html.heex
@@ -175,7 +175,7 @@
prompt="No site (ungrouped)"
options={Enum.map(@available_sites, &{&1.name, &1.id})}
/>
-
+
{t("Optionally group this device into a site (office, datacenter, etc.)")}
diff --git a/lib/towerops_web/live/device_live/index.html.heex b/lib/towerops_web/live/device_live/index.html.heex
index b11fdf78..63d5eea6 100644
--- a/lib/towerops_web/live/device_live/index.html.heex
+++ b/lib/towerops_web/live/device_live/index.html.heex
@@ -138,7 +138,7 @@
<%= if !@has_devices do %>
- <.icon name="hero-server" class="mx-auto h-12 w-12 text-gray-400 dark:text-gray-500" />
+ <.icon name="hero-server" class="mx-auto h-12 w-12 text-gray-400 dark:text-gray-500 dark:text-gray-400" />
{t("No devices")}
@@ -367,7 +367,7 @@
<.icon name="hero-map-pin" class="inline h-3 w-3" /> {row.site.location}
@@ -467,7 +467,7 @@
>
<.icon
name={device_type_icon(row.device.device_role)}
- class="h-3.5 w-3.5 text-gray-400 dark:text-gray-500 flex-shrink-0"
+ 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)
@@ -544,7 +544,7 @@
<.icon
name="hero-magnifying-glass"
- class="mx-auto h-12 w-12 text-gray-400 dark:text-gray-500"
+ class="mx-auto h-12 w-12 text-gray-400 dark:text-gray-500 dark:text-gray-400"
/>
{t("No discovered devices")}
@@ -592,7 +592,7 @@
<% _ -> %>
- Unknown
+ Unknown
<% end %>
<:col :let={discovered} label={t("Hostname")}>
@@ -608,7 +608,7 @@
<.icon
name={device_type_icon(discovered.device_type)}
- class="h-4 w-4 text-gray-500"
+ class="h-4 w-4 text-gray-500 dark:text-gray-400"
/>
{device_type_label(discovered.device_type)}
@@ -632,7 +632,7 @@
>
{first.device_name}
- ({first.interface})
+ ({first.interface})
<% else %>
{length(discovered.discovered_by)} devices
<% end %>
diff --git a/lib/towerops_web/live/device_live/show.html.heex b/lib/towerops_web/live/device_live/show.html.heex
index d05e2ff1..7d932541 100644
--- a/lib/towerops_web/live/device_live/show.html.heex
+++ b/lib/towerops_web/live/device_live/show.html.heex
@@ -420,7 +420,7 @@
{@available_firmware.version}
<%= if @available_firmware.release_date do %>
-
+
(released {format_date(
@available_firmware.release_date
)})
@@ -653,7 +653,7 @@
{s}
- {event.change_size} lines
+ {event.change_size} lines
<% end %>
@@ -1785,7 +1785,7 @@
{t("Primary")}
<% else %>
- -
+ -
<% end %>
@@ -2441,14 +2441,14 @@
<%= if check.last_check_at do %>
{get_latest_value(check)}
<% else %>
- Pending
+ Pending
<% end %>
<%= if check.last_check_at do %>
{format_relative_time(check.last_check_at)}
<% else %>
- Never
+ Never
<% end %>
|
diff --git a/lib/towerops_web/live/org/settings_live.html.heex b/lib/towerops_web/live/org/settings_live.html.heex
index a998be7f..2db1ea94 100644
--- a/lib/towerops_web/live/org/settings_live.html.heex
+++ b/lib/towerops_web/live/org/settings_live.html.heex
@@ -1326,7 +1326,7 @@
name="integration[sync_devices]"
value="true"
checked={@netbox_config["sync_devices"]}
- class="mt-0.5 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
+ class="mt-0.5 h-4 w-4 rounded border-gray-300 dark:border-gray-600 text-indigo-600 focus:ring-indigo-600"
/>
@@ -1348,7 +1348,7 @@
name="integration[sync_sites]"
value="true"
checked={@netbox_config["sync_sites"]}
- class="mt-0.5 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
+ class="mt-0.5 h-4 w-4 rounded border-gray-300 dark:border-gray-600 text-indigo-600 focus:ring-indigo-600"
/>
@@ -1370,7 +1370,7 @@
name="integration[sync_ip_addresses]"
value="true"
checked={@netbox_config["sync_ip_addresses"]}
- class="mt-0.5 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
+ class="mt-0.5 h-4 w-4 rounded border-gray-300 dark:border-gray-600 text-indigo-600 focus:ring-indigo-600"
/>
@@ -1392,7 +1392,7 @@
name="integration[sync_interfaces]"
value="true"
checked={@netbox_config["sync_interfaces"]}
- class="mt-0.5 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
+ class="mt-0.5 h-4 w-4 rounded border-gray-300 dark:border-gray-600 text-indigo-600 focus:ring-indigo-600"
/>
| |