🎨ui: 优化Identity样式

This commit is contained in:
yubaolee
2026-06-27 00:51:53 +08:00
parent 5e6ca18770
commit 97a96e8b4b
11 changed files with 778 additions and 196 deletions

View File

@@ -1,27 +1,28 @@
@model OpenAuth.IdentityServer.Quickstart.Account.LoggedOutViewModel
@{
// set this so the layout rendering sees an anonymous user
@{
ViewData["signed-out"] = true;
}
<div class="page-header logged-out">
<h1>
Logout
<small>You are now logged out</small>
</h1>
<div class="auth-card">
<div class="auth-card-header">
<div class="status-icon status-icon--success">&#10004;</div>
<h1>已安全退出</h1>
<p>您已成功退出登录</p>
</div>
@if (Model.PostLogoutRedirectUri != null)
{
<div>
Click <a class="PostLogoutRedirectUri" href="@Model.PostLogoutRedirectUri">here</a> to return to the
<span>@Model.ClientName</span> application.
<div style="text-align: center;">
<a class="status-link" href="@Model.PostLogoutRedirectUri">
返回 @Model.ClientName &#8594;
</a>
</div>
}
@if (Model.SignOutIframeUrl != null)
{
<iframe width="0" height="0" class="signout" src="@Model.SignOutIframeUrl"></iframe>
<iframe class="signout-iframe" src="@Model.SignOutIframeUrl"></iframe>
}
</div>