990ea5e2af
- aggiunta e testata chiusura ODL - aggiunta gestione reload forzoso se sparisce chiamata
36 lines
1.7 KiB
Plaintext
36 lines
1.7 KiB
Plaintext
@if (CurrAction != null && CurrAction.IsActive)
|
|
{
|
|
<div class="d-flex justify-content-around mt-3" 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" @onclick="() => doCancel()"></button>
|
|
}
|
|
</div>
|
|
<div class="toast-body py-4 bg-light rounded-bottom fs-5">
|
|
@CurrAction.Message
|
|
<div class="text-center py-3">
|
|
<strong>@CurrAction.Parameter</strong>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-6 d-grid">
|
|
@if (CurrAction.ShowConfirm)
|
|
{
|
|
<button class="btn btn-sm btn-success" @onclick="() => doConfirm()"><i class="fas fa-check"></i> CONFERMA</button>
|
|
}
|
|
</div>
|
|
<div class="col-6 d-grid">
|
|
@if (CurrAction.ShowCancel)
|
|
{
|
|
<button class="btn btn-sm btn-danger" @onclick="() => doCancel()"><i class="fas fa-ban"></i> ANNULLA</button>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|