38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
@if (CurrAction != null && CurrAction.IsActive)
|
|
{
|
|
<div class="d-flex justify-content-around" style="z-index: 9999;">
|
|
<div class="toast pulse-warning bg-primary border border-primary rounded" role="alert" aria-live="assertive" aria-atomic="true" style="display: block; position: absolute;">
|
|
<div class="toast-header pulse-warning bg-primary text-light">
|
|
<strong class="me-auto">@CurrAction.Topic</strong>
|
|
<small class="">@($"{CurrAction.DtReq:yyyy.MM.dd HH:mm:ss}")</small>
|
|
@if (CurrAction.ShowClose)
|
|
{
|
|
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
}
|
|
</div>
|
|
<div class="toast-body pt-5 bg-light rounded-bottom">
|
|
@CurrAction.Message
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<div class="row">
|
|
<div class="col-6 d-grid">
|
|
@if (CurrAction.ShowConfirm)
|
|
{
|
|
<button class="btn btn-sm btn-success" @onclick="() => doConfirm()">CONFERMA</button>
|
|
}
|
|
</div>
|
|
<div class="col-6 d-grid">
|
|
@if (CurrAction.ShowCancel)
|
|
{
|
|
<button class="btn btn-sm btn-danger"@onclick="() => doCancel()">ANNULLA</button>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
|