mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 07:04:26 +01:00
* Use Blazor for the Vault code * Put elements in different file * Controller abstraction * Break into VaultElement
24 lines
626 B
Plaintext
24 lines
626 B
Plaintext
@using Microsoft.AspNetCore.Mvc.Localization
|
|
@inherits VaultElement
|
|
|
|
<div id="walletAlert" class="alert alert-warning alert-dismissible my-4" role="alert">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="@ui.StringLocalizer["Close"]">
|
|
<Icon Symbol="close"></Icon>
|
|
</button>
|
|
<span id="alertMessage">
|
|
@((MarkupString)Html)
|
|
</span>
|
|
</div>
|
|
|
|
@code {
|
|
private readonly VaultBridgeUI ui;
|
|
|
|
public Warning(VaultBridgeUI ui, LocalizedHtmlString str)
|
|
{
|
|
this.ui = ui;
|
|
Html = str.Value;
|
|
}
|
|
|
|
public string Html { get; set; }
|
|
}
|