Added Favicon support, Progressive Web App support, page title and url support, and private/public user registration options
This commit is contained in:
@ -9,8 +9,10 @@ namespace Oqtane.Models
|
||||
public int SiteId { get; set; }
|
||||
public int? ParentId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Path { get; set; }
|
||||
public int Order { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string ThemeType { get; set; }
|
||||
public string LayoutType { get; set; }
|
||||
public string Icon { get; set; }
|
||||
|
@ -9,9 +9,14 @@ namespace Oqtane.Models
|
||||
public int TenantId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int? LogoFileId { get; set; }
|
||||
public int? FaviconFileId { get; set; }
|
||||
public string DefaultThemeType { get; set; }
|
||||
public string DefaultLayoutType { get; set; }
|
||||
public string DefaultContainerType { get; set; }
|
||||
public bool PwaIsEnabled { get; set; }
|
||||
public int? PwaAppIconFileId { get; set; }
|
||||
public int? PwaSplashIconFileId { get; set; }
|
||||
public bool AllowRegistration { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
|
@ -56,6 +56,13 @@ namespace Oqtane.Shared
|
||||
return url;
|
||||
}
|
||||
|
||||
public static string ContentUrl(string alias, int fileid)
|
||||
{
|
||||
string url = (alias == "") ? "/~" : alias;
|
||||
url += Constants.ContentUrl + fileid.ToString();
|
||||
return url;
|
||||
}
|
||||
|
||||
public static string GetTypeName(string fullyqualifiedtypename)
|
||||
{
|
||||
if (fullyqualifiedtypename.Contains(","))
|
||||
|
Reference in New Issue
Block a user