btcpayserver/BTCPayServer/Services/ThemesSettings.cs

27 lines
751 B
C#
Raw Normal View History

2018-04-19 18:39:51 +02:00
using System;
using System.Collections.Generic;
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)]
[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; }
public bool FirstRun { get; set; }
public override string ToString()
{
// no logs
return string.Empty;
}
2018-04-19 18:39:51 +02:00
}
}