mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Lightning Setup page fixes (#5796)
* Lightning Setup: Fix missing headline Fixes #5795. * Lightning Setup: Fix tab switching UI glitch Fixes #5778.
This commit is contained in:
parent
e43b4ed540
commit
a896560a3c
1 changed files with 4 additions and 9 deletions
|
@ -6,13 +6,6 @@
|
||||||
|
|
||||||
@section PageHeadContent {
|
@section PageHeadContent {
|
||||||
<style>
|
<style>
|
||||||
header .icon-warning {
|
|
||||||
flex: 0 0 24px;
|
|
||||||
height: 24px;
|
|
||||||
align-self: center;
|
|
||||||
margin-right: 2rem;
|
|
||||||
color: var(--btcpay-warning);
|
|
||||||
}
|
|
||||||
#save { min-width: 7rem; }
|
#save { min-width: 7rem; }
|
||||||
#LightningNodeTypeTabs ul {
|
#LightningNodeTypeTabs ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
@ -30,12 +23,14 @@
|
||||||
</style>
|
</style>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<h1 class="text-center mb-5">@ViewData["Title"]</h1>
|
||||||
|
|
||||||
<form method="post" class="mt-n2 text-center">
|
<form method="post" class="mt-n2 text-center">
|
||||||
<div id="LightningNodeTypeTablist" class="nav btcpay-pills align-items-center justify-content-center mb-3" role="tablist">
|
<div id="LightningNodeTypeTablist" class="nav btcpay-pills align-items-center justify-content-center mb-3" role="tablist">
|
||||||
<input asp-for="LightningNodeType" value="@LightningNodeType.Internal" type="radio" id="LightningNodeType-@LightningNodeType.Internal" data-bs-toggle="pill" data-bs-target="#InternalSetup" role="tab" aria-controls="InternalSetup" aria-selected="@(Model.LightningNodeType == LightningNodeType.Internal ? "true" : "false")" disabled="@(!Model.CanUseInternalNode)">
|
<input asp-for="LightningNodeType" value="@LightningNodeType.Internal" type="radio" id="LightningNodeType-@LightningNodeType.Internal" data-bs-toggle="pill" data-bs-target="#InternalSetup" role="tab" aria-controls="InternalSetup" aria-selected="@(Model.LightningNodeType == LightningNodeType.Internal ? "true" : "false")" class="@(Model.LightningNodeType == LightningNodeType.Internal ? "active" : "")" disabled="@(!Model.CanUseInternalNode)">
|
||||||
<label asp-for="LightningNodeType" for="@($"LightningNodeType-{LightningNodeType.Internal}")">Use internal node</label>
|
<label asp-for="LightningNodeType" for="@($"LightningNodeType-{LightningNodeType.Internal}")">Use internal node</label>
|
||||||
|
|
||||||
<input asp-for="LightningNodeType" value="@LightningNodeType.Custom" type="radio" id="LightningNodeType-@LightningNodeType.Custom" data-bs-toggle="pill" data-bs-target="#CustomSetup" role="tab" aria-controls="CustomSetup" aria-selected="@(Model.LightningNodeType == LightningNodeType.Custom ? "true" : "false")">
|
<input asp-for="LightningNodeType" value="@LightningNodeType.Custom" type="radio" id="LightningNodeType-@LightningNodeType.Custom" data-bs-toggle="pill" data-bs-target="#CustomSetup" role="tab" aria-controls="CustomSetup" aria-selected="@(Model.LightningNodeType == LightningNodeType.Custom ? "true" : "false")" class="@(Model.LightningNodeType == LightningNodeType.Custom ? "active" : "")">
|
||||||
<label asp-for="LightningNodeType" for="@($"LightningNodeType-{LightningNodeType.Custom}")">Use custom node</label>
|
<label asp-for="LightningNodeType" for="@($"LightningNodeType-{LightningNodeType.Custom}")">Use custom node</label>
|
||||||
|
|
||||||
<vc:ui-extension-point location="ln-payment-method-setup-tabhead" model="@Model"/>
|
<vc:ui-extension-point location="ln-payment-method-setup-tabhead" model="@Model"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue