From 517c65f1fc2cffd4912854fa9fd97caa803d0f0e Mon Sep 17 00:00:00 2001 From: Kukks Date: Thu, 19 Mar 2020 10:08:33 +0100 Subject: [PATCH] make no js version a littler better --- .../Models/WalletViewModels/WalletSendModel.cs | 2 ++ BTCPayServer/Views/Shared/_Layout.cshtml | 1 + BTCPayServer/Views/Wallets/WalletSend.cshtml | 16 +++++++++------- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/BTCPayServer/Models/WalletViewModels/WalletSendModel.cs b/BTCPayServer/Models/WalletViewModels/WalletSendModel.cs index 55ec9ca4f..5cc12c361 100644 --- a/BTCPayServer/Models/WalletViewModels/WalletSendModel.cs +++ b/BTCPayServer/Models/WalletViewModels/WalletSendModel.cs @@ -51,6 +51,8 @@ namespace BTCPayServer.Models.WalletViewModels public bool NBXSeedAvailable { get; set; } public bool InputSelection { get; set; } public InputSelectionOption[] InputsAvailable { get; set; } + + [Display(Name = "UTXOs to spend from")] public IEnumerable SelectedInputs { get; set; } public class InputSelectionOption diff --git a/BTCPayServer/Views/Shared/_Layout.cshtml b/BTCPayServer/Views/Shared/_Layout.cshtml index def29b359..56544113f 100644 --- a/BTCPayServer/Views/Shared/_Layout.cshtml +++ b/BTCPayServer/Views/Shared/_Layout.cshtml @@ -23,6 +23,7 @@ .only-for-js{ display:none !important; } + [v-cloak]::before { content: "" !important; } diff --git a/BTCPayServer/Views/Wallets/WalletSend.cshtml b/BTCPayServer/Views/Wallets/WalletSend.cshtml index 667422e63..38b709fce 100644 --- a/BTCPayServer/Views/Wallets/WalletSend.cshtml +++ b/BTCPayServer/Views/Wallets/WalletSend.cshtml @@ -38,13 +38,15 @@ @if (Model.InputSelection) { - - +
+ + +
}