From 2ce7371941af30761b1cafa8c088011a535657bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 29 Sep 2020 12:05:17 +0300 Subject: [PATCH] Copy the index.cshtml to the web.host --- .../MyProjectNameBrandingProvider.cs | 11 ++ .../Pages/Index.cshtml | 157 +++++++++++++++++- .../Pages/Index.cshtml | 2 +- 3 files changed, 160 insertions(+), 10 deletions(-) create mode 100644 templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/MyProjectNameBrandingProvider.cs diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/MyProjectNameBrandingProvider.cs b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/MyProjectNameBrandingProvider.cs new file mode 100644 index 0000000000..aba2d3920e --- /dev/null +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/MyProjectNameBrandingProvider.cs @@ -0,0 +1,11 @@ +using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components; +using Volo.Abp.DependencyInjection; + +namespace MyCompanyName.MyProjectName +{ + [Dependency(ReplaceServices = true)] + public class MyProjectNameBrandingProvider : DefaultBrandingProvider + { + public override string AppName => "MyProjectName"; + } +} diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml index 65417cf55e..408c0f8849 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml @@ -15,15 +15,154 @@ } - - @L["Welcome"] - -

@L["LongWelcomeMessage"]

+
+
+ +

Welcome to the Application

+ +

@L["LongWelcomeMessage"]

+ + abp.io @if (!CurrentUser.IsAuthenticated) { - @L["Login"] + @L["Login"] } -
-

abp.io

- - + +
+
+

Let's improve your application!

+

Here are some links to help you get started:

+
+
+
+
+
+
+
Learn the ABP Framework
+

Explore the compherensive documentation to learn how to build a modern web application.

+ See Documents +
+
+
+
+
Samples
+

See the example projects built with the ABP Framework.

+ All samples +
+
+
+
+
ABP Community
+

Get involved with a vibrant community and become a contributor.

+ Community + Contribute +
+
+
+
+
+
+
ABP Blog
+

Take a look at our recently published articles.

+ See Blog +
+
+
+
+
Github
+

Do you love the ABP Framework? Please give a star to support it!

+

+ Star + Issue + Fork +

+ Request a feature + +
+
+
+
+
Stackoverflow
+

See answers to previously asked questions or ask a new one.

+ Questions + Ask a Question +
+
+
+
+
+ +
+

Meet the ABP Commercial

+

A Complete Web Application Platform Built on the ABP Framework

+
+ +
+
+

+ ABP Commercial is a platform based on the open source ABP framework. It provides pre-built application modules, + rapid application development tooling, professional UI themes, premium support and more. +

+ +
+
+
+
+ Startup Templates + Details +
+
+
+
+
+
+ Application Modules + Details +
+
+
+
+
+
+ Developer
Tools + Details +
+
+
+
+
+
+ UI
Themes + Details +
+
+
+
+
+
+ Premium Support + Details +
+
+
+
+
+
+ Additional Services + Details +
+
+
+
+
+
+ +
diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml index bab10a24b0..477b6627af 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml @@ -79,6 +79,7 @@ Fork

Request a feature +
@@ -165,4 +166,3 @@

-