commit
f8b2171646
2 changed files with 10 additions and 7 deletions
|
@ -93,20 +93,20 @@ defmodule ChiyaWeb.AdminComponents do
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
href="#"
|
||||||
id="dark-mode-toggle"
|
id="dark-mode-toggle"
|
||||||
class="text-xs leading-6 text-gray-900 dark:text-gray-100 dark:hover:text-gray-300 hover:text-gray-700"
|
class="text-sm leading-6 text-gray-900 dark:text-gray-100 dark:hover:text-gray-300 hover:text-gray-700"
|
||||||
>🌙</.link>
|
>🌙</.link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<.link
|
<.link
|
||||||
href={~p"/admin"}
|
href={~p"/admin"}
|
||||||
class="text-xs leading-6 text-gray-900 dark:text-gray-100 dark:hover:text-gray-300 hover:text-gray-700"
|
class="text-sm leading-6 text-gray-900 dark:text-gray-100 dark:hover:text-gray-300 hover:text-gray-700"
|
||||||
>Admin</.link>
|
>Admin</.link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<.link
|
<.link
|
||||||
href={~p"/user/log_out"}
|
href={~p"/user/log_out"}
|
||||||
method="delete"
|
method="delete"
|
||||||
class="text-xs leading-6 text-gray-900 dark:text-gray-100 dark:hover:text-gray-300 hover:text-gray-700"
|
class="text-sm leading-6 text-gray-900 dark:text-gray-100 dark:hover:text-gray-300 hover:text-gray-700"
|
||||||
>Log out</.link>
|
>Log out</.link>
|
||||||
</li>
|
</li>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -114,10 +114,8 @@ defmodule ChiyaWeb.AdminComponents do
|
||||||
<.link
|
<.link
|
||||||
href="#"
|
href="#"
|
||||||
id="dark-mode-toggle"
|
id="dark-mode-toggle"
|
||||||
class="text-xs leading-6 text-gray-900 dark:text-gray-100 font-semibold dark:hover:text-gray-300 hover:text-gray-700"
|
class="text-sm leading-6 text-gray-900 dark:text-gray-100 font-semibold dark:hover:text-gray-300 hover:text-gray-700"
|
||||||
>
|
>🌙</.link>
|
||||||
<.icon name="hero-sun-mini" class="h-4 w-4" />
|
|
||||||
</.link>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<.link
|
<.link
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
<:subtitle>Use this form to manage note image records in your database.</:subtitle>
|
<:subtitle>Use this form to manage note image records in your database.</:subtitle>
|
||||||
</.header>
|
</.header>
|
||||||
|
|
||||||
|
<img
|
||||||
|
class="rounded-lg border border-theme-dim"
|
||||||
|
src={ChiyaWeb.Uploaders.NoteImage.url({image.path, image}, :full_dithered)}
|
||||||
|
/>
|
||||||
|
|
||||||
<.simple_form
|
<.simple_form
|
||||||
:let={f}
|
:let={f}
|
||||||
for={@changeset}
|
for={@changeset}
|
||||||
|
|
Loading…
Reference in a new issue