From 39ae0b36026d66e51d30550099d7caaf611673c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 16 Apr 2018 17:18:23 +0300 Subject: [PATCH] Created Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic package. --- ...olo.Abp.AspNetCore.Mvc.UI.Bootstrap.csproj | 1 - .../AbpAspNetCoreMvcUIBasicThemeModule.cs | 23 +++++++++++++++++++ .../Pages/_ViewImports.cshtml | 0 .../Pages/_ViewStart.cshtml | 0 .../Shared/Components/AbpMenu/Default.cshtml | 0 .../Views/Shared/_AppLayout.cshtml | 0 .../Views/Shared/_ViewImports.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 ...o.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj | 6 ++++- 10 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Pages/_ViewImports.cshtml (100%) rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Pages/_ViewStart.cshtml (100%) rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Views/Shared/Components/AbpMenu/Default.cshtml (100%) rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Views/Shared/_AppLayout.cshtml (100%) rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Views/Shared/_ViewImports.cshtml (100%) rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Views/_ViewImports.cshtml (100%) rename src/{Volo.Abp.AspNetCore.Mvc.UI.Bootstrap => Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic}/Views/_ViewStart.cshtml (100%) diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.csproj b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.csproj index bf33a9649c..d02d88b047 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.csproj +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.csproj @@ -13,7 +13,6 @@ - diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs new file mode 100644 index 0000000000..1e5587c8ed --- /dev/null +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/AbpAspNetCoreMvcUIBasicThemeModule.cs @@ -0,0 +1,23 @@ +using Microsoft.Extensions.DependencyInjection; +using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap; +using Volo.Abp.Modularity; +using Volo.Abp.VirtualFileSystem; + +namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic +{ + [DependsOn( + typeof(AbpAspNetCoreMvcUiBootstrapModule) + )] + public class AbpAspNetCoreMvcUiBasicThemeModule : AbpModule + { + public override void ConfigureServices(IServiceCollection services) + { + services.Configure(options => + { + options.FileSets.AddEmbedded("Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic"); + }); + + services.AddAssemblyOf(); + } + } +} diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Pages/_ViewImports.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Pages/_ViewImports.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Pages/_ViewImports.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Pages/_ViewImports.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Pages/_ViewStart.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Pages/_ViewStart.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Pages/_ViewStart.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Pages/_ViewStart.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/Shared/Components/AbpMenu/Default.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/Shared/Components/AbpMenu/Default.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/_AppLayout.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/Shared/_AppLayout.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/_AppLayout.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/Shared/_AppLayout.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/_ViewImports.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/Shared/_ViewImports.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/_ViewImports.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/Shared/_ViewImports.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/_ViewImports.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/_ViewImports.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/_ViewImports.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/_ViewImports.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/_ViewStart.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/_ViewStart.cshtml similarity index 100% rename from src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/_ViewStart.cshtml rename to src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Views/_ViewStart.cshtml diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj index 04c04f8422..8767e4a9cf 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj @@ -10,9 +10,13 @@ false false false - + + + + +