Browse Source
Merge pull request #6514 from abpframework/liangshiwei/blazor-subapplication
Blazor: Support sub-application deployment
pull/6518/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
6 additions and
6 deletions
-
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/Themes/Basic/Branding.razor
-
modules/identity/src/Volo.Abp.Identity.Blazor/AbpIdentityWebMainMenuContributor.cs
-
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Menus/SettingManagementMenuContributor.cs
-
modules/tenant-management/src/Volo.Abp.TenantManagement.Blazor/Navigation/TenantManagementBlazorMenuContributor.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Menus/MyProjectNameMenuContributor.cs
|
|
|
@ -1,3 +1,3 @@ |
|
|
|
@using Volo.Abp.Ui.Branding |
|
|
|
@inject IBrandingProvider BrandingProvider |
|
|
|
<a class="navbar-brand" href="/">@BrandingProvider.AppName</a> |
|
|
|
<a class="navbar-brand" href="">@BrandingProvider.AppName</a> |
|
|
|
|
|
|
|
@ -27,12 +27,12 @@ namespace Volo.Abp.Identity.Blazor |
|
|
|
|
|
|
|
if (hasRolePermission) |
|
|
|
{ |
|
|
|
identityMenuItem.AddItem(new ApplicationMenuItem(IdentityMenuNames.Roles, l["Roles"], url: "/identity/roles")); |
|
|
|
identityMenuItem.AddItem(new ApplicationMenuItem(IdentityMenuNames.Roles, l["Roles"], url: "identity/roles")); |
|
|
|
} |
|
|
|
|
|
|
|
if (hasUserPermission) |
|
|
|
{ |
|
|
|
identityMenuItem.AddItem(new ApplicationMenuItem(IdentityMenuNames.Users, l["Users"], url: "/identity/users")); |
|
|
|
identityMenuItem.AddItem(new ApplicationMenuItem(IdentityMenuNames.Users, l["Users"], url: "identity/users")); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ namespace Volo.Abp.SettingManagement.Blazor.Menus |
|
|
|
new ApplicationMenuItem( |
|
|
|
SettingManagementMenus.GroupName, |
|
|
|
l["Settings"], |
|
|
|
"/setting-management", |
|
|
|
"setting-management", |
|
|
|
icon: "fa fa-cog" |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ namespace Volo.Abp.TenantManagement.Blazor.Navigation |
|
|
|
|
|
|
|
if (await context.IsGrantedAsync(TenantManagementPermissions.Tenants.Default)) |
|
|
|
{ |
|
|
|
tenantManagementMenuItem.AddItem(new ApplicationMenuItem(TenantManagementMenuNames.Tenants, l["Tenants"], url: "/tenant-management/tenants")); |
|
|
|
tenantManagementMenuItem.AddItem(new ApplicationMenuItem(TenantManagementMenuNames.Tenants, l["Tenants"], url: "tenant-management/tenants")); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -39,7 +39,7 @@ namespace MyCompanyName.MyProjectName.Blazor.Menus |
|
|
|
new ApplicationMenuItem( |
|
|
|
MyProjectNameMenus.Home, |
|
|
|
l["Menu:Home"], |
|
|
|
"/", |
|
|
|
"", |
|
|
|
icon: "fas fa-home" |
|
|
|
) |
|
|
|
); |
|
|
|
|