mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
36 lines
933 B
Plaintext
36 lines
933 B
Plaintext
@using System.Net
|
|
@model int?
|
|
@{
|
|
ViewData["Title"] = "Generic Error occurred";
|
|
if (Model.HasValue)
|
|
{
|
|
var httpCode = (HttpStatusCode)Model.Value;
|
|
ViewData["Title"] = $"{(int)httpCode} - {httpCode.ToString()}";
|
|
}
|
|
}
|
|
|
|
<div class="row justify-content-center mb-2">
|
|
<div class="col text-center">
|
|
<a asp-controller="UIHome" asp-action="Index">
|
|
<img src="~/img/btcpay-logo.svg" alt="BTCPay Server" class="mb-4" height="70" asp-append-version="true"/>
|
|
</a>
|
|
|
|
<h1 class="h2 mb-3">@ViewData["Title"]</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="lead text-center">
|
|
Generic error occurred, HTTP Code: @Model
|
|
<br /><br />
|
|
Consult server log for more details.
|
|
<br /><br />
|
|
<a href="/">Navigate back to home</a>.
|
|
<br /><br />
|
|
</p>
|
|
|
|
<div class="row justify-content-center mt-5">
|
|
<div class="col">
|
|
<partial name="_BTCPaySupporters"/>
|
|
</div>
|
|
</div>
|