More options to Custom Amount Pay button (#948)

* Start adding more options to Custom Amount Pay button

This allows you to simplify the custom amount pay button to remove the big + & - buttons along with set a min, max and step amounts. There's also an option to fit the button next to the input amount to have it more condensed(not finished)

* make fit button inline work nicely

* make currency dropdown more obvious

* fix space
This commit is contained in:
Andrew Camilleri
2019-07-31 15:58:04 +02:00
committed by Nicolas Dorier
parent 5d6c28c997
commit 89a7166c1b
3 changed files with 50 additions and 14 deletions

View File

@@ -22,6 +22,10 @@ namespace BTCPayServer.Models.StoreViewModels
public decimal Max { get; set; }
public decimal Step { get; set; }
// Custom Amount properties (ButtonType = 1)
public bool SimpleInput { get; set; }
public bool FitButtonInline { get; set; }
[Url]
public string ServerIpn { get; set; }
[Url]