Fix oap theme layout issue
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using OrchardCore.ResourceManagement;
|
using OrchardCore.ResourceManagement;
|
||||||
|
|
||||||
namespace BenRameyTheme;
|
namespace BenRamey.Theme;
|
||||||
|
|
||||||
public class ResourceManagementOptionsConfiguration : IConfigureOptions<ResourceManagementOptions>
|
public class ResourceManagementOptionsConfiguration : IConfigureOptions<ResourceManagementOptions>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using BenRameyTheme;
|
|
||||||
using OrchardCore.Modules;
|
using OrchardCore.Modules;
|
||||||
using OrchardCore.ResourceManagement;
|
using OrchardCore.ResourceManagement;
|
||||||
|
|
||||||
namespace Twain.Web;
|
namespace BenRamey.Theme;
|
||||||
|
|
||||||
public class Startup : StartupBase
|
public class Startup : StartupBase
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using OrchardCore.Modules.Manifest;
|
using OrchardCore.Modules.Manifest;
|
||||||
|
|
||||||
[assembly: Module(
|
[assembly: Module(
|
||||||
Id = "OAP.Content",
|
|
||||||
Name = "Overseas Auto Protection",
|
Name = "Overseas Auto Protection",
|
||||||
Author = "Overseas Auto Protection",
|
Author = "Overseas Auto Protection",
|
||||||
Website = "https://oaprotection.org/",
|
Website = "https://oaprotection.org/",
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using OrchardCore.DisplayManagement.Manifest;
|
using OrchardCore.DisplayManagement.Manifest;
|
||||||
|
|
||||||
[assembly: Theme(
|
[assembly: Theme(
|
||||||
Id = "OAP.Theme",
|
|
||||||
Name = "OAP Theme",
|
Name = "OAP Theme",
|
||||||
Author = "Overseas Auto Protection",
|
Author = "Overseas Auto Protection",
|
||||||
Website = "https://oaprotection.org/",
|
Website = "https://oaprotection.org/",
|
||||||
|
|||||||
@@ -24,10 +24,6 @@
|
|||||||
<PackageReference Include="OrchardCore.ResourceManagement" Version="1.8.2" />
|
<PackageReference Include="OrchardCore.ResourceManagement" Version="1.8.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="wwwroot\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Oap\Oap.csproj" />
|
<ProjectReference Include="..\Oap\Oap.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ public class ResourceManagementOptionsConfiguration : IConfigureOptions<Resource
|
|||||||
|
|
||||||
m_manifest
|
m_manifest
|
||||||
.DefineStyle("OapTheme-styles")
|
.DefineStyle("OapTheme-styles")
|
||||||
.SetUrl("~/OapTheme/site.css")
|
.SetUrl("~/Oap.Theme/site.css")
|
||||||
.SetVersion("1.0.0");
|
.SetVersion("1.0.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<resources type="Meta" />
|
<resources type="Meta" />
|
||||||
|
|
||||||
<link type="image/x-icon" rel="shortcut icon" href="~/OapTheme/assets/favicon.ico">
|
<link type="image/x-icon" rel="shortcut icon" href="~/Oap.Theme/assets/favicon.ico">
|
||||||
|
|
||||||
<style asp-name="oaptheme-styles"></style>
|
<style asp-name="oaptheme-styles"></style>
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|||||||
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
mode: 'development',
|
||||||
entry: {
|
entry: {
|
||||||
site: './Scripts/site.js',
|
site: './Scripts/site.js',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using OrchardCore.Modules.Manifest;
|
using OrchardCore.Modules.Manifest;
|
||||||
|
|
||||||
[assembly: Module(
|
[assembly: Module(
|
||||||
Id = "OAP.APIv1",
|
|
||||||
Name = "Overseas Auto Protection API v1",
|
Name = "Overseas Auto Protection API v1",
|
||||||
Author = "Overseas Auto Protection",
|
Author = "Overseas Auto Protection",
|
||||||
Website = "https://oaprotection.org/api/v1/",
|
Website = "https://oaprotection.org/api/v1/",
|
||||||
|
|||||||
Reference in New Issue
Block a user