mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-20 21:54:23 +01:00
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
@inject BTCPayNetworkProvider BTCPayNetworkProvider
|
|
@model (string CryptoCode, bool NBXSeedAvailable)
|
|
|
|
|
|
<div class="dropdown">
|
|
<button class="btn btn-primary dropdown-toggle" type="button" id="SendMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
Sign with...
|
|
</button>
|
|
<div class="dropdown-menu" aria-labelledby="SendMenu">
|
|
@if (BTCPayNetworkProvider.GetNetwork<BTCPayNetwork>(Model.CryptoCode).VaultSupported)
|
|
{
|
|
<button name="command" type="submit" class="dropdown-item" value="vault">... a hardware wallet</button>
|
|
}
|
|
<button name="command" type="submit" class="dropdown-item" value="seed">... an HD private key or mnemonic seed</button>
|
|
<button name="command" type="submit" class="dropdown-item" value="analyze-psbt">... a wallet supporting PSBT</button>
|
|
@if (Model.NBXSeedAvailable)
|
|
{
|
|
<button id="spendWithNBxplorer" name="command" type="submit" class="dropdown-item" value="nbx-seed">... the hot wallet</button>
|
|
}
|
|
</div>
|
|
</div>
|