37 references to Layout
Aspire.Dashboard (34)
Components\Controls\DashboardRunSelect.razor.cs (8)
10using LayoutResources = Aspire.Dashboard.Resources.Layout; 20private string RunSelectTitle => Loc[nameof(LayoutResources.DashboardRunSelectTitle)]; 21private string RunSelectAccessibleLabel => Loc[nameof(LayoutResources.DashboardRunSelectAccessibleLabel), SelectedRunText]; 23? Loc[nameof(LayoutResources.DashboardRunSelectCurrent)] 39public required IStringLocalizer<LayoutResources> Loc { get; init; } 69? nameof(LayoutResources.DashboardRunSelectUnpin) 70: nameof(LayoutResources.DashboardRunSelectPin)], 106return Loc[nameof(LayoutResources.DashboardRunSelectCurrent)];
Components\Layout\AspirePageContentLayout.razor.cs (1)
87MobileToolbarButtonText ?? LayoutLoc[nameof(Resources.Layout.PageLayoutViewFilters)]),
Components\Layout\MainLayout.razor.cs (13)
59public required IStringLocalizer<Resources.Layout> Loc { get; init; } 176unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointTelemetryBody)]); 180unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointApiBody)]); 195options.Title = Loc[nameof(Resources.Layout.MessageUnsecuredEndpointTitle)]; 199Text = Loc[nameof(Resources.Layout.MessageUnsecuredEndpointLink)], 313Title = Loc[nameof(Resources.Layout.MainLayoutAspireDashboardHelpLink)], 314PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 373Title = Loc[nameof(Resources.Layout.MainLayoutLaunchAIAgents)], 374PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 400Title = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogTitle)], 401PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value, 434Title = Loc[nameof(Resources.Layout.MainLayoutNotificationCenterTitle)], 435PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value,
Components\Layout\MobileNavMenu.razor.cs (10)
30public required IStringLocalizer<Resources.Layout> Loc { get; init; } 123Loc[nameof(Resources.Layout.NavMenuResourcesTab)], 131Loc[nameof(Resources.Layout.NavMenuConsoleLogsTab)], 148Loc[nameof(Resources.Layout.NavMenuTracesTab)], 156Loc[nameof(Resources.Layout.NavMenuMetricsTab)], 164Loc[nameof(Resources.Layout.MainLayoutAspireRepoLink)], 173Loc[nameof(Resources.Layout.MainLayoutAspireDashboardHelpLink)], 181Loc[nameof(Resources.Layout.MainLayoutLaunchAIAgents)], 188Loc[nameof(Resources.Layout.MainLayoutLaunchNotifications)], 194Loc[nameof(Resources.Layout.MainLayoutLaunchSettings)],
Components\Layout\NotificationsHeaderButton.razor.cs (1)
19public required IStringLocalizer<Resources.Layout> Loc { get; init; }
Resources\Layout.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Dashboard.Resources.Layout", typeof(Layout).Assembly);
Aspire.Dashboard.Components.Tests (1)
Layout\MobileNavMenuTests.cs (1)
40AssertMenuItemIsActive(cut, Resources.Layout.NavMenuResourcesTab);
Aspire.Dashboard.Tests (2)
Integration\Playwright\AppBarTests.cs (2)
36var settingsButton = page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = Layout.MainLayoutLaunchSettings }); 51var closeButton = page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = Layout.MainLayoutSettingsDialogClose });