forked from shibao/cannery
tweak invite and settings pages
This commit is contained in:
parent
632a9e1379
commit
9205a04ac5
@ -1,4 +1,4 @@
|
|||||||
<div class="w-full flex flex-col space-y-8 justify-center items-center">
|
<div class="mx-auto flex flex-col justify-center items-center space-y-4 max-w-3xl">
|
||||||
<h1 class="title text-2xl title-primary-500">
|
<h1 class="title text-2xl title-primary-500">
|
||||||
<%= gettext("Invites") %>
|
<%= gettext("Invites") %>
|
||||||
</h1>
|
</h1>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
</.link>
|
</.link>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="w-full flex flex-row flex-wrap justify-center items-stretch">
|
<div class="flex flex-col justify-center items-stretch space-y-4">
|
||||||
<.invite_card :for={invite <- @invites} invite={invite} current_user={@current_user}>
|
<.invite_card :for={invite <- @invites} invite={invite} current_user={@current_user}>
|
||||||
<:code_actions>
|
<:code_actions>
|
||||||
<form phx-submit="copy_to_clipboard">
|
<form phx-submit="copy_to_clipboard">
|
||||||
@ -87,7 +87,7 @@
|
|||||||
<%= gettext("Admins") %>
|
<%= gettext("Admins") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="w-full flex flex-row flex-wrap justify-center items-stretch">
|
<div class="flex flex-col justify-center items-stretch space-y-4">
|
||||||
<.user_card :for={admin <- @admins} user={admin}>
|
<.user_card :for={admin <- @admins} user={admin}>
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
href="#"
|
||||||
@ -115,7 +115,7 @@
|
|||||||
<%= gettext("Users") %>
|
<%= gettext("Users") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="w-full flex flex-row flex-wrap justify-center items-stretch">
|
<div class="flex flex-col justify-center items-stretch space-y-4">
|
||||||
<.user_card :for={user <- @users} user={user}>
|
<.user_card :for={user <- @users} user={user}>
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
href="#"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="mx-auto pb-8 max-w-2xl flex flex-col justify-center items-center text-right space-y-4">
|
<div class="mx-auto pb-8 max-w-3xl flex flex-col justify-center items-center text-right space-y-4">
|
||||||
<h1 class="pb-4 title text-primary-600 text-2xl text-center">
|
<h1 class="pb-4 title text-primary-600 text-2xl text-center">
|
||||||
<%= gettext("Settings") %>
|
<%= gettext("Settings") %>
|
||||||
</h1>
|
</h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user