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