mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-06 15:44:26 +01:00
* Improve and unify page headers * Altcoin test fixes * Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Fix missing store name in pairing view * Fix CanUsePairing test * Bump header navigation font size * Use partial tag instead of Html.PartialAsync in views As suggested by @nicolasdorier. These are equivalent, see details [here](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?view=aspnetcore-3.1#partial-tag-helper). * Fix docs link As in #2432. * Update BTCPayServer/Views/Wallets/SignWithSeed.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Update BTCPayServer/Views/Wallets/WalletSendVault.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Update BTCPayServer/Views/Wallets/WalletTransactions.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
@model BTCPayServer.Models.ServerViewModels.SSHServiceViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ServerNavPages.Services, "SSH settings");
|
|
}
|
|
|
|
<h2 class="mb-4">@ViewData["PageTitle"]</h2>
|
|
|
|
<div class="row">
|
|
<div class="col-md-8">
|
|
<div class="form-group">
|
|
<p>
|
|
<span>SSH services are used by the maintenance operations<br /></span>
|
|
</p>
|
|
</div>
|
|
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
}
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<label asp-for="CommandLine"></label>
|
|
<input asp-for="CommandLine" readonly class="form-control" />
|
|
</div>
|
|
@if (!string.IsNullOrEmpty(Model.Password))
|
|
{
|
|
<div class="form-group">
|
|
<label asp-for="Password"></label>
|
|
<input asp-for="Password" readonly class="form-control" />
|
|
</div>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Model.KeyFilePassword))
|
|
{
|
|
<div class="form-group">
|
|
<label asp-for="KeyFilePassword"></label>
|
|
<input asp-for="KeyFilePassword" readonly class="form-control" />
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@if (Model.SSHKeyFileContent != null)
|
|
{
|
|
<h4>Authorized keys</h4>
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
<div class="form-group">
|
|
<p>
|
|
<span>You can enter here SSH public keys authorized to connect to your server.<br /></span>
|
|
</p>
|
|
</div>
|
|
|
|
<form method="post">
|
|
<div class="form-group">
|
|
<textarea asp-for="SSHKeyFileContent" rows="20" cols="80" class="form-control"></textarea>
|
|
<span asp-validation-for="SSHKeyFileContent" class="text-danger"></span>
|
|
</div>
|
|
<button id="submit" type="submit" class="btn btn-primary" value="Save">Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
}
|