AI-Studio/app/MindWork AI Studio/Dialogs/BatchProcessingResumeDialog.razor

34 lines
1.6 KiB
Plaintext
Raw Normal View History

2026-08-09 16:05:18 +00:00
@inherits MSGComponentBase
<MudDialog>
<DialogContent>
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
@T("There is already a log of a previous batch run in the output folder.")
</MudJustifiedText>
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
@(string.Format(T("{0} document(s) were processed successfully. {1} document(s) are missing or failed."), this.NumCompletedFiles, this.NumRemainingFiles))
</MudJustifiedText>
@if (this.NumMissingResults > 0)
{
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
@(string.Format(T("Please note: the log lists {0} more document(s) as successfully processed, but their results no longer exist. They count as missing and are processed again when you continue the run."), this.NumMissingResults))
</MudJustifiedText>
}
<MudJustifiedText Typo="Typo.body1">
@T("Would you like to continue the previous run and process only the missing and failed documents? Or would you like to start a completely new run, which processes all documents again?")
</MudJustifiedText>
</DialogContent>
<DialogActions>
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
@T("Cancel")
</MudButton>
<MudButton OnClick="@this.Restart" Variant="Variant.Filled" Color="Color.Error">
@T("Start a new run")
</MudButton>
<MudButton OnClick="@this.Continue" Variant="Variant.Filled" Color="Color.Primary">
@T("Continue the previous run")
</MudButton>
</DialogActions>
</MudDialog>