From acb3a15ea8426d07f089af975b3901b9344eb193 Mon Sep 17 00:00:00 2001 From: Berkan Sasmaz Date: Tue, 12 Oct 2021 14:10:54 +0300 Subject: [PATCH] Modify LoggedOut page --- .../Pages/Account/LoggedOut.cshtml | 35 +++++++++++++++++++ .../Pages/Account/LoggedOut.css | 14 ++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml create mode 100644 src/EventHub.IdentityServer/Pages/Account/LoggedOut.css diff --git a/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml b/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml new file mode 100644 index 0000000..07296b3 --- /dev/null +++ b/src/EventHub.IdentityServer/Pages/Account/LoggedOut.cshtml @@ -0,0 +1,35 @@ +page "/Account/LoggedOut" +@model Volo.Abp.Account.Web.Pages.Account.LoggedOutModel +@using Volo.Abp.Account.Localization +@using Microsoft.AspNetCore.Mvc.Localization +@using Volo.Abp.Account.Web.Pages.Account +@using Volo.Abp.AspNetCore.Mvc.UI.Theming +@inject IThemeManager ThemeManager +@inject IHtmlLocalizer L +@{ + Layout = ThemeManager.CurrentTheme.GetApplicationLayout(); +} +@section scripts { + + + +} + +@section styles { + +} + + + + @L["LoggedOutTitle"] + @L["LoggedOutText"] + @if (Model.PostLogoutRedirectUri != null) + { + @L["ReturnToText"] + } + @if (Model.SignOutIframeUrl != null) + { + + } + + \ No newline at end of file diff --git a/src/EventHub.IdentityServer/Pages/Account/LoggedOut.css b/src/EventHub.IdentityServer/Pages/Account/LoggedOut.css new file mode 100644 index 0000000..5c90f3a --- /dev/null +++ b/src/EventHub.IdentityServer/Pages/Account/LoggedOut.css @@ -0,0 +1,14 @@ +.logoutiframe { + display: none; + width: 0; + height: 0; +} + +.loggedOutCard { + max-width: 64rem; + position: absolute; + top: 50%; + left: 50%; + margin-right: -50%; + transform: translate(-50%, -50%) +} \ No newline at end of file