Update the style for models for Publishers and DBI Servers.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -66,7 +66,7 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do
|
|||||||
phx-window-keydown={JS.exec("data-cancel", to: "##{@id}")}
|
phx-window-keydown={JS.exec("data-cancel", to: "##{@id}")}
|
||||||
phx-key="escape"
|
phx-key="escape"
|
||||||
phx-click-away={JS.exec("data-cancel", to: "##{@id}")}
|
phx-click-away={JS.exec("data-cancel", to: "##{@id}")}
|
||||||
class="shadow-zinc-700/10 ring-zinc-700/10 relative hidden rounded-2xl bg-white p-14 shadow-lg ring-1 transition"
|
class="shadow-zinc-700/10 ring-zinc-700/10 relative hidden rounded-2xl bg-white p-14 shadow-lg ring-1 transition dark:bg-gray-900"
|
||||||
>
|
>
|
||||||
<div class="absolute top-6 right-5">
|
<div class="absolute top-6 right-5">
|
||||||
<button
|
<button
|
||||||
@@ -75,7 +75,7 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do
|
|||||||
class="-m-3 flex-none p-3 opacity-20 hover:opacity-40"
|
class="-m-3 flex-none p-3 opacity-20 hover:opacity-40"
|
||||||
aria-label={gettext("close")}
|
aria-label={gettext("close")}
|
||||||
>
|
>
|
||||||
<.icon name="hero-x-mark-solid" class="h-5 w-5" />
|
<.icon name="hero-x-mark-solid" class="h-5 w-5 dark:text-white" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div id={"#{@id}-content"}>
|
<div id={"#{@id}-content"}>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.FormComponent do
|
|||||||
<div>
|
<div>
|
||||||
<.header>
|
<.header>
|
||||||
{@title}
|
{@title}
|
||||||
<:subtitle>Use this form to manage servers records in your database.</:subtitle>
|
|
||||||
</.header>
|
</.header>
|
||||||
|
|
||||||
<.simple_form
|
<.simple_form
|
||||||
@@ -24,7 +23,9 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.FormComponent do
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<:actions>
|
<:actions>
|
||||||
<.button phx-disable-with="Saving...">Save server</.button>
|
<.save_button phx-disable-with="Saving...">
|
||||||
|
Save
|
||||||
|
</.save_button>
|
||||||
</:actions>
|
</:actions>
|
||||||
</.simple_form>
|
</.simple_form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.FormComponent do
|
|||||||
<div>
|
<div>
|
||||||
<.header>
|
<.header>
|
||||||
{@title}
|
{@title}
|
||||||
<:subtitle>Use this form to manage publisher records in your database.</:subtitle>
|
|
||||||
</.header>
|
</.header>
|
||||||
|
|
||||||
<.simple_form
|
<.simple_form
|
||||||
@@ -24,7 +23,9 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.FormComponent do
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<:actions>
|
<:actions>
|
||||||
<.button phx-disable-with="Saving...">Save Publisher</.button>
|
<.save_button phx-disable-with="Saving...">
|
||||||
|
Save
|
||||||
|
</.save_button>
|
||||||
</:actions>
|
</:actions>
|
||||||
</.simple_form>
|
</.simple_form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user