Wallet UI: Improve views (#1763)

* Improve UpdateStore and DerivationScheme views

fix

* Improve wallet views

CSS fix

* Apply suggestions from code review

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
This commit is contained in:
Dennis Reimann
2020-08-03 10:12:21 +02:00
committed by GitHub
parent b90ce01e05
commit b47b942e97
15 changed files with 259 additions and 224 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.WalletViewModels
@@ -6,6 +7,7 @@ namespace BTCPayServer.Models.WalletViewModels
public class WalletSettingsViewModel
{
public string Label { get; set; }
[DisplayName("Derivation scheme")]
public string DerivationScheme { get; set; }
public string DerivationSchemeInput { get; set; }
[Display(Name = "Is signing key")]
@@ -20,9 +22,12 @@ namespace BTCPayServer.Models.WalletViewModels
public class WalletSettingsAccountKeyViewModel
{
[DisplayName("Account key")]
public string AccountKey { get; set; }
[DisplayName("Master fingerprint")]
[Validation.HDFingerPrintValidator]
public string MasterFingerprint { get; set; }
[DisplayName("Account key path")]
[Validation.KeyPathValidator]
public string AccountKeyPath { get; set; }
}