Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Container ID #544

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Aspire.Dashboard/Components/Pages/Containers.razor
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
slot="end" />
</FluentToolbar>
<div class="datagrid-overflow-area" tabindex="-1">
<FluentDataGrid Items="@FilteredResources" ResizableColumns="true" GridTemplateColumns="2fr 1fr 2fr 3fr 1fr 2fr 1fr 1fr">
<FluentDataGrid Items="@FilteredResources" ResizableColumns="true" GridTemplateColumns="2fr 2fr 2fr 2fr 2fr 1fr 2fr 1fr 1fr">
<ChildContent>
<TemplateColumn Title="Name" Sortable="true" SortBy="@nameSort" Tooltip="true" TooltipText="(c) => c.Name">
<FluentHighlighter HighlightedText="@filter" Text="@context.Name" />
</TemplateColumn>
<TemplateColumn Title="Container ID">
<GridValue HighlightText="@filter" Value="@context.ContainerId" />
</TemplateColumn>
<PropertyColumn Property="@(e => e.State)" Sortable="true" Tooltip="true" />
<PropertyColumn Property="@(c => c.CreationTimeStamp)" Title="Start Time" Sortable="true" Tooltip="true" />
<TemplateColumn Title="Container Image" Sortable="true" SortBy="@imageSort" Tooltip="true" TooltipText="(c) => c.Image">
Expand Down