mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
@implements IDialogContentComponent
|
|
@inject ILogger<ImportDats> Logger
|
|
|
|
<FluentDialog Width="800px" Height="400px" Title="Import DATs" Modal="true" TrapFocus="true">
|
|
<FluentDialogBody>
|
|
<div>
|
|
<p hidden="@IsBusy">DAT files will be imported from @path.</p>
|
|
<FluentLabel Color="@StatusColor">@StatusMessage</FluentLabel>
|
|
<FluentProgress Max="@ProgressMax" Min="@ProgressMin" Value="@ProgressValue" Visible="@ProgressVisible"/>
|
|
</div>
|
|
@if(Progress2Visible)
|
|
{
|
|
<div>
|
|
<p>@StatusMessage2</p>
|
|
<FluentProgress Max="@Progress2Max" Min="@Progress2Min" Value="@Progress2Value"/>
|
|
</div>
|
|
}
|
|
</FluentDialogBody>
|
|
<FluentDialogFooter>
|
|
<FluentStack Orientation="Orientation.Horizontal">
|
|
<FluentButton OnClick="@Start" Disabled="@IsBusy">Start</FluentButton>
|
|
<FluentButton OnClick="@CloseAsync" Disabled="@CannotClose">Close</FluentButton>
|
|
</FluentStack>
|
|
</FluentDialogFooter>
|
|
</FluentDialog> |