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)
65public required IStringLocalizer<Resources.Layout> Loc { get; init; } 185unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointTelemetryBody)]); 189unsecuredEndpointsMessage.AppendLine(Loc[nameof(Resources.Layout.MessageUnsecuredEndpointApiBody)]); 203Title = Loc[nameof(Resources.Layout.MessageUnsecuredEndpointTitle)], 205LinkText = Loc[nameof(Resources.Layout.MessageUnsecuredEndpointLink)], 328Title = Loc[nameof(Resources.Layout.MainLayoutAspireDashboardHelpLink)], 329PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 386Title = Loc[nameof(Resources.Layout.MainLayoutLaunchAIAgents)], 387PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)], 411Title = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogTitle)], 412PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value, 436Title = Loc[nameof(Resources.Layout.MainLayoutNotificationCenterTitle)], 437PrimaryAction = Loc[nameof(Resources.Layout.MainLayoutSettingsDialogClose)].Value,
Components\Layout\MobileNavMenu.razor.cs (10)
51public required IStringLocalizer<Resources.Layout> Loc { get; init; } 144Loc[nameof(Resources.Layout.NavMenuResourcesTab)], 152Loc[nameof(Resources.Layout.NavMenuConsoleLogsTab)], 169Loc[nameof(Resources.Layout.NavMenuTracesTab)], 177Loc[nameof(Resources.Layout.NavMenuMetricsTab)], 185Loc[nameof(Resources.Layout.MainLayoutAspireRepoLink)], 194Loc[nameof(Resources.Layout.MainLayoutAspireDashboardHelpLink)], 202Loc[nameof(Resources.Layout.MainLayoutLaunchAIAgents)], 209Loc[nameof(Resources.Layout.MainLayoutLaunchNotifications)], 215Loc[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)
37var settingsButton = page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = Layout.MainLayoutLaunchSettings }); 52var closeButton = page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = Layout.MainLayoutSettingsDialogClose });