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-18 19:38:34 -05:00
|
|
|
<RadzenButton Text="Cancel" Click="@(args => DialogService.Close())" ButtonStyle="ButtonStyle.Secondary" Disabled="IsUploading" Style="width: 120px" Class="mr-1"/>
|
|
|
|
<RadzenButton Text="Upload" Icon="eject" BusyText="Uploading..." IsBusy=@IsUploading Click="@(async args => await OnSavePressed())" Disabled="@(SelectedUploader == null || !SelectedUploader.IsConfigured)" Style="width: 180px"/>
|
2022-08-28 19:05:50 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</RadzenContent>
|