fix: adapt layout to phoenix 1.8
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
fb9a3cd063
commit
c251e1dba3
2 changed files with 38 additions and 83 deletions
|
|
@ -1,34 +0,0 @@
|
|||
<Backpex.HTML.Layout.app_shell fluid={@fluid?}>
|
||||
<:topbar>
|
||||
<Backpex.HTML.Layout.topbar_branding />
|
||||
|
||||
<Backpex.HTML.Layout.theme_selector
|
||||
socket={@socket}
|
||||
themes={[
|
||||
{"Light", "light"},
|
||||
{"Dark", "dark"}
|
||||
]}
|
||||
/>
|
||||
|
||||
<Backpex.HTML.Layout.topbar_dropdown class="mr-2 md:mr-0">
|
||||
<:label>
|
||||
<label tabindex="0" class="btn btn-square btn-ghost">
|
||||
<.icon name="hero-user" class="size-6" />
|
||||
</label>
|
||||
</:label>
|
||||
<li>
|
||||
<.link navigate={~p"/"} class="text-error flex justify-between hover:bg-base-200">
|
||||
<p>Logout</p>
|
||||
<.icon name="hero-arrow-right-on-rectangle" class="size-5" />
|
||||
</.link>
|
||||
</li>
|
||||
</Backpex.HTML.Layout.topbar_dropdown>
|
||||
</:topbar>
|
||||
<:sidebar>
|
||||
<Backpex.HTML.Layout.sidebar_item current_url={@current_url} navigate={~p"/members"}>
|
||||
<.icon name="hero-users" class="size-5" /> Members
|
||||
</Backpex.HTML.Layout.sidebar_item>
|
||||
</:sidebar>
|
||||
<Backpex.HTML.Layout.flash_messages flash={@flash} />
|
||||
<%= @inner_content %>
|
||||
</Backpex.HTML.Layout.app_shell>
|
||||
Loading…
Add table
Add a link
Reference in a new issue