optimization update, web scheduler test-integration
This commit is contained in:
parent
3c9ccaafeb
commit
1591618c2c
103 changed files with 4826 additions and 1502 deletions
|
|
@ -0,0 +1,51 @@
|
|||
@inherits ComponentBase
|
||||
|
||||
<TableContainer T="JobEntity"
|
||||
@ref="Container"
|
||||
@bind-Search="Search"
|
||||
Title="@Title"
|
||||
Breadcrumbs="@Breadcrumbs"
|
||||
Data="LoadDataAsync">
|
||||
<Header>
|
||||
<MudTh>
|
||||
<MudTableSortLabel SortLabel="Name" T="TaskEntity">
|
||||
Name
|
||||
</MudTableSortLabel>
|
||||
</MudTh>
|
||||
<MudTh>
|
||||
<MudTableSortLabel SortLabel="Description" T="TaskEntity">
|
||||
Description
|
||||
</MudTableSortLabel>
|
||||
</MudTh>
|
||||
</Header>
|
||||
<RowTemplate>
|
||||
<MudTd DataLabel="Name">
|
||||
<MudLink Href="@Navigation.Management.Scheduler.Jobs.DetailsHref(context.Id)" Typo="Typo.inherit" Underline="Underline.None">
|
||||
@context?.Name
|
||||
</MudLink>
|
||||
</MudTd>
|
||||
<MudTd DataLabel="Description">
|
||||
@context?.Description
|
||||
</MudTd>
|
||||
</RowTemplate>
|
||||
<ActionTemplate>
|
||||
<MudMenuItem OnClick="@(()=>OnUnassign(context))">
|
||||
Unassign
|
||||
</MudMenuItem>
|
||||
</ActionTemplate>
|
||||
</TableContainer>
|
||||
|
||||
<ActionDialog @bind-Visible="Unassign">
|
||||
<Content>
|
||||
<MudTextField T="string" @bind-Value="Model.Name" Label="Name" Variant="Variant.Text" Margin="Margin.Dense" ReadOnly />
|
||||
<MudTextField T="string" @bind-Value="Model.Description" Label="Description" Variant="Variant.Text" Margin="Margin.Dense" ReadOnly />
|
||||
</Content>
|
||||
<Actions>
|
||||
<MudButton OnClick="()=>Unassign = false">
|
||||
Cancel
|
||||
</MudButton>
|
||||
<MudButton OnClick="OnUnassignSubmitAsync" Color="Color.Secondary">
|
||||
Unassign
|
||||
</MudButton>
|
||||
</Actions>
|
||||
</ActionDialog>
|
||||
Loading…
Add table
Add a link
Reference in a new issue