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