2018-04-19 18:39:51 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2018-11-17 04:43:11 +01:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2018-04-19 18:39:51 +02:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace BTCPayServer.Services
|
|
|
|
|
{
|
|
|
|
|
public class ThemeSettings
|
|
|
|
|
{
|
|
|
|
|
[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)]
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|