<%= get_identity_email(@identity) %>
@@ -1068,14 +1079,25 @@ defmodule Web.CoreComponents do
class={~w[
rounded-l
py-0.5 px-1.5
- text-neutral-900
- bg-neutral-50
+ text-neutral-800
+ bg-neutral-100
border-neutral-100
border
]}
>
<.provider_icon adapter={@group.provider.adapter} class="h-3.5 w-3.5" />
+
+ <.icon name="firezone" class="h-3.5 w-3.5" />
+
<.link
title={"View Group \"#{@group.name}\""}
navigate={~p"/#{@account}/groups/#{@group}"}
@@ -1083,10 +1105,10 @@ defmodule Web.CoreComponents do
text-xs
truncate
min-w-0
- #{if(Actors.group_synced?(@group), do: "rounded-r pl-1.5 pr-2.5", else: "rounded px-1.5")}
+ rounded-r pl-1.5 pr-2.5
py-0.5
- text-neutral-800
- bg-neutral-100
+ text-neutral-900
+ bg-neutral-50
]}
>
<%= @group.name %>
diff --git a/elixir/apps/web/lib/web/components/form_components.ex b/elixir/apps/web/lib/web/components/form_components.ex
index 38bd65ed1..78c1ccea8 100644
--- a/elixir/apps/web/lib/web/components/form_components.ex
+++ b/elixir/apps/web/lib/web/components/form_components.ex
@@ -387,9 +387,11 @@ defmodule Web.FormComponents do
attr :id, :string, required: true, doc: "The id of the dialog"
attr :class, :string, default: "", doc: "Custom classes to be added to the button"
attr :style, :string, default: "danger", doc: "The style of the button"
+ attr :confirm_style, :string, default: "danger", doc: "The style of the confirm button"
attr :icon, :string, default: nil, doc: "The icon of the button"
attr :size, :string, default: "md", doc: "The size of the button"
attr :on_confirm, :string, required: true, doc: "The phx event to broadcast on confirm"
+ attr :disabled, :boolean, default: false, doc: "Whether the button is disabled"
attr :on_confirm_id, :string,
default: nil,
@@ -418,7 +420,7 @@ defmodule Web.FormComponents do
<%= render_slot(@dialog_title) %>