mirror of https://github.com/abpframework/abp.git
10 changed files with 104 additions and 29 deletions
@ -0,0 +1,10 @@ |
|||
namespace Volo.Abp.Identity.Web.Navigation |
|||
{ |
|||
public class IdentityMenuNames |
|||
{ |
|||
public const string GroupName = "AbpIdentity"; |
|||
|
|||
public const string Roles = GroupName + ".Roles"; |
|||
public const string Users = GroupName + ".Users"; |
|||
} |
|||
} |
|||
@ -0,0 +1,14 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.SettingManagement.Web.Navigation |
|||
{ |
|||
public class SettingManagementMenuNames |
|||
{ |
|||
public const string GroupName = "SettingManagement"; |
|||
|
|||
public const string Settings = GroupName + ".Settings"; |
|||
} |
|||
} |
|||
@ -1,19 +1,37 @@ |
|||
@page |
|||
@using Volo.Abp.AspNetCore.Mvc.UI.Layout |
|||
@using Volo.Abp.SettingManagement.Web.Navigation |
|||
@using Volo.Abp.SettingManagement.Web.Pages.SettingManagement |
|||
@model IndexModel |
|||
@inject IPageLayout PageLayout |
|||
@{ |
|||
PageLayout.Content.Title = /*L["Settings"].Value*/ "Settings"; |
|||
PageLayout.Content.MenuItemName = SettingManagementMenuNames.GroupName; |
|||
} |
|||
@section scripts { |
|||
<abp-script-bundle name="@typeof(IndexModel).FullName"> |
|||
<abp-script src="/Pages/SettingManagement/Index.js" /> |
|||
</abp-script-bundle> |
|||
} |
|||
<abp-tabs tab-style="PillVertical" vertical-header-size="_2"> |
|||
|
|||
@foreach (var group in Model.SettingPageCreationContext.Groups) |
|||
{ |
|||
<abp-tab title="@group.DisplayName"> |
|||
|
|||
<h2>@group.DisplayName</h2> |
|||
@await Component.InvokeAsync(group.ComponentType) |
|||
</abp-tab> |
|||
} |
|||
</abp-tabs> |
|||
<abp-card id="SettingManagementWrapper"> |
|||
<abp-card-header> |
|||
<abp-row> |
|||
<abp-column size-md="_6"> |
|||
<abp-card-title>@*@L["Settings"]*@Settings</abp-card-title> |
|||
</abp-column> |
|||
</abp-row> |
|||
</abp-card-header> |
|||
<abp-card-body> |
|||
<abp-tabs tab-style="PillVertical" vertical-header-size="_2"> |
|||
@foreach (var group in Model.SettingPageCreationContext.Groups) |
|||
{ |
|||
<abp-tab title="@group.DisplayName"> |
|||
|
|||
<h2>@group.DisplayName</h2> |
|||
@await Component.InvokeAsync(group.ComponentType) |
|||
</abp-tab> |
|||
} |
|||
</abp-tabs> |
|||
</abp-card-body> |
|||
</abp-card> |
|||
@ -0,0 +1,9 @@ |
|||
namespace Volo.Abp.TenantManagement.Web.Navigation |
|||
{ |
|||
public class TenantManagementMenuNames |
|||
{ |
|||
public const string GroupName = "TenantManagement"; |
|||
|
|||
public const string Tenants = GroupName + ".Tenants"; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue