mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(portal): Make sure modals start with Confirm.. (#7032)
Closes #6713
This commit is contained in:
@@ -140,8 +140,14 @@ defmodule Web.Actors.EditGroups do
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<.button_with_confirmation id="save_changes" style="primary" class="m-4" on_confirm="submit">
|
||||
<:dialog_title>Apply changes to Actor Groups</:dialog_title>
|
||||
<.button_with_confirmation
|
||||
id="save_changes"
|
||||
style="primary"
|
||||
confirm_style="primary"
|
||||
class="m-4"
|
||||
on_confirm="submit"
|
||||
>
|
||||
<:dialog_title>Confirm changes to Actor Groups</:dialog_title>
|
||||
<:dialog_content>
|
||||
<%= confirm_message(@added, @removed) %>
|
||||
</:dialog_content>
|
||||
|
||||
@@ -157,10 +157,11 @@ defmodule Web.Actors.Show do
|
||||
<.button_with_confirmation
|
||||
id="disable_actor"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Apply changes to Actor Groups</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Actor</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this <%= String.downcase(actor_type(@actor.type)) %> and revoke all its tokens?
|
||||
</:dialog_content>
|
||||
@@ -177,10 +178,11 @@ defmodule Web.Actors.Show do
|
||||
<.button_with_confirmation
|
||||
id="enable_actor"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Apply changes to Actor Groups</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Actor</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this <%= String.downcase(actor_type(@actor.type)) %>?
|
||||
</:dialog_content>
|
||||
@@ -281,7 +283,7 @@ defmodule Web.Actors.Show do
|
||||
on_confirm_id={identity.id}
|
||||
size="xs"
|
||||
>
|
||||
<:dialog_title>Delete Identity</:dialog_title>
|
||||
<:dialog_title>Confirm Identity deletion</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this identity?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -344,10 +346,11 @@ defmodule Web.Actors.Show do
|
||||
<.button_with_confirmation
|
||||
id="revoke_all_tokens"
|
||||
style="danger"
|
||||
confirm_style="primary"
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="revoke_all_tokens"
|
||||
>
|
||||
<:dialog_title>Revoke All Tokens</:dialog_title>
|
||||
<:dialog_title>Confirm revocation of all actor tokens</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to revoke all tokens?
|
||||
This will <strong>immediately</strong> sign the actor out of all clients.
|
||||
@@ -429,7 +432,7 @@ defmodule Web.Actors.Show do
|
||||
on_confirm_id={token.id}
|
||||
size="xs"
|
||||
>
|
||||
<:dialog_title>Revoke the Token</:dialog_title>
|
||||
<:dialog_title>Confirm token revocation</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to revoke the token?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -568,7 +571,7 @@ defmodule Web.Actors.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete <%= actor_type(@actor.type) %></:dialog_title>
|
||||
<:dialog_title>Confirm <%= actor_type(@actor.type) %> deletion</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this <%= String.downcase(actor_type(@actor.type)) %> along with all associated identities?
|
||||
</:dialog_content>
|
||||
|
||||
@@ -182,9 +182,10 @@ defmodule Web.Clients.Show do
|
||||
icon="hero-shield-exclamation"
|
||||
on_confirm="remove_client_verification"
|
||||
>
|
||||
<:dialog_title>Remove verification</:dialog_title>
|
||||
<:dialog_title>Confirm removal of Client verification</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to remove verification of this Client?
|
||||
It will no longer be able to access Resources using Policies that require verification.
|
||||
</:dialog_content>
|
||||
<:dialog_confirm_button>
|
||||
Remove
|
||||
@@ -199,10 +200,11 @@ defmodule Web.Clients.Show do
|
||||
<.button_with_confirmation
|
||||
id="verify_client"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-shield-check"
|
||||
on_confirm="verify_client"
|
||||
>
|
||||
<:dialog_title>Verify Client</:dialog_title>
|
||||
<:dialog_title>Confirm verification of Client</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to verify this Client?
|
||||
</:dialog_content>
|
||||
|
||||
@@ -114,7 +114,7 @@ defmodule Web.Gateways.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Gateway</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Gateway</:dialog_title>
|
||||
<:dialog_content>
|
||||
<p>
|
||||
Are you sure you want to delete this Gateway?
|
||||
|
||||
@@ -251,7 +251,7 @@ defmodule Web.Groups.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Group</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Group</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this Group and all related Policies?
|
||||
</:dialog_content>
|
||||
|
||||
@@ -99,7 +99,7 @@ defmodule Web.Policies.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Policy</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Policy</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this policy?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -117,10 +117,11 @@ defmodule Web.Policies.Show do
|
||||
:if={not is_nil(@policy.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Policy</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Policy</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this policy?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -294,7 +295,7 @@ defmodule Web.Policies.Show do
|
||||
on_confirm="delete"
|
||||
on_confirm_id={@policy.id}
|
||||
>
|
||||
<:dialog_title>Delete Policy</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Policy</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this Policy? All sessions authorized by it will be expired.
|
||||
</:dialog_content>
|
||||
|
||||
@@ -106,7 +106,7 @@ defmodule Web.RelayGroups.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="revoke_all_tokens"
|
||||
>
|
||||
<:dialog_title>Revoke all tokens</:dialog_title>
|
||||
<:dialog_title>Confirm revocation of all tokens</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to revoke all tokens for this Relay Group?
|
||||
This will <strong>immediately</strong> disconnect all associated Relays.
|
||||
@@ -162,7 +162,7 @@ defmodule Web.RelayGroups.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Instance Group</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of the Instance Group</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this Instance Group? All relay instances will be disconnected.
|
||||
</:dialog_content>
|
||||
|
||||
@@ -120,7 +120,7 @@ defmodule Web.Relays.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Relay</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Relay</:dialog_title>
|
||||
<:dialog_content>
|
||||
<p>
|
||||
Are you sure you want to delete this relay?
|
||||
|
||||
@@ -388,7 +388,7 @@ defmodule Web.Resources.Show do
|
||||
on_confirm="delete"
|
||||
on_confirm_id={@resource.id}
|
||||
>
|
||||
<:dialog_title>Delete Resource</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Resource</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure want to delete this Resource along with all associated Policies?
|
||||
This will immediately end all active sessions opened for this Resource.
|
||||
|
||||
@@ -69,7 +69,7 @@ defmodule Web.Settings.ApiClients.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the API Client</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the API Client</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure want to disable this API Client and revoke all its tokens?
|
||||
</:dialog_content>
|
||||
@@ -86,10 +86,11 @@ defmodule Web.Settings.ApiClients.Show do
|
||||
<.button_with_confirmation
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the API Client</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the API Client</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure want to enable this API Client?
|
||||
</:dialog_content>
|
||||
@@ -138,7 +139,7 @@ defmodule Web.Settings.ApiClients.Show do
|
||||
icon="hero-trash"
|
||||
on_confirm="revoke_all_tokens"
|
||||
>
|
||||
<:dialog_title>Revoke all API Client Tokens</:dialog_title>
|
||||
<:dialog_title>Confirm revocation of all API Client tokens</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to revoke all Tokens for this API client?
|
||||
</:dialog_content>
|
||||
@@ -191,7 +192,7 @@ defmodule Web.Settings.ApiClients.Show do
|
||||
on_confirm_id={token.id}
|
||||
size="xs"
|
||||
>
|
||||
<:dialog_title>Revoke the Token</:dialog_title>
|
||||
<:dialog_title>Confirm revocation of API Token</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to revoke this token?
|
||||
</:dialog_content>
|
||||
@@ -223,7 +224,7 @@ defmodule Web.Settings.ApiClients.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete API Client</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of API Client</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure want to delete this API Client along with all associated tokens?
|
||||
</:dialog_content>
|
||||
|
||||
@@ -60,7 +60,7 @@ defmodule Web.Settings.IdentityProviders.GoogleWorkspace.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this Provider?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -79,10 +79,11 @@ defmodule Web.Settings.IdentityProviders.GoogleWorkspace.Show do
|
||||
:if={not is_nil(@provider.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this provider?
|
||||
</:dialog_content>
|
||||
@@ -135,7 +136,7 @@ defmodule Web.Settings.IdentityProviders.GoogleWorkspace.Show do
|
||||
on_confirm="delete_stale_actors"
|
||||
class="mt-4"
|
||||
>
|
||||
<:dialog_title>Delete Stale Actors</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of stale Actors</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete all Actors that were synced synced from this provider and do not have any other identities?
|
||||
</:dialog_content>
|
||||
@@ -212,7 +213,7 @@ defmodule Web.Settings.IdentityProviders.GoogleWorkspace.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Identity Provider</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Identity Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this provider? This will remove <strong>all</strong>
|
||||
Actors and Groups associated with this provider.
|
||||
|
||||
@@ -62,7 +62,7 @@ defmodule Web.Settings.IdentityProviders.JumpCloud.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this Provider?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -81,10 +81,11 @@ defmodule Web.Settings.IdentityProviders.JumpCloud.Show do
|
||||
:if={not is_nil(@provider.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this provider?
|
||||
</:dialog_content>
|
||||
@@ -135,7 +136,7 @@ defmodule Web.Settings.IdentityProviders.JumpCloud.Show do
|
||||
on_confirm="delete_stale_actors"
|
||||
class="mt-4"
|
||||
>
|
||||
<:dialog_title>Delete Stale Actors</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of stale Actors</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete all Actors that were synced synced from this provider and do not have any other identities?
|
||||
</:dialog_content>
|
||||
@@ -223,7 +224,7 @@ defmodule Web.Settings.IdentityProviders.JumpCloud.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Identity Provider</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Identity Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this provider? This will remove <strong>all</strong>
|
||||
Actors and Groups associated with this provider.
|
||||
|
||||
@@ -60,7 +60,7 @@ defmodule Web.Settings.IdentityProviders.MicrosoftEntra.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this Provider?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -79,10 +79,11 @@ defmodule Web.Settings.IdentityProviders.MicrosoftEntra.Show do
|
||||
:if={not is_nil(@provider.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this provider?
|
||||
</:dialog_content>
|
||||
@@ -135,7 +136,7 @@ defmodule Web.Settings.IdentityProviders.MicrosoftEntra.Show do
|
||||
on_confirm="delete_stale_actors"
|
||||
class="mt-4"
|
||||
>
|
||||
<:dialog_title>Delete Stale Actors</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of stale Actors</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete all Actors that were synced synced from this provider and do not have any other identities?
|
||||
</:dialog_content>
|
||||
@@ -212,7 +213,7 @@ defmodule Web.Settings.IdentityProviders.MicrosoftEntra.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Identity Provider</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Identity Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this provider? This will remove <strong>all</strong>
|
||||
Actors and Groups associated with this provider.
|
||||
|
||||
@@ -60,7 +60,7 @@ defmodule Web.Settings.IdentityProviders.Okta.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this Provider?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -79,10 +79,11 @@ defmodule Web.Settings.IdentityProviders.Okta.Show do
|
||||
:if={not is_nil(@provider.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this provider?
|
||||
</:dialog_content>
|
||||
@@ -133,7 +134,7 @@ defmodule Web.Settings.IdentityProviders.Okta.Show do
|
||||
on_confirm="delete_stale_actors"
|
||||
class="mt-4"
|
||||
>
|
||||
<:dialog_title>Delete Stale Actors</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of stale Actors</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete all Actors that were synced synced from this provider and do not have any other identities?
|
||||
</:dialog_content>
|
||||
@@ -230,7 +231,7 @@ defmodule Web.Settings.IdentityProviders.Okta.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Identity Provider</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Identity Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this provider? This will remove <strong>all</strong>
|
||||
Actors and Groups associated with this provider.
|
||||
|
||||
@@ -55,7 +55,7 @@ defmodule Web.Settings.IdentityProviders.OpenIDConnect.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this Provider?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -73,10 +73,11 @@ defmodule Web.Settings.IdentityProviders.OpenIDConnect.Show do
|
||||
:if={not is_nil(@provider.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this provider?
|
||||
</:dialog_content>
|
||||
@@ -115,7 +116,7 @@ defmodule Web.Settings.IdentityProviders.OpenIDConnect.Show do
|
||||
on_confirm="delete_stale_actors"
|
||||
class="mt-4"
|
||||
>
|
||||
<:dialog_title>Delete Stale Actors</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of stale Actors</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete all Actors that were synced synced from this provider and do not have any other identities?
|
||||
</:dialog_content>
|
||||
@@ -188,7 +189,7 @@ defmodule Web.Settings.IdentityProviders.OpenIDConnect.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Identity Provider</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Identity Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this provider? This will remove <strong>all</strong>
|
||||
Identities, Groups and Policies associated with this provider.
|
||||
|
||||
@@ -45,7 +45,7 @@ defmodule Web.Settings.IdentityProviders.System.Show do
|
||||
icon="hero-lock-closed"
|
||||
on_confirm="disable"
|
||||
>
|
||||
<:dialog_title>Disable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm disabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to disable this Provider?
|
||||
This will <strong>immediately</strong>
|
||||
@@ -63,10 +63,11 @@ defmodule Web.Settings.IdentityProviders.System.Show do
|
||||
:if={not is_nil(@provider.disabled_at)}
|
||||
id="enable"
|
||||
style="warning"
|
||||
confirm_style="primary"
|
||||
icon="hero-lock-open"
|
||||
on_confirm="enable"
|
||||
>
|
||||
<:dialog_title>Enable the Provider</:dialog_title>
|
||||
<:dialog_title>Confirm enabling the Provider</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to enable this provider?
|
||||
</:dialog_content>
|
||||
|
||||
@@ -144,7 +144,7 @@ defmodule Web.Sites.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="revoke_all_tokens"
|
||||
>
|
||||
<:dialog_title>Revoke all tokens</:dialog_title>
|
||||
<:dialog_title>Confirm revocation of all tokens</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to revoke all tokens for this Site?
|
||||
This will <strong>immediately</strong> disconnect all associated Gateways.
|
||||
@@ -294,7 +294,7 @@ defmodule Web.Sites.Show do
|
||||
icon="hero-trash-solid"
|
||||
on_confirm="delete"
|
||||
>
|
||||
<:dialog_title>Delete Site</:dialog_title>
|
||||
<:dialog_title>Confirm deletion of Site</:dialog_title>
|
||||
<:dialog_content>
|
||||
Are you sure you want to delete this Site? This will <strong>immediately</strong>
|
||||
disconnect all associated Gateways.
|
||||
|
||||
Reference in New Issue
Block a user