From eda437995fc0213726edd0b0f400a74acc1281bb Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 7 Dec 2023 14:00:15 +0900 Subject: [PATCH] Show Warning is browser safari/brave is incompatible with vault on all pages --- BTCPayServer/BTCPayServer.csproj | 1 + .../Shared/LocalhostBrowserSupport.cshtml | 22 +++++++++++++++++++ .../Views/UIPullPayment/SetupBoltcard.cshtml | 21 +----------------- .../ImportWallet/ConfirmAddresses.cshtml | 2 ++ .../UIStores/ImportWallet/Hardware.cshtml | 2 ++ .../Views/UIWallets/WalletSendVault.cshtml | 21 +----------------- 6 files changed, 29 insertions(+), 40 deletions(-) create mode 100644 BTCPayServer/Views/Shared/LocalhostBrowserSupport.cshtml diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 23fed18fb..5e9291f48 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -138,6 +138,7 @@ + diff --git a/BTCPayServer/Views/Shared/LocalhostBrowserSupport.cshtml b/BTCPayServer/Views/Shared/LocalhostBrowserSupport.cshtml new file mode 100644 index 000000000..603ad7f9c --- /dev/null +++ b/BTCPayServer/Views/Shared/LocalhostBrowserSupport.cshtml @@ -0,0 +1,22 @@ + + diff --git a/BTCPayServer/Views/UIPullPayment/SetupBoltcard.cshtml b/BTCPayServer/Views/UIPullPayment/SetupBoltcard.cshtml index 2e97cb8b0..f01b3af97 100644 --- a/BTCPayServer/Views/UIPullPayment/SetupBoltcard.cshtml +++ b/BTCPayServer/Views/UIPullPayment/SetupBoltcard.cshtml @@ -15,12 +15,7 @@

Using BTCPay Server Vault (NFC)

- +