diff --git a/lib/polar_web/live/root_live.ex b/lib/polar_web/live/root_live.ex index 9b549ed..1cba7ca 100644 --- a/lib/polar_web/live/root_live.ex +++ b/lib/polar_web/live/root_live.ex @@ -1,88 +1,91 @@ defmodule PolarWeb.RootLive do use PolarWeb, :live_view + alias Polar.Repo alias Polar.Streams + alias Polar.Streams.Version + + import Ecto.Query, only: [from: 2] def render(assigns) do ~H""" -
- <%= gettext("If you need something not available here please create an issue at the") %> - - <%= gettext("opsmaru-images") %> - - <%= gettext("repository.") %> -
++ <%= gettext("If you need something not available here please create an issue at the") %> + + <%= gettext("opsmaru-images") %> + + <%= gettext("repository.") %> +
+- <%= gettext("Aliases") %> - | -- <%= gettext("Arch") %> - | -- <%= gettext("Variant") %> - | -- <%= gettext("Published At") %> - | -|||||
---|---|---|---|---|---|---|---|---|
- <%= Phoenix.Naming.humanize(os) %> - <%= release %> - | -
- <%= for alias <- product.aliases do %> - - <%= alias %> - - <% end %> - | -- <%= product.arch %> - | -- <%= product.variant %> - | -- <%= Calendar.strftime( - product.latest_version.inserted_at, - "%B %d, %Y %H:%M:%S" - ) %> - | ++ <%= gettext("Aliases") %> + | ++ <%= gettext("Serial") %> + | ++ <%= gettext("OS") %> + | ++ <%= gettext("Arch") %> + | ++ <%= gettext("Published At") %> + |
---|