Move things around
This commit is contained in:
26
Hcs.WebApp/Components/Shared/BusyOverlay.razor
Normal file
26
Hcs.WebApp/Components/Shared/BusyOverlay.razor
Normal file
@ -0,0 +1,26 @@
|
||||
@inject DialogService DialogService
|
||||
|
||||
@code {
|
||||
public void Show()
|
||||
{
|
||||
DialogService.Open(
|
||||
"",
|
||||
x =>
|
||||
@<RadzenStack AlignItems="AlignItems.Center" Gap="2rem" class="rz-p-6">
|
||||
<RadzenProgressBarCircular Value="100" ShowValue="false" Mode="ProgressBarMode.Indeterminate" />
|
||||
<RadzenText TextStyle="TextStyle.H5">Пожалуйста, подождите...</RadzenText>
|
||||
</RadzenStack>,
|
||||
new DialogOptions()
|
||||
{
|
||||
ShowTitle = false,
|
||||
Style = "min-height:auto;min-width:auto;width:auto",
|
||||
CloseDialogOnEsc = false,
|
||||
CssClass = ""
|
||||
});
|
||||
}
|
||||
|
||||
public void Hide()
|
||||
{
|
||||
DialogService.Close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user