2018-11-17 12:43:11 +09:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2018-04-19 11:39:51 -05:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Services
|
|
|
|
{
|
|
|
|
public class ThemeSettings
|
|
|
|
{
|
2019-10-26 21:20:39 +02:00
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
|
|
[MaxLength(500)]
|
2019-10-27 00:28:10 -04:00
|
|
|
[Display(Name = "Select Theme")]
|
2019-10-26 21:20:39 +02:00
|
|
|
public string ThemeCssUri { get; set; }
|
|
|
|
|
2019-11-22 21:09:18 +01:00
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
|
|
[MaxLength(500)]
|
|
|
|
[Display(Name = "Custom Theme CSS file")]
|
|
|
|
public string CustomThemeCssUri { get; set; }
|
|
|
|
|
2018-04-19 11:39:51 -05:00
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
2018-11-17 12:43:11 +09:00
|
|
|
[MaxLength(500)]
|
|
|
|
[Display(Name = "Custom bootstrap CSS file")]
|
2018-04-19 11:39:51 -05:00
|
|
|
public string BootstrapCssUri { get; set; }
|
|
|
|
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
2019-11-22 21:09:18 +01:00
|
|
|
[Display(Name = "Custom Creative Start CSS file")]
|
2018-04-19 11:39:51 -05:00
|
|
|
public string CreativeStartCssUri { get; set; }
|
2019-11-06 14:31:45 +09:00
|
|
|
public bool FirstRun { get; set; }
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
// no logs
|
|
|
|
return string.Empty;
|
|
|
|
}
|
2018-04-19 11:39:51 -05:00
|
|
|
}
|
|
|
|
}
|