testing remote stuff

This commit is contained in:
kkb 2023-11-17 17:12:41 +01:00
parent 1e05d4576d
commit 3c9ccaafeb
374 changed files with 10526 additions and 2037 deletions

View file

@ -0,0 +1,38 @@
@inherits ComponentBase
<TableContainer T="ViewModel"
@ref="Container"
@bind-Search="Search"
Title="@Title"
Breadcrumbs="@Breadcrumbs"
Data="LoadDataAsync">
<Header>
<MudTh>
<MudTableSortLabel SortLabel="Customer" T="HostEntity">
Customer
</MudTableSortLabel>
</MudTh>
<MudTh>
<MudTableSortLabel SortLabel="Host" T="HostEntity">
Host
</MudTableSortLabel>
</MudTh>
</Header>
<RowTemplate>
<MudTd DataLabel="Customer">
<MudLink Href="@Navigation.Management.Customers.DetailsHref(context?.CustomerId)" Typo="Typo.inherit" Underline="Underline.None">
@context?.CustomerName
</MudLink>
</MudTd>
<MudTd DataLabel="Host">
<MudLink Href="@Navigation.Management.Hosts.DetailsHref(context?.HostId)" Typo="Typo.inherit" Underline="Underline.None">
@context?.HostName
</MudLink>
</MudTd>
</RowTemplate>
<ActionTemplate>
<MudMenuItem OnClick="@(()=>OnAssignAsync(context.HostId))">
Assign
</MudMenuItem>
</ActionTemplate>
</TableContainer>