testing remote stuff
This commit is contained in:
parent
1e05d4576d
commit
3c9ccaafeb
374 changed files with 10526 additions and 2037 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue