Integrated ccm-cms-default-theme into devel bundle

pull/20/head
Jens Pelzetter 2022-01-18 20:25:29 +01:00
parent 53afa29aa4
commit 39dbe43d1d
6 changed files with 69 additions and 16 deletions

View File

@ -280,6 +280,14 @@
<include>scripts/</include> <include>scripts/</include>
</includes> </includes>
</overlay> </overlay>
<!-- <overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<type>jar</type>
<includes>
<include>themes/librecms/scripts/</include>
</includes>
</overlay> -->
</overlays> </overlays>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -12,7 +13,7 @@
<groupId>org.libreccm</groupId> <groupId>org.libreccm</groupId>
<artifactId>ccm-bundle-devel</artifactId> <artifactId>ccm-bundle-devel</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>LibreCCM Devel Bundle</name> <name>LibreCCM Devel Bundle</name>
<url>http://www.libreccm.org/bundles/devel</url> <url>http://www.libreccm.org/bundles/devel</url>
@ -22,7 +23,7 @@
<artifactId>ccm-core</artifactId> <artifactId>ccm-core</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.libreccm</groupId> <groupId>org.libreccm</groupId>
<artifactId>ccm-editor</artifactId> <artifactId>ccm-editor</artifactId>
@ -38,12 +39,17 @@
<artifactId>ccm-theme-foundry</artifactId> <artifactId>ccm-theme-foundry</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.librecms</groupId> <groupId>org.librecms</groupId>
<artifactId>ccm-theme-ftllibs-devel</artifactId> <artifactId>ccm-theme-ftllibs-devel</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency> <dependency>
<groupId>net.sf.saxon</groupId> <groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId> <artifactId>Saxon-HE</artifactId>
@ -60,15 +66,15 @@
<artifactId>ccm-cms</artifactId> <artifactId>ccm-cms</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<!-- CCM Modules end --> <!-- CCM Modules end -->
<!-- Dependencies for log4j 2 including adapter for the log4j 1.2 API --> <!-- Dependencies for log4j 2 including adapter for the log4j 1.2 API -->
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId> <artifactId>log4j-api</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<reporting> <reporting>

View File

@ -1 +1 @@
export {}; import "bootstrap";

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Default Template</title>
<link href="${themeUrl}/styles/librecms.css" rel="stylesheet" />
</head>
<body>
<p>This theme works.</p>
<pre>${themeUrl}</pre>
</body>
</html>

View File

@ -2,10 +2,35 @@
"name": "librecms", "name": "librecms",
"type": "freemarker", "type": "freemarker",
"master-theme": null, "master-theme": null,
"title": "LibreCMS Default Theme", "title": {
"description": "The LibreCMS default theme", "values": {
"template": [], "value": [
"default-template": null, {
"lang": "en",
"value": "LibreCMS Default Theme"
},
{
"lang": "de",
"value": "LibreCMS Standard Theme"
}
]
}
},
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "The LibreCMS default theme"
},
{
"lang": "de",
"value": "Das LibreCMS Standard Theme"
}
]
}
},
"mvc-templates": { "mvc-templates": {
"default": { "default": {
"description": { "description": {
@ -32,8 +57,11 @@
} }
} }
}, },
"views": { "views": {
"default": "default", "default": {
"@default": "default" "default": "default",
"@default": "default"
}
} }
} }

View File

@ -1 +1 @@
import bootstrap from "bootstrap"; import "bootstrap";