[ENHANCE] - Added Theme to Name Space [Owner].Theme.[Theme]
changes all template files to conform to [Owner].Theme.[Theme]
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
using System.Resources;
|
||||
using System.Resources;
|
||||
using Microsoft.Extensions.Localization;
|
||||
|
||||
[assembly: RootNamespace("[Owner].[Theme].Client")]
|
||||
[assembly: RootNamespace("[Owner].Theme.[Theme].Client")]
|
||||
|
@ -1,4 +1,4 @@
|
||||
@namespace [Owner].[Theme]
|
||||
@namespace [Owner].Theme.[Theme]
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container">
|
||||
|
@ -1,20 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
using Oqtane.Themes;
|
||||
using Oqtane.Shared;
|
||||
|
||||
namespace [Owner].[Theme]
|
||||
namespace [Owner].Theme.[Theme]
|
||||
{
|
||||
public class ThemeInfo : ITheme
|
||||
{
|
||||
public Theme Theme => new Theme
|
||||
public Oqtane.Models.Theme Theme => new Oqtane.Models.Theme
|
||||
{
|
||||
Name = "[Theme]",
|
||||
Version = "1.0.0",
|
||||
PackageName = "[Owner].[Theme]",
|
||||
PackageName = "[Owner].Theme.[Theme]",
|
||||
Resources = new List<Resource>()
|
||||
{
|
||||
// obtained from https://cdnjs.com/libraries
|
||||
// obtained from https://cdnjs.com/libraries
|
||||
new Resource { ResourceType = ResourceType.Stylesheet, Url = "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css", Integrity = "sha512-t4GWSVZO1eC8BM339Xd7Uphw5s17a86tIZIj8qRxhnKub6WoyhnrxeCIMeAqBPgdZGlCcG2PrZjMc+Wr78+5Xg==", CrossOrigin = "anonymous" },
|
||||
new Resource { ResourceType = ResourceType.Stylesheet, Url = "~/Theme.css" },
|
||||
new Resource { ResourceType = ResourceType.Script, Url = "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js", Integrity = "sha512-VK2zcvntEufaimc+efOYi622VN5ZacdnufnmX7zIhCPmjhKnOi9ZDMtg1/ug5l183f19gG1/cBstPO4D8N/Img==", CrossOrigin = "anonymous" }
|
||||
|
@ -1,4 +1,4 @@
|
||||
@namespace [Owner].[Theme]
|
||||
@namespace [Owner].Theme.[Theme]
|
||||
@inherits ThemeBase
|
||||
|
||||
<main role="main">
|
||||
|
@ -7,9 +7,9 @@
|
||||
<Authors>[Owner]</Authors>
|
||||
<Company>[Owner]</Company>
|
||||
<Description>[Description]</Description>
|
||||
<Product>[Owner].[Theme]</Product>
|
||||
<Product>[Owner].Theme.[Theme]</Product>
|
||||
<Copyright>[Owner]</Copyright>
|
||||
<AssemblyName>[Owner].[Theme].Client.Oqtane</AssemblyName>
|
||||
<AssemblyName>[Owner].Theme.[Theme].Client.Oqtane</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
Reference in New Issue
Block a user