mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
20 lines
702 B
20 lines
702 B
using System.Threading.Tasks;
|
|
using Volo.Abp.AspNetCore.Components.Server.BasicTheme.Themes.Basic;
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming.Toolbars;
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.Server.BasicTheme
|
|
{
|
|
public class BasicThemeToolbarContributor : IToolbarContributor
|
|
{
|
|
public Task ConfigureToolbarAsync(IToolbarConfigurationContext context)
|
|
{
|
|
if (context.Toolbar.Name == StandardToolbars.Main)
|
|
{
|
|
context.Toolbar.Items.Add(new ToolbarItem(typeof(LanguageSwitch)));
|
|
context.Toolbar.Items.Add(new ToolbarItem(typeof(LoginDisplay)));
|
|
}
|
|
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
}
|
|
|