2022-08-28 19:05:50 -05:00
|
|
|
@page "/uploads/new"
|
|
|
|
@inherits BasicComponent
|
|
|
|
|
|
|
|
<PageTitle>Create upload</PageTitle>
|
|
|
|
<RadzenContent Container="main">
|
2022-09-18 00:11:19 -05:00
|
|
|
<h3>Select uploader</h3>
|
2022-09-17 22:31:26 -05:00
|
|
|
<CardList Data="@UploaderCards" @bind-SelectedItems="@SelectedUploaderIds"/>
|
2022-08-28 19:05:50 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 text-right">
|
2022-09-17 22:31:26 -05:00
|
|
|
<RadzenButton Click="@(args => DialogService.Close())" ButtonStyle="ButtonStyle.Secondary" Text="Cancel" Style="width: 120px" Class="mr-1"/>
|
|
|
|
<RadzenButton Click="@(async args => await OnSavePressed())" Disabled="@(SelectedUploader == null || !SelectedUploader.IsConfigured)" Text="Upload" Style="width: 120px"/>
|
2022-08-28 19:05:50 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</RadzenContent>
|