An Abp Blazor Theme based Ant-Design-Blazor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

33 lines
1.1 KiB

@page "/setting-management"
@using Microsoft.AspNetCore.Authorization
@using Volo.Abp.Features
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout
@attribute [Authorize]
@attribute [RequiresFeature(SettingManagementFeatures.Enable)]
<CascadingValue Value="this" IsFixed="true">
<AbpPageHeader Title="@L["Settings"]" BreadcrumbItems="@BreadcrumbItems"/>
<div class="page-content">
<Tabs ActiveKey="@SelectedGroup" TabPosition="@TabPosition.Left">
@foreach (var group in SettingComponentCreationContext.Groups)
{
<TabPane Key="@GetNormalizedString(group.Id)" Tab="@group.DisplayName">
<h4>@group.DisplayName</h4>
<Divider/>
@{
SettingItemRenders.Add(b =>
{
b.OpenComponent(0, group.ComponentType);
b.CloseComponent();
});
}
@SettingItemRenders.Last()
</TabPane>
}
</Tabs>
</div>
</CascadingValue>