extensibility enhancements for site templates
This commit is contained in:
32
Oqtane.Shared/Models/SiteTemplate.cs
Normal file
32
Oqtane.Shared/Models/SiteTemplate.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
public class SiteTemplate
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string TypeName { get; set; }
|
||||
}
|
||||
|
||||
public class PageTemplate
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Parent { get; set; }
|
||||
public string Path { get; set; }
|
||||
public string Icon { get; set; }
|
||||
public bool IsNavigation { get; set; }
|
||||
public bool IsPersonalizable { get; set; }
|
||||
public bool EditMode { get; set; }
|
||||
public string PagePermissions { get; set; }
|
||||
public List<PageTemplateModule> PageTemplateModules { get; set; }
|
||||
}
|
||||
|
||||
public class PageTemplateModule
|
||||
{
|
||||
public string ModuleDefinitionName { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Pane { get; set; }
|
||||
public string ModulePermissions { get; set; }
|
||||
public string Content { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user