2017-10-23 15:55:46 +02:00
|
|
|
namespace BTCPayServer.Models
|
|
|
|
{
|
|
|
|
public class ConfirmModel
|
|
|
|
{
|
2019-02-10 19:25:51 +01:00
|
|
|
public ConfirmModel() { }
|
|
|
|
|
|
|
|
public ConfirmModel(string title, string desc, string action = null)
|
|
|
|
{
|
|
|
|
Title = title;
|
|
|
|
Description = desc;
|
|
|
|
Action = action;
|
|
|
|
}
|
|
|
|
|
2017-10-27 10:53:04 +02:00
|
|
|
public string Title
|
|
|
|
{
|
|
|
|
get; set;
|
|
|
|
}
|
|
|
|
public string Description
|
|
|
|
{
|
|
|
|
get; set;
|
|
|
|
}
|
2020-07-13 08:13:27 +02:00
|
|
|
|
|
|
|
public bool DescriptionHtml { get; set; } = false;
|
|
|
|
|
2017-10-27 10:53:04 +02:00
|
|
|
public string Action
|
|
|
|
{
|
|
|
|
get; set;
|
|
|
|
}
|
2018-05-03 18:46:52 +02:00
|
|
|
public string ButtonClass { get; set; } = "btn-danger";
|
2020-02-26 10:26:38 +01:00
|
|
|
public string ActionUrl { get; set; }
|
2017-10-27 10:53:04 +02:00
|
|
|
}
|
2017-10-23 15:55:46 +02:00
|
|
|
}
|