style: fix formatting
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon 2026-07-06 18:12:31 +02:00
parent ce49d751ea
commit eb20c8f3b6
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
6 changed files with 32 additions and 42 deletions

View file

@ -26,8 +26,7 @@ defmodule MvWeb.Layouts.Sidebar do
aria-label={gettext("Close sidebar")} aria-label={gettext("Close sidebar")}
class="drawer-overlay lg:hidden focus:outline-none focus:ring-2 focus:ring-primary" class="drawer-overlay lg:hidden focus:outline-none focus:ring-2 focus:ring-primary"
tabindex="-1" tabindex="-1"
> ></label>
</label>
<aside id="main-sidebar" class="sidebar" aria-label={gettext("Main navigation")}> <aside id="main-sidebar" class="sidebar" aria-label={gettext("Main navigation")}>
{sidebar_header(assigns)} {sidebar_header(assigns)}
<%= if @current_user do %> <%= if @current_user do %>
@ -174,8 +173,7 @@ defmodule MvWeb.Layouts.Sidebar do
<span <span
class="absolute -top-0.5 -right-0.5 size-2 rounded-full bg-primary" class="absolute -top-0.5 -right-0.5 size-2 rounded-full bg-primary"
aria-hidden="true" aria-hidden="true"
> ></span>
</span>
<% end %> <% end %>
</span> </span>
<span class="menu-label">{@label}</span> <span class="menu-label">{@label}</span>

View file

@ -103,8 +103,7 @@
sort_field={@sort_field} sort_field={@sort_field}
sort_order={@sort_order} sort_order={@sort_order}
> >
<!-- <:col :let={member} label="Id">{member.id}</:col> -->
<!-- <:col :let={member} label="Id">{member.id}</:col> -->
<:col <:col
:let={member} :let={member}
col_click={&MvWeb.MemberLive.Index.checkbox_column_click/1} col_click={&MvWeb.MemberLive.Index.checkbox_column_click/1}

View file

@ -152,11 +152,9 @@ defmodule MvWeb.StatisticsLive do
<p class="text-xs text-base-content/70 mt-2"> <p class="text-xs text-base-content/70 mt-2">
<span class="inline-block w-2 h-2 rounded-full bg-success align-middle mr-1"></span> <span class="inline-block w-2 h-2 rounded-full bg-success align-middle mr-1"></span>
{gettext("Paid")} {gettext("Paid")}
<span class="inline-block w-2 h-2 rounded-full bg-warning align-middle mx-2 mr-1"> <span class="inline-block w-2 h-2 rounded-full bg-warning align-middle mx-2 mr-1"></span>
</span>
{gettext("Unpaid")} {gettext("Unpaid")}
<span class="inline-block w-2 h-2 rounded-full bg-base-content/20 align-middle mx-2 mr-1"> <span class="inline-block w-2 h-2 rounded-full bg-base-content/20 align-middle mx-2 mr-1"></span>
</span>
{gettext("Suspended")} {gettext("Suspended")}
</p> </p>
</div> </div>
@ -271,8 +269,7 @@ defmodule MvWeb.StatisticsLive do
class="inline-block w-2 h-2 rounded-full bg-success shrink-0" class="inline-block w-2 h-2 rounded-full bg-success shrink-0"
aria-hidden="true" aria-hidden="true"
title={gettext("Joins")} title={gettext("Joins")}
> ></span>
</span>
</span> </span>
</td> </td>
<td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0"> <td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0">
@ -282,8 +279,7 @@ defmodule MvWeb.StatisticsLive do
class="inline-block w-2 h-2 rounded-full bg-error shrink-0" class="inline-block w-2 h-2 rounded-full bg-error shrink-0"
aria-hidden="true" aria-hidden="true"
title={gettext("Exits")} title={gettext("Exits")}
> ></span>
</span>
</span> </span>
</td> </td>
</tr> </tr>
@ -437,8 +433,7 @@ defmodule MvWeb.StatisticsLive do
class="inline-block w-2 h-2 rounded-full bg-success shrink-0" class="inline-block w-2 h-2 rounded-full bg-success shrink-0"
aria-hidden="true" aria-hidden="true"
title={gettext("Paid")} title={gettext("Paid")}
> ></span>
</span>
</span> </span>
</td> </td>
<td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0"> <td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0">
@ -448,8 +443,7 @@ defmodule MvWeb.StatisticsLive do
class="inline-block w-2 h-2 rounded-full bg-warning shrink-0" class="inline-block w-2 h-2 rounded-full bg-warning shrink-0"
aria-hidden="true" aria-hidden="true"
title={gettext("Unpaid")} title={gettext("Unpaid")}
> ></span>
</span>
</span> </span>
</td> </td>
<td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0"> <td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0">
@ -459,8 +453,7 @@ defmodule MvWeb.StatisticsLive do
class="inline-block w-2 h-2 rounded-full bg-base-content/20 shrink-0" class="inline-block w-2 h-2 rounded-full bg-base-content/20 shrink-0"
aria-hidden="true" aria-hidden="true"
title={gettext("Suspended")} title={gettext("Suspended")}
> ></span>
</span>
</span> </span>
</td> </td>
<td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0"> <td class="align-middle text-xs font-mono text-base-content whitespace-nowrap pt-0">