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>
</includes>
</overlay>
<!-- <overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<type>jar</type>
<includes>
<include>themes/librecms/scripts/</include>
</includes>
</overlay> -->
</overlays>
</configuration>
</plugin>

View File

@ -1,5 +1,6 @@
<?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>
@ -43,6 +44,11 @@
<artifactId>ccm-theme-ftllibs-devel</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>

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",
"type": "freemarker",
"master-theme": null,
"title": "LibreCMS Default Theme",
"description": "The LibreCMS default theme",
"template": [],
"default-template": null,
"title": {
"values": {
"value": [
{
"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": {
"default": {
"description": {
@ -32,8 +57,11 @@
}
}
},
"views": {
"default": {
"default": "default",
"@default": "default"
}
}
}

View File

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