diff --git a/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex b/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex index a8b812a..b9045bd 100644 --- a/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex +++ b/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex @@ -16,7 +16,7 @@ -
+
<.tabbed_layout> <:tab_append> @@ -54,19 +54,29 @@ <% end %> -

Raw Attributes

+
+
+ <.icon name="hero-exclamation-circle-solid" class="text-red-500" /> +

Last Error

+
+ {@media_item.last_error} +
+
- Source: - <.subtle_link href={~p"/sources/#{@media_item.source_id}"}> - {@media_item.source.custom_name} - - <.list_items_from_map map={Map.from_struct(@media_item)} /> +

Raw Attributes

+
+ Source: + <.subtle_link href={~p"/sources/#{@media_item.source_id}"}> + {@media_item.source.custom_name} + + <.list_items_from_map map={Map.from_struct(@media_item)} /> +
<:tab title="Tasks" id="tasks"> <%= if match?([_|_], @media_item.tasks) do %> - <.table rows={@media_item.tasks} table_class="text-black dark:text-white"> + <.table rows={@media_item.tasks} table_class="text-white"> <:col :let={task} label="Worker"> {task.job.worker} diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex index d08237f..9f1a220 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex @@ -25,8 +25,10 @@ <:tab title="Media Profile" id="media-profile">
-

Raw Attributes

+
+

Raw Attributes

<.list_items_from_map map={Map.from_struct(@media_profile)} /> +
<:tab title="Sources" id="sources"> diff --git a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex index 855b52e..aefe7fe 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex @@ -24,16 +24,18 @@ <:tab title="Source" id="source"> -
-

Raw Attributes

+
- Media Profile: - <.subtle_link href={~p"/media_profiles/#{@source.media_profile_id}"}> - {@source.media_profile.name} - -
+

Raw Attributes

+
+ Media Profile: + <.subtle_link href={~p"/media_profiles/#{@source.media_profile_id}"}> + {@source.media_profile.name} + +
- <.list_items_from_map map={Map.from_struct(@source)} /> + <.list_items_from_map map={Map.from_struct(@source)} /> +
<:tab title="Pending" id="pending">