2021-08-17 17:39:48 +00:00
|
|
|
using System.Text.Json.Serialization;
|
2021-08-17 16:12:45 +00:00
|
|
|
|
2022-01-04 15:37:57 +00:00
|
|
|
namespace MediaBrowser.Model.Branding;
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2022-01-04 15:37:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The branding options.
|
|
|
|
/// </summary>
|
|
|
|
public class BrandingOptions
|
2018-12-27 23:27:57 +00:00
|
|
|
{
|
2022-01-04 15:37:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the login disclaimer.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The login disclaimer.</value>
|
|
|
|
public string? LoginDisclaimer { get; set; }
|
2020-02-23 11:11:43 +00:00
|
|
|
|
2022-01-04 15:37:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the custom CSS.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The custom CSS.</value>
|
|
|
|
public string? CustomCss { get; set; }
|
2021-08-17 16:12:45 +00:00
|
|
|
|
2022-06-14 14:18:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether to enable the splashscreen.
|
|
|
|
/// </summary>
|
2023-01-22 19:05:38 +00:00
|
|
|
public bool SplashscreenEnabled { get; set; } = false;
|
2022-06-14 14:18:35 +00:00
|
|
|
|
2022-01-04 15:37:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the splashscreen location on disk.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// Not served via the API.
|
|
|
|
/// Only used to save the custom uploaded user splashscreen in the configuration file.
|
|
|
|
/// </remarks>
|
|
|
|
[JsonIgnore]
|
|
|
|
public string? SplashscreenLocation { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|