2023-01-25 22:14:04 -05:00
|
|
|
<main class="pb-8 min-w-full">
|
2021-09-10 00:35:36 -04:00
|
|
|
<header>
|
2023-02-26 00:40:55 -05:00
|
|
|
<.topbar current_user={assigns[:current_user]} />
|
2022-02-07 17:36:44 -05:00
|
|
|
|
2021-09-10 00:35:36 -04:00
|
|
|
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
2023-02-04 10:28:13 -05:00
|
|
|
<p
|
|
|
|
:if={@flash && @flash |> Map.has_key?("info")}
|
|
|
|
class="alert alert-info"
|
|
|
|
role="alert"
|
|
|
|
phx-click="lv:clear-flash"
|
|
|
|
phx-value-key="info"
|
|
|
|
>
|
|
|
|
<%= live_flash(@flash, "info") %>
|
|
|
|
</p>
|
2022-02-07 17:36:44 -05:00
|
|
|
|
2023-02-04 10:28:13 -05:00
|
|
|
<p
|
|
|
|
:if={@flash && @flash |> Map.has_key?("error")}
|
|
|
|
class="alert alert-danger"
|
|
|
|
role="alert"
|
|
|
|
phx-click="lv:clear-flash"
|
|
|
|
phx-value-key="error"
|
|
|
|
>
|
|
|
|
<%= live_flash(@flash, "error") %>
|
|
|
|
</p>
|
2021-09-10 00:35:36 -04:00
|
|
|
</div>
|
|
|
|
</header>
|
2022-02-07 17:36:44 -05:00
|
|
|
|
2022-11-06 23:08:18 -05:00
|
|
|
<div class="mx-4 sm:mx-8 md:mx-16 flex flex-col justify-center items-stretch">
|
2022-02-15 23:52:44 -05:00
|
|
|
<%= @inner_content %>
|
|
|
|
</div>
|
2021-03-11 21:12:55 -05:00
|
|
|
</main>
|
2022-02-18 17:43:08 -05:00
|
|
|
|
|
|
|
<div
|
|
|
|
id="disconnect"
|
2023-01-22 23:39:34 -05:00
|
|
|
class="z-50 fixed opacity-0 bottom-12 right-12 px-8 py-4 w-max h-max
|
|
|
|
border border-primary-200 shadow-lg rounded-lg bg-white
|
|
|
|
flex justify-center items-center space-x-4
|
|
|
|
transition-opacity ease-in-out duration-500 delay-[2000ms]"
|
2022-02-18 17:43:08 -05:00
|
|
|
>
|
2023-01-22 23:39:34 -05:00
|
|
|
<i class="fas fa-fade text-md fa-satellite-dish"></i>
|
|
|
|
|
|
|
|
<h1 class="title text-md title-primary-500">
|
2022-02-18 17:43:08 -05:00
|
|
|
<%= gettext("Reconnecting...") %>
|
|
|
|
</h1>
|
|
|
|
</div>
|