2018-11-17 04:43:11 +01:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2018-04-19 18:39:51 +02: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 05:28:10 +01: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 18:39:51 +02:00
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
2018-11-17 04:43:11 +01:00
|
|
|
[MaxLength(500)]
|
|
|
|
[Display(Name = "Custom bootstrap CSS file")]
|
2018-04-19 18:39:51 +02: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 18:39:51 +02:00
|
|
|
public string CreativeStartCssUri { get; set; }
|
2019-11-06 06:31:45 +01:00
|
|
|
public bool FirstRun { get; set; }
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
// no logs
|
|
|
|
return string.Empty;
|
|
|
|
}
|
2018-04-19 18:39:51 +02:00
|
|
|
}
|
|
|
|
}
|