diff --git a/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/CustomerLogin.cshtml b/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/CustomerLogin.cshtml deleted file mode 100644 index 5496c2b1..00000000 --- a/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/CustomerLogin.cshtml +++ /dev/null @@ -1,113 +0,0 @@ -@page -@using Microsoft.AspNetCore.Mvc.Localization -@using Volo.Abp.Account.Localization -@model Volo.Abp.Account.Web.Pages.Account.LoginModel -@inject IHtmlLocalizer L -@{ - ViewData["Title"] = "登录"; - Layout = null; -} - - 统一身份认证中心 - - - - - - - - - - -
- - -
-
-
-
-
-

统一身份认证中心

-

支持2种认证方式,邮箱密码验证或企业微信验证.

-
-
-
-
- -
- - - -
-
- -
-
-
-
-
-
- 第三方登录 -
- -
-
-
-
-
-
- - - -
- - - - - -
- -
-
-
-
- - - -
- - - -
- -
- -
- -
-
-
-
-
-
- -
- - -
diff --git a/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/LoggedOut.cshtml b/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/LoggedOut.cshtml new file mode 100644 index 00000000..f94bf086 --- /dev/null +++ b/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/LoggedOut.cshtml @@ -0,0 +1,33 @@ +@page "/Account/LoggedOut" +@model Volo.Abp.Account.Web.Pages.Account.LoggedOutModel +@using Volo.Abp.Account.Localization +@using Microsoft.AspNetCore.Mvc.Localization +@inject IHtmlLocalizer L +@{ + ViewData["Title"] = "登出"; + Layout = null; +} + + + 登出 + + + +
+ @if (Model.PostLogoutRedirectUri != null) + { + @L["ReturnToText"] + } + @if (Model.SignOutIframeUrl != null) + { + + } +
+ \ No newline at end of file diff --git a/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/Login.cshtml b/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/Login.cshtml index 21493d2a..46dae08e 100644 --- a/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/Login.cshtml +++ b/aspnet-core/services/host/CompanyName.ProjectName.IdentityServer/Pages/Account/Login.cshtml @@ -1,70 +1,101 @@ @page @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Localization -@using Volo.Abp.Account.Settings -@using Volo.Abp.Settings @model Volo.Abp.Account.Web.Pages.Account.LoginModel @inject IHtmlLocalizer L -@inject Volo.Abp.Settings.ISettingProvider SettingProvider -
-
-

@L["Login"]

- @* @if (await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled)) *@ - @* { *@ - @* *@ - @* @L["AreYouANewUser"] *@ - @* @L["Register"] *@ - @* *@ - @* } *@ - @if (Model.EnableLocalLogin) - { -
-
- - - -
-
- - - -
- - - - - @* *@ - @* @L["ForgotPassword"] *@ - @* *@ - - @L["Login"] - @if (Model.ShowCancelButton) - { - @L["Cancel"] - } -
- } - @if (Model.VisibleExternalProviders.Any()) - { -
-
@L["OrLoginWith"]
-
- @foreach (var provider in Model.VisibleExternalProviders) - { - - } -
+@{ + ViewData["Title"] = L["Login"]; + Layout = null; +} + + @L["Login"] + + + + + + + + + + +
+ + +
+
+
+
+
+

@L["Login"]

+
+
- } +
+ +
+ + + +
+
- @if (!Model.EnableLocalLogin && !Model.VisibleExternalProviders.Any()) - { -
- @L["InvalidLoginRequest"] - @L["ThereAreNoLoginSchemesConfiguredForThisClient"] +
+
+
+
+
+
+
+
+
+
+
+ + + +
+ + + + +
+ +
+
+
+
+ + + +
+ + + +
+ +
+ +
+ +
+
+
+
- } +
+ +