Theme Viewer + Theme Updater (#2952)
This commit is contained in:
parent
24302d4fcc
commit
38e7c1c131
35 changed files with 4563 additions and 284 deletions
|
@ -10,8 +10,8 @@ public enum ThemeProvider
|
|||
[Description("System")]
|
||||
System = 1,
|
||||
/// <summary>
|
||||
/// Theme is provided by the User (ie it's custom)
|
||||
/// Theme is provided by the User (ie it's custom) or Downloaded via Themes Repo
|
||||
/// </summary>
|
||||
[Description("User")]
|
||||
User = 2
|
||||
[Description("Custom")]
|
||||
Custom = 2,
|
||||
}
|
||||
|
|
|
@ -37,4 +37,30 @@ public class SiteTheme : IEntityDate, ITheme
|
|||
public DateTime LastModified { get; set; }
|
||||
public DateTime CreatedUtc { get; set; }
|
||||
public DateTime LastModifiedUtc { get; set; }
|
||||
|
||||
#region ThemeBrowser
|
||||
|
||||
/// <summary>
|
||||
/// The Url on the repo to download the file from
|
||||
/// </summary>
|
||||
public string? GitHubPath { get; set; }
|
||||
/// <summary>
|
||||
/// Hash of the Css File
|
||||
/// </summary>
|
||||
public string? ShaHash { get; set; }
|
||||
/// <summary>
|
||||
/// Pipe (|) separated urls of the images. Empty string if
|
||||
/// </summary>
|
||||
public string PreviewUrls { get; set; }
|
||||
// /// <summary>
|
||||
// /// A description about the theme
|
||||
// /// </summary>
|
||||
public string Description { get; set; }
|
||||
// /// <summary>
|
||||
// /// Author of the Theme
|
||||
// /// </summary>
|
||||
public string Author { get; set; }
|
||||
public string CompatibleVersion { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue