mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-07-14 03:23:48 +08:00
🎨ui: 优化Identity样式
This commit is contained in:
@@ -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">✔</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 →
|
||||
</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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user