mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
51 lines
2.1 KiB
Plaintext
51 lines
2.1 KiB
Plaintext
@model BTCPayServer.Models.ServerViewModels.MaintenanceViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ServerNavPages.Maintenance);
|
|
}
|
|
|
|
<partial name="_StatusMessage" />
|
|
|
|
<form method="post">
|
|
<div class="row mb-5">
|
|
<div class="col-lg-9 col-xl-8">
|
|
<div class="form-group">
|
|
<h5>Change domain name</h5>
|
|
<span>You can change the domain name of your server by following <a href="https://docs.btcpayserver.org/ChangeDomain" target="_blank">this guide</a></span>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="form-inline">
|
|
<input asp-for="DNSDomain" class="form-control flex-fill" disabled="@(Model.CanUseSSH ? null : "disabled")" />
|
|
<button name="command" type="submit" class="btn btn-primary mt-2 mt-sm-0 ml-sm-2" value="changedomain" title="Change domain" disabled="@(Model.CanUseSSH ? null : "disabled")">
|
|
<span class="fa fa-check"></span> Confirm
|
|
</button>
|
|
</div>
|
|
<span asp-validation-for="DNSDomain" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-5">
|
|
<div class="col-lg-9 col-xl-8">
|
|
<h5>Update</h5>
|
|
<p class="text-secondary mb-2">Update to the latest version of BTCPay server.</p>
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<button name="command" type="submit" class="btn btn-primary" value="update" disabled="@(Model.CanUseSSH ? null : "disabled")">Update</button>
|
|
</div>
|
|
</div>
|
|
|
|
<h5 class="mt-5">Clean</h5>
|
|
<p class="text-secondary mb-2">Delete unused docker images present on your system.</p>
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<button name="command" type="submit" class="btn btn-secondary" value="clean" disabled="@(Model.CanUseSSH ? null : "disabled")">Clean</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@section Scripts {
|
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
|
}
|