mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-30 04:04:21 +01:00
* Update wallet navigation * Find matching text color for label bg color * Cleanup * Extract WalletNav component * Move PSBT link to Send and Rescan link to Settings * Update transactions view * Test fixes * Adapt invoices list actions * Show invoice actions only if there are any invoices * Link wallet name and balance to tranactions list * Move wallet related actions from list to settings * Fix main menu z-index Needs a value between fixed and the offcanvas backdrop, see https://getbootstrap.com/docs/5.1/layout/z-index/ * Update receive and send views
16 lines
643 B
Plaintext
16 lines
643 B
Plaintext
@{
|
|
var walletId = Context.GetRouteValue("walletId")?.ToString();
|
|
var storeId = Context.GetRouteValue("storeId")?.ToString();
|
|
var cryptoCode = Context.GetRouteValue("cryptoCode")?.ToString();
|
|
var wallet = walletId != null ? WalletId.Parse(walletId) : new WalletId(storeId, cryptoCode);
|
|
}
|
|
|
|
<div class="sticky-header-setup"></div>
|
|
<header class="sticky-header">
|
|
<vc:wallet-nav wallet-id="wallet"/>
|
|
</header>
|
|
<script>
|
|
const { offsetHeight } = document.querySelector('.sticky-header-setup + .sticky-header');
|
|
document.documentElement.style.scrollPaddingTop = `calc(${offsetHeight}px + var(--btcpay-space-m))`;
|
|
</script>
|