CSS separation, multi-tenancy fixes
This commit is contained in:
		@ -9,9 +9,9 @@
 | 
			
		||||
 | 
			
		||||
@if (UserSecurity.IsAuthorized(PageState.User, "Edit", PageState.Page.Permissions))
 | 
			
		||||
{
 | 
			
		||||
    <div id="actions" class="overlay">
 | 
			
		||||
        <a href="javascript:void(0)" class="closebtn" onclick="closeActions()">x</a>
 | 
			
		||||
        <div class="overlay-content">
 | 
			
		||||
    <div id="actions" class="app-controlpanel">
 | 
			
		||||
        <a href="javascript:void(0)" class="app-controlpanel-close" onclick="closeActions()">x</a>
 | 
			
		||||
        <div class="app-controlpanel-content">
 | 
			
		||||
            <ul class="nav flex-column">
 | 
			
		||||
                <li class="nav-item px-3">
 | 
			
		||||
                    <NavLink class="btn btn-primary mx-auto" href="@NavigateUrl("admin")">Admin Dashboard</NavLink>
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,6 @@
 | 
			
		||||
@namespace Oqtane.Themes.Controls
 | 
			
		||||
@inherits ThemeControlBase
 | 
			
		||||
@inject NavigationManager NavigationManager
 | 
			
		||||
 | 
			
		||||
@((MarkupString)logo)
 | 
			
		||||
 | 
			
		||||
@ -10,7 +11,8 @@
 | 
			
		||||
    {
 | 
			
		||||
        if (PageState.Site.Logo != "")
 | 
			
		||||
        {
 | 
			
		||||
            logo = "<a href=\"" + PageState.Alias.Url + "\"><img src=\"" + PageState.Alias.BaseUrl + "/" + PageState.Site.SiteRootPath + PageState.Site.Logo + "\" alt=\"" + PageState.Site.Name + "\"/></a>";
 | 
			
		||||
            Uri uri = new Uri(NavigationManager.Uri);
 | 
			
		||||
            logo = "<a href=\"" + uri.Scheme + "://" + uri.Authority + "\"><img src=\"" + uri.Scheme + "://" + uri.Authority + "/" + PageState.Site.SiteRootPath + PageState.Site.Logo + "\" alt=\"" + PageState.Site.Name + "\"/></a>";
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -7,7 +7,7 @@
 | 
			
		||||
@if (PageState.DesignMode && UserSecurity.IsAuthorized(PageState.User, "Edit", ModuleState.Permissions))
 | 
			
		||||
{
 | 
			
		||||
    <div class="dropdown">
 | 
			
		||||
        <button type="button" class="btn dropdown-toggle" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
 | 
			
		||||
        <button type="button" class="btn app-actions-toggle" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
 | 
			
		||||
        <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
 | 
			
		||||
            @foreach (var action in actions)
 | 
			
		||||
            {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user