mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-07-14 03:23:48 +08:00
32 lines
919 B
Plaintext
32 lines
919 B
Plaintext
@model OpenAuth.IdentityServer.Quickstart.Home.ErrorViewModel
|
|
|
|
<div class="auth-card">
|
|
<div class="auth-card-header">
|
|
<div class="status-icon status-icon--error">❌</div>
|
|
<h1>出错了</h1>
|
|
<p>处理您的请求时发生了错误</p>
|
|
</div>
|
|
|
|
<div class="alert alert-error">
|
|
<span>⚠</span>
|
|
<div>
|
|
@if (!string.IsNullOrEmpty(Model?.ErrorId))
|
|
{
|
|
<div><strong>错误编号:</strong>@Model.ErrorId</div>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Model?.ErrorMessage))
|
|
{
|
|
<div>@Model.ErrorMessage</div>
|
|
}
|
|
else
|
|
{
|
|
<div>抱歉,服务器遇到了意外问题。</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
|
<a class="status-link" href="/">返回首页 →</a>
|
|
</div>
|
|
</div>
|