CSS separation, multi-tenancy fixes
This commit is contained in:
@ -15,33 +15,6 @@ namespace Oqtane.Models
|
||||
public string ModifiedBy { get; set; }
|
||||
public DateTime ModifiedOn { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string Scheme { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string Url
|
||||
{
|
||||
get
|
||||
{
|
||||
return Scheme + "://" + Name;
|
||||
}
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public string BaseUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
string name = Name;
|
||||
if (name.Contains("/"))
|
||||
{
|
||||
name = name.Substring(0, name.IndexOf("/"));
|
||||
}
|
||||
return Scheme + "://" + name;
|
||||
}
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public string Path
|
||||
{
|
||||
|
11
Oqtane.Shared/Models/ApplicationVersion.cs
Normal file
11
Oqtane.Shared/Models/ApplicationVersion.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
public class ApplicationVersion
|
||||
{
|
||||
public int ApplicationVersionId { get; set; }
|
||||
public string Version { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
}
|
||||
}
|
@ -8,6 +8,7 @@ namespace Oqtane.Models
|
||||
public string Name { get; set; }
|
||||
public string DBConnectionString { get; set; }
|
||||
public string DBSchema { get; set; }
|
||||
public bool IsInitialized { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
|
@ -5,25 +5,24 @@
|
||||
public const string PackageId = "Oqtane.Framework";
|
||||
public const string Version = "0.0.1";
|
||||
|
||||
public const string DefaultPage = "Oqtane.Shared.ThemeBuilder, Oqtane.Client";
|
||||
public const string DefaultContainer = "Oqtane.Shared.ContainerBuilder, Oqtane.Client";
|
||||
public const string PageComponent = "Oqtane.Shared.ThemeBuilder, Oqtane.Client";
|
||||
public const string ContainerComponent = "Oqtane.Shared.ContainerBuilder, Oqtane.Client";
|
||||
|
||||
public const string DefaultTheme = "Oqtane.Themes.OqtaneTheme.Default, Oqtane.Client";
|
||||
public const string DefaultContainer = "Oqtane.Themes.OqtaneTheme.Container, Oqtane.Client";
|
||||
public const string DefaultAdminContainer = "Oqtane.Themes.AdminContainer, Oqtane.Client";
|
||||
|
||||
public static readonly string[] DefaultModuleActions = new[] { "Settings", "Import", "Export" };
|
||||
public const string DefaultModuleActionsTemplate = "Oqtane.Modules.Admin.Modules.{Control}, Oqtane.Client";
|
||||
public const string PageManagementModule = "Oqtane.Modules.Admin.Pages, Oqtane.Client";
|
||||
public const string ModuleMessageControl = "Oqtane.Modules.Controls.ModuleMessage, Oqtane.Client";
|
||||
public const string DefaultControl = "Index";
|
||||
|
||||
public const string DefaultControl = "Index";
|
||||
public const string AdminPane = "Admin";
|
||||
|
||||
public const string AllUsersRole = "All Users";
|
||||
public const string HostRole = "Host Users";
|
||||
public const string AdminRole = "Administrators";
|
||||
public const string RegisteredRole = "Registered Users";
|
||||
|
||||
public const int ReloadApplication = 3;
|
||||
public const int ReloadSite = 2;
|
||||
public const int ReloadPage = 1;
|
||||
public const int ReloadReset = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user