mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-11 01:35:22 +01:00
Fix not showing ssh service if no LND
This commit is contained in:
parent
214b2d1c1c
commit
ed1827ff28
2 changed files with 39 additions and 42 deletions
|
@ -2,7 +2,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||||
<Version>1.0.2.90</Version>
|
<Version>1.0.2.91</Version>
|
||||||
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
|
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -13,49 +13,46 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@if(Model.LNDServices.Count != 0)
|
|
||||||
{
|
|
||||||
<div class="col-md-8">
|
|
||||||
<div class="form-group">
|
|
||||||
<h5>LND nodes</h5>
|
|
||||||
<span>You can get access to internal LND services here. For gRPC, only BTC is supported.</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="col-md-8">
|
||||||
<table class="table table-sm table-responsive-md">
|
<div class="form-group">
|
||||||
<thead>
|
<span>You can get access here to LND-gRPC or SSH services exposed by your server</span>
|
||||||
<tr>
|
|
||||||
<th>Crypto</th>
|
|
||||||
<th>Access Type</th>
|
|
||||||
<th style="text-align:right">Actions</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach(var lnd in Model.LNDServices)
|
|
||||||
{
|
|
||||||
<tr>
|
|
||||||
<td>@lnd.Crypto</td>
|
|
||||||
<td>@lnd.Type</td>
|
|
||||||
<td style="text-align:right">
|
|
||||||
<a asp-action="LNDGRPCServices" asp-route-cryptoCode="@lnd.Crypto" asp-route-index="@lnd.Index">See information</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
@if(Model.HasSSH)
|
|
||||||
{
|
|
||||||
<tr>
|
|
||||||
<td>None</td>
|
|
||||||
<td>SSH</td>
|
|
||||||
<td style="text-align:right">
|
|
||||||
<a asp-action="SSHService">See information</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
}
|
|
||||||
|
<div class="form-group">
|
||||||
|
<table class="table table-sm table-responsive-md">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Crypto</th>
|
||||||
|
<th>Access Type</th>
|
||||||
|
<th style="text-align:right">Actions</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
@foreach(var lnd in Model.LNDServices)
|
||||||
|
{
|
||||||
|
<tr>
|
||||||
|
<td>@lnd.Crypto</td>
|
||||||
|
<td>@lnd.Type</td>
|
||||||
|
<td style="text-align:right">
|
||||||
|
<a asp-action="LNDGRPCServices" asp-route-cryptoCode="@lnd.Crypto" asp-route-index="@lnd.Index">See information</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
}
|
||||||
|
@if(Model.HasSSH)
|
||||||
|
{
|
||||||
|
<tr>
|
||||||
|
<td>None</td>
|
||||||
|
<td>SSH</td>
|
||||||
|
<td style="text-align:right">
|
||||||
|
<a asp-action="SSHService">See information</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
|
|
Loading…
Add table
Reference in a new issue