diff --git a/ccm-bundle-devel-swarm/pom.xml b/ccm-bundle-devel-swarm/pom.xml new file mode 100644 index 000000000..7454bbeb2 --- /dev/null +++ b/ccm-bundle-devel-swarm/pom.xml @@ -0,0 +1,86 @@ + + + + 4.0.0 + + + UTF-8 + ${maven.build.timestamp} + yyyy-MM-dd'T'HH:mm:ss'Z'Z + 1.0.0.Alpha5 + + + + org.libreccm + libreccm-parent + 7.0.0-SNAPSHOT + + + org.libreccm + ccm-bundle-devel-swarm + + LibreCCM Devel Bundle Wildfly Swarm + + + + Lesser GPL 2.1 + http://www.gnu.org/licenses/old-licenses/lgpl-2.1 + + + + + + org.libreccm + ccm-core + 7.0.0-SNAPSHOT + + + + com.h2database + h2 + + + + org.wildfly.swarm + wildfly-swarm-undertow + ${wildfly.swarm.version} + + + + org.wildfly.swarm + wildfly-swarm-jpa + ${wildfly.swarm.version} + + + + org.wildfly.swarm + wildfly-swarm-datasources + ${wildfly.swarm.version} + + + + + + + + org.wildfly.swarm + wildfly-swarm-plugin + ${wildfly.swarm.version} + + org.libreccm.wildfly.swarm.Bundle + + + + + package + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/java/org/libreccm/wildfly/swarm/Bundle.java b/ccm-bundle-devel-swarm/src/main/java/org/libreccm/wildfly/swarm/Bundle.java new file mode 100644 index 000000000..c94e861f2 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/java/org/libreccm/wildfly/swarm/Bundle.java @@ -0,0 +1,176 @@ +/* + * Copyright (C) 2015 LibreCCM Foundation. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + */ +package org.libreccm.wildfly.swarm; + +import org.jboss.shrinkwrap.api.ShrinkWrap; +import org.jboss.shrinkwrap.api.asset.ClassLoaderAsset; +import org.wildfly.swarm.config.datasources.DataSource; +import org.wildfly.swarm.config.datasources.DataSourceConfigurator; +import org.wildfly.swarm.config.datasources.JDBCDriver; +import org.wildfly.swarm.config.datasources.JDBCDriverConfigurator; +import org.wildfly.swarm.container.Container; +import org.wildfly.swarm.datasources.DatasourcesFraction; +import org.wildfly.swarm.jpa.JPAFraction; +import org.wildfly.swarm.undertow.WARArchive; + +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.Properties; + +/** + * + * @author Jens Pelzetter + */ +public class Bundle { + + public static void main(final String[] args) throws Exception { + + final Properties config = getConfiguration(); + + final Container container = new Container(); + + final JDBCDriverConfigurator configurator + = (driver) -> { + driver.driverDatasourceClassName(config.getProperty( + "db.driver.datasource.classname")); + driver.xaDatasourceClass(config.getProperty( + "db.xa.datasource.classname")); + driver.driverModuleName("db.driver.module.name"); + }; + + final DataSourceConfigurator dsConfigurator = (dataSource) -> { + dataSource.driverName("db-driver"); + dataSource.connectionUrl( + config.getProperty("db.connection.url")); + dataSource.userName(config.getProperty("db.user.name")); + dataSource.password(config.getProperty("db.password")); + }; + + container.fraction(new DatasourcesFraction().jdbcDriver("db-driver", + configurator) + .dataSource("java:/comp/env/jdbc/ccm-core/db", dsConfigurator)); + + container.fraction(new JPAFraction().inhibitDefaultDatasource() + .defaultDatasource("java:/comp/env/jdbc/ccm-core/db")); + + //Remove when CCM installer is available + setup(config); + + container.start(); + + final WARArchive deployment = ShrinkWrap.create(WARArchive.class); + deployment.addAsWebInfResource( + new ClassLoaderAsset( + "META-INF/persistence.xml", + Bundle.class.getClassLoader()), + "classes/META-INF/persistence.xml"); + deployment.addAllDependencies(); + deployment.addAsResource("/themes"); + container.deploy(deployment); + } + + private static Properties getConfiguration() throws IOException { + final String defaultConfig = String.format( + "%s/configuration.properties", System.getProperty("user.dir")); + final String config = System.getProperty("ccm.config", defaultConfig); + + final FileInputStream stream = new FileInputStream(config); + final Properties properties = new Properties(); + properties.load(stream); + + return properties; + } + + private static Properties getSetupParameters() throws IOException { + final String defaultParameters = String.format( + "%s/setup.properties", System.getProperty("user.dir")); + final String parameters = System.getProperty("ccm.setup.parameters", + defaultParameters); + + final FileInputStream stream = new FileInputStream(parameters); + final Properties properties = new Properties(); + properties.load(stream); + + return properties; + + } + + private static void setup(final Properties config) throws + ClassNotFoundException, SQLException, IOException { + + final Properties setupParameters = getSetupParameters(); + + Class.forName("org.h2.Driver"); + try (final Connection connection = DriverManager.getConnection(config + .getProperty("db.connection.url")); + final Statement statement = connection.createStatement()) { + + final ResultSet result = statement.executeQuery( + "SELECT COUNT(*) FROM USERS WHERE NAME NOT LIKE 'public-user'"); + result.next(); + final int numberOfUsers = result.getInt(1); + result.close(); + + if (numberOfUsers <= 0) { + final String adminName = setupParameters.getProperty( + "admin.name"); + final String adminEmail = setupParameters.getProperty( + "admin.email"); + final String adminGivenName = setupParameters.getProperty( + "admin.givenname"); + final String adminFamilyName = setupParameters.getProperty( + "admin.familyname"); + final String adminPassword = setupParameters.getProperty( + "admin.password"); + + statement.executeUpdate(String.format( + "INSERT INTO PARTIES(PARTY_ID, NAME) " + + "VALUES(-10, '%s')", + adminName)); + statement.executeUpdate(String.format( + "INSERT INTO USERS(PARTY_ID, GIVEN_NAME, FAMILY_NAME, EMAIL_ADDRESS, PASSWORD) " + + "VALUES (-10, '%s', '%s', '%s', '%s'),", + adminGivenName, + adminFamilyName, + adminEmail, + adminPassword + )); + statement.executeUpdate("INSERT INTO CCM_ROLES(roleId, name) " + + "VALUES(-10, 'admin'"); + statement.executeUpdate("INSERT INTO ROLE_MEMBERSHIPS(" + + "MEMBERSHIP_ID, MEMBER_ID, ROLE_ID) " + + "VALUES(-10, -10, 10)"); + + statement.close(); + } + + //} catch(SQLException ex) { + } finally { + + } + + } + +} diff --git a/ccm-bundle-devel-swarm/src/main/resources/META-INF/persistence.xml b/ccm-bundle-devel-swarm/src/main/resources/META-INF/persistence.xml new file mode 100644 index 000000000..e9f749299 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/META-INF/persistence.xml @@ -0,0 +1,42 @@ + + + + + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + java:/comp/env/jdbc/ccm-core/db + + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/bebop-contextbar.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/bebop-contextbar.xml new file mode 100644 index 000000000..a75579651 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/bebop-contextbar.xml @@ -0,0 +1,4 @@ + + + -> + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/bebop.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/bebop.xml new file mode 100644 index 000000000..45eba49c9 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/bebop.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/cms.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/cms.xml new file mode 100644 index 000000000..33ff708eb --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/cms.xml @@ -0,0 +1,10 @@ + + + + horizontal + false + + yes + yes + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/css-files.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/css-files.xml new file mode 100644 index 000000000..ac7d54777 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/css-files.xml @@ -0,0 +1,26 @@ + + + + admin.css + + + admin.css + + + public.css + + + portal.css + public.css + + + admin.css + + + portal.css + public.css + + + public.css + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/global.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/global.xml new file mode 100644 index 000000000..a60ecc9e5 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/global.xml @@ -0,0 +1,20 @@ + + + + + + + + + master + + + + warn + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/templates.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/templates.xml new file mode 100644 index 000000000..02c15bc55 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/conf/templates.xml @@ -0,0 +1,63 @@ + + + + + admin-layout.xml + admin-layout.xml + portal-workspace.xml + portal-workspace-grid.xml + admin-layout.xml + portal-workspace.xml + default-layout.xml + + + + + + content-items/article-detail.xml + + + content-items/bookmark-detail.xml + + + content-items/event-detail.xml + + + content-items/mpa-detail.xml + + + content-items/news-detail.xml + + content-items/detail-default.xml + + + content-items/link-default.xml + + + + content-items/article-list.xml + + + content-items/mpa-list.xml + + content-items/list-default.xml + + + + + + portlets/contentitem.xml + + + portlets/item-list.xml + + + portlets/freeform-html.xml + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.eot new file mode 100644 index 000000000..d1fed796f Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.svg new file mode 100644 index 000000000..e40a17a8a --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.svg @@ -0,0 +1,691 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.ttf new file mode 100644 index 000000000..37064f6b5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.woff new file mode 100644 index 000000000..ca1aa788d Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Bold-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.eot new file mode 100644 index 000000000..07ce438a1 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.svg new file mode 100644 index 000000000..94a93933a --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.svg @@ -0,0 +1,691 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.ttf new file mode 100644 index 000000000..c435ef4d1 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.woff new file mode 100644 index 000000000..31ecb85fb Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-BoldItalic-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.eot new file mode 100644 index 000000000..2c7adb7e5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.svg new file mode 100644 index 000000000..1fc5cb43b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.svg @@ -0,0 +1,691 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.ttf new file mode 100644 index 000000000..82811ab13 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.woff new file mode 100644 index 000000000..eed2f66bd Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Italic-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.eot new file mode 100644 index 000000000..5f981b4e5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.svg new file mode 100644 index 000000000..77701532f --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.svg @@ -0,0 +1,691 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.ttf new file mode 100644 index 000000000..58dd40df0 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.woff new file mode 100644 index 000000000..bd4120ea4 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationMono-Regular-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.eot new file mode 100644 index 000000000..7435609c4 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.svg new file mode 100644 index 000000000..01166491e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.svg @@ -0,0 +1,1604 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.ttf new file mode 100644 index 000000000..d164c3f0c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.woff new file mode 100644 index 000000000..1cd0fd11c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Bold-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.eot new file mode 100644 index 000000000..246a9b014 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.svg new file mode 100644 index 000000000..15e17ac06 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.svg @@ -0,0 +1,1516 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.ttf new file mode 100644 index 000000000..5a6ef20d2 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.woff new file mode 100644 index 000000000..29e10370e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-BoldItalic-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.eot new file mode 100644 index 000000000..1d9fdef06 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.svg new file mode 100644 index 000000000..5f3bba255 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.svg @@ -0,0 +1,1553 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.ttf new file mode 100644 index 000000000..49d1b4228 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.woff new file mode 100644 index 000000000..11c4315e5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Italic-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.eot new file mode 100644 index 000000000..d6a2ca0b9 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.svg new file mode 100644 index 000000000..2914ea5a0 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.svg @@ -0,0 +1,1605 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.ttf new file mode 100644 index 000000000..e5ecedf68 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.woff new file mode 100644 index 000000000..003b2a97e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSans-Regular-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.eot new file mode 100644 index 000000000..0a6cef663 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.svg new file mode 100644 index 000000000..82615e5bf --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.svg @@ -0,0 +1,1553 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.ttf new file mode 100644 index 000000000..f43adba7c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.woff new file mode 100644 index 000000000..5d91fde4d Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Bold-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.eot new file mode 100644 index 000000000..8eac883bd Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.svg new file mode 100644 index 000000000..b5ed20f16 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.svg @@ -0,0 +1,1533 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.ttf new file mode 100644 index 000000000..8fe831212 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.woff new file mode 100644 index 000000000..671b20ab7 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-BoldItalic-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.eot new file mode 100644 index 000000000..e698f47c1 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.svg new file mode 100644 index 000000000..39c3a41b7 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.svg @@ -0,0 +1,1510 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.ttf new file mode 100644 index 000000000..141864440 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.woff new file mode 100644 index 000000000..1cbb2e09a Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Italic-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.eot new file mode 100644 index 000000000..15d1fa8a5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.svg new file mode 100644 index 000000000..db730541d --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.svg @@ -0,0 +1,1556 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.ttf new file mode 100644 index 000000000..c3e8a8d74 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.woff new file mode 100644 index 000000000..ec8cc444e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/fonts/LiberationSerif-Regular-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/foundry-documentation.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/foundry-documentation.html new file mode 100644 index 000000000..ceae9d855 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/foundry-documentation.html @@ -0,0 +1,4481 @@ + + + + + + + Foundry Documentation + + + + + + + +
+
+ The Foundry Theming Engine for LibreCCM + +
+
+
+

The Foundry Theme Engine for LibreCCM

+
+ +
+
+

Overview

+
+

About Foundry

+
+

+ Foundry is a theme engine for the LibreCCM family of Content Management systems, for + example ScientificCMS and APLAWS+. Some parts of based on the Mandalay theme engine + developed by Sören Bernstein for ScientificCMS. + +

+

+ With Foundry the designer has full control of the HTML created from the content managed + by CCM. The templates for defining the HTML are almost plain HTML (in XML syntax) with + some additional elements which provide the data to display. + +

+
+
+
+

This manual

+
+

+ This manual is separated into two parts. The first part is + for designers and administrators (called users in the context of this manual). It + describes the structure of the templates in Foundry, how CSS files are implemented + and how Frameworks like Bootstrap, + YAML or jQuery + can be integrated into a Foundry theme. The first part also contains a reference + part which describes all elements/tags which can be used in the templates. + If you are viewing this documentation using an URL like + /themes/foundry/doc/ this reference is created on the fly from the + XSL files. + +

+

+ The second part is for developers which want to + extend Foundry. It describes the + structure of Foundry, how support for content types (the most common task) can be + added, how the documentation system works and which XPath functions and XSL helper + templates are available. Developers should also read the first part because the + first part includes informations about the general structure of Foundry. + +

+

+ In the manual the following terms a used quite often: + +

+
+
context prefix
+
+ The context in which CCM is installed in the Servlet container. If CCM is + installed in the root context the context prefix is empty. + +
+
theme prefix
+
+ The URL part of accessing resources inside the theme. For example for theme + called foo the theme prefix is + /themes/published-themedir/foo is published theme is used an if + CCM is installed in the root context. + +
+
dispatcher prefix
+
+ The URL for creating links to other CCM resources like content items. Depends + on the context in which CCM is installed and if development theme or the + published theme is used. + +
+
data tree
+
The XML created by CCM containing all data of the current page.
+
Layout tree
+
The XML of layout template in processing.
+
+
+
+
+
+

User Manual

+
+

General structure

+
+

+ There some options for using Foundry. The easiest way is to use a version/package of + LibreCCM which includes Foundry. In this case Foundry is installed in the + /themes/foundry folder. There should also be a second folder named + /themes/foundry-base which includes a basic child theme. + +

+

+ Foundry supports a an parent/child theme approach. This means that the logic + part of Foundry (the XSL part) is only installed in /themes/foundry and + is updated together with the normal upgrades of CCM. A child only contains + the templates, CSS files, static texts and configurations files for a theme. Custom + extensions are not supported yet. + +

+

+ A complete Foundry theme consists of the following top level folders and files: + +

+
+
conf
+
Contains configuration files for the theme
+
doc
+
Static parts of the documentation of Foundry, for example this text
+
fonts
+
Web fonts for the theme
+
foundry
+
+ This folder contains the logic parts (the XSL) of Foundry. The internal + structure is described in the Developer Manual. + +
+
images
+
Static images for the theme
+
libs
+
+ Additional JavaScript libraries. jQuery and some other JavaScript libraries are + provided by CCM itself, and can be + included using special elements like the + load-jquery element. + +
+
scripts
+
JavaScripts needed in the theme.
+
styles
+
+ The CSS styles for the theme. More information about them can be found in the + CSS files section. + +
+
templates
+
+ The layout templates for the theme. A detailed description can be found in the + Layout templates section. + +
+
texts
+
Static texts for the theme
+
user
+
Custom extensions (XSL) for theme. Not supported yet.
+
+

+ Foundry also supports a parent – child – grandchild structure. This is + maybe useful + when you have themes which only differ in details like logos but use the same + general structure. Most tags which are used to include resources like images, + CSS files etc. support the attribute origin which can have three + values: + +

+
+
Not set
+
The resource is loaded from the current theme
+
master
+
+ If the current theme is a master/parent theme the resource is loaded from the + current theme. If the current theme is a child theme the resource is loaded + from the master theme. + +
+
internal
+
+ The file is loaded from the foundry. If the theme is a child + theme is file is loaded from the Foundry master in /themes/foundry. + +
+
+

+ The recommend way for creating a team using Foundry is to create a new child theme: + +

+
    +
  1. To do so create a new theme using the CCM Theme director.
  2. +
  3. + Copy the contents of the themes/foundry-base folder to the folder + created by the new theme + in themes/devel-themedir/. + +
  4. +
  5. + Customise the theme + +
  6. +
+
+
+
+

Layout templates

+
+

+ The layout templates are used by the web designer to create the HTML of the web + page. With Foundry the designer has almost complete control over the HTML. Despite + the elements which correspond to HTML 5 elements most other elements which can + be used in the templates do not create HTML. A complete list of the elements which + can be used in the layout templates can be found in the + Template Tags Reference. + +

+

+ Which template is used is decided by Foundry using the definitions in the + conf/templates file. The top layer of templates which are parsed first + are the application layouts. Which layout is used for a application is decided by + Foundry using the application and class attributes of + of bebop:page element in the data tree. The values of these attributes + a set in the Java code or in the JSP templates used. + + +

+

Application layout templates

+

How Foundry determines which application layout template to use

+

+ Which template is used for which application is determined using the + applications section in the conf/templates.xml file. + The applications element may contain any number of + application elements. Each application element can have three + attributes: + +

+
+
name (mandatatory) +
+
+ The name of the application which is the value of the application + attribute from the data tree. To associate applications which do not set the + application attribute in the data tree the value none + can be used. + +
+
class (optional) +
+
+ The class of the application page shown. This is the value of the + class attribute from the data tree. + +
+
origin (optional) +
+
+ The origin of the template. In the default theme this is used to associate + the backend applications which like the content center with the + internal admin-layout.xml template provided by Foundry. It can also + be used to associate an application with an layout template from the parent + theme. + +
+
+

+ The applications element in the conf/templates.xml file + should also contain a single single default element which defines which + layout template should be used when no other matches. + +

+

+ Foundry tries to find the layout template to use as follows: + +

+
    +
  • + If there an application element where both name and + class match the values from the data tree this template is used. + +
  • +
  • + Otherwise Foundry checks if there is an application element + without a class attribute where value of the name + attribute matches the value from the data tree. + +
  • +
  • + If this also fails and there is a default element the template + from the default element is used. + +
  • +
  • + If there is no default element the internal default layout template + is used. + +
  • +
+

The structure of a application layout template

+

+ An layout template is a normal XML file. The root element is the + page-layout element. + The first child should be a head element. The head + element is equivalent of the HTML head element. Inside the head + element the title of (the string shown as title of the browser window) can + be determined using the title element. Also + the head is the place to load the CSS and JavaScript files and where + to put meta informations. + +

+

+ After the head there should be a body + element. Inside the body element the HTML structure is defined. + At some point you may want to insert the content of a content item or of a Portlet. + This is done using elements like content-item element + or + portal-grid-workspace-column-portlets. + The layout of the individual content item or Portlet is defined in separate + templates. + +

+

Content Item layout templates

+

+ The content layout templates which are found in the + templates/content-items folder are used to create the HTML for + content items in the list, link and detail views. Which template is used for which + content item is determined using the content-items section in the + conf/templates.xml file. + +

+

Selecting the Content Item layout template to use

+

+ The content-items element in the conf/templates.xml file + has three sub elements: detail, link and + list. The content-item elements in these elements are + determining which template is used for which content type. There are several + attributes for selecting the template. For a description of the available attributes + please refer to the documentation of the + content-item tag. + +

+

Structure of a Content Item layout template

+

+ Like the application layout templates a content item layout template is a XML file. + The root element is the content-item-layout element. Inside this + element all HTML producing elements can be used. For some content types there are + special elements for outputting special properties. For example the for news item + there is an elements news-date which outputs + the date of a news. This element also provides an interface for designer to + customise the format in which the date is shown. There is is also an general tag + show-property which can be used to + create a basic template for an unsupported content type. + +

+

Portlet templates

+

+ For Portlets the system is similar to the system for content items. Which template + is used for a specific Portlet is determined using the child elements of the + portlets element in the conf/templates.xml file. The + portlet elements which contain the path of the template to use can have + two child elements: + +

+
+
class
+
+ The class name of the Portlet. + +
+
workspace
+
+ The name of the workspace in which the Portlet is shown. + +
+
+

+ Foundry first tries to find a match for both class and + workspace. If there is no matching portlet element in + conf/templates.xml Foundry tries to find a match for the class name + only. If this also fails it used the templates defined in + portlets/default in the conf/templates.xml file. + +

+

+ The root element of a Portlet layout template is the portlet-layout + element. Inside this element all HTML elements can be used. For each Portlet type + there will be least on specific element which outputs the content of the Portlet. + +

+
+
+
+

CSS files

+
+

+ The system for loading CSS files is similar to the system for finding layout + templates. Which CSS files are loaded for a page is determined by the + conf/css-files.xml. The root element of this file is an + css-files element. This element has multiple application + child elements. Each application has an mandatory attribute + name which contains the name of the application for which the CSS files + named in the element are loaded. To further distinguish between pages provided by the + same application the optional attribute class can be used. + There should be also an default + element which determines the CSS files to load when no matching + application element is found. + +

+

+ Some pages have no application name in the data tree XML. In this cases to name of + the application is set to none. + +

+

+ Each application element and the default element + in css-files.xml can contain multiple css-file element. + Each of the css-file elements defines a single XML to load. + +

+

+ The css-file element has two optional attributes: + +

+
+
media
+
+ The media type, for example screen or print for + which the CSS file is used. The value of this attribute will appear in the + media attribute of the link element which is generated in the HTML + to load the CSS file. + +
+
origin
+
+ The origin of the CSS file. If not set the file is loaded from the current + theme. If set to master the file is loaded from the master theme + if the current theme is a child theme. If set to internal the + file is loaded from the internal directory for CSS files, either from the + current theme (if the current theme is a master theme) or from the Foundry + master theme installed at /themes/foundry. + +
+
+
+
+
+

Templates Tags Reference

+
+

Root template tags

+

+ These tags are the root elements of a layout template. + +

+
+

fragment-layout

+
+

+ Root element for generating a HTML fragment instead of a complete HTML document. + +

+
+
+
+

include

+
+

+ This element allows it to include template fragments into a template. The element + has two attributes. The file attribute is mandatory and contains + the path the fragment to include, relative to the template directory. + The internal attribute is optional. If set to true the + fragment is loaded from the internal template directory. + +

+

+ For example <include file="fragments/footer.xml"< will include + the file templates/fragments/footer.xml. If the internal + attribute is set to true the file + foundry/templates/fragments/footer.xml would be included. + +

+

+ An fragment template file included using this element using this element must + contain a fragment-layout element as root. + +

+
+
+

Attributes

+
+
file
+
+

+ Path of the file to include, relative to the templates directory. + +

+
+
internal
+
+

+ If set to true the template fragment file is loaded from the + internal template directory. + +

+
+
+
+
+
+

insert-block

+
+

+ The element is used in a master layout to insert a block + from an extending template. + +

+
+
+
+

page-layout[./@extends]

+
+

+ Root element of an extending template. The extends + attribute is required and points to the template which is + extended by the layout. Only the block elements + in the layout are processed. The master layout must contain + matching insert-block elements. + +

+

+ Technically the master template is processed first and the + extending layout is passed as parameter. The master layout + +

+
+
+

See also

+
    +
    +
    +
    +

    page-layout[not(./@extends)]

    +
    +

    + Root element of a template. Generates the + <html> root element. + +

    +
    +
    +
    +
    +

    Tags for displaying Content Items

    +

    + These tags are common tags for displaying Content Items. For most Content Types + there are special tags provided by other files. + +

    +
    +

    Tags for ccm-cms-types-article

    +

    + The tags in these file are used to display the content + elements of ccm-cms-types-article. + +

    +
    +

    /content-item-layout//lead-text

    +
    +

    + Outputs the lead text of a article. + +

    +
    +
    +
    +

    /content-item-layout//main-text

    +
    +

    + Outputs the main text of a article. + +

    +
    +
    +
    + +
    +

    Tags for displaying a Decisiontree item

    +

    + The tags are used to configure the output of the decisiontree item. For technical + reasons it is not yet possible to customise the HTML for the decisiontree + completely. + +

    +

    + For title and description of the decisiontree the standard tags can be used. + +

    +
    +

    /content-item-layout//decisiontree-current-section

    +
    +

    + Root element for outputting the current section of a decisiontree. + +

    +
    +
    + Outputs the options for the current section of a decisiontree. This tag outputs + a complete HTML form because the current implementation of the decisiontree does not + provide enough information in the XML to support a fully customisable HTML. + + Nevertheless this it is possible to customise the classes set on various of the HTML + in the created form using subelements: + class-form + Classes for the form itself. + class-formgroup + Classes to set on the div surrouding each pair of a label and an + input element. + class-label + Classes to set on each label. + class-input + Classes to set on each input element. + class-buttons + Classes to set on the div surrounding the submit and cancel button. + class-cancel + Classes to set on the cancel button. + class-submit + Classes to set on the submit button. + +
    +

    decisiontree-current-section//section-instructions

    +
    +

    + Outputs the instructions for the current section of a decisiontree. + +

    +
    +
    +
    +

    decisiontree-current-section//section-title

    +
    +

    + Outputs the title of the current section of a decisiontree. + +

    +
    +
    +
    +
    +

    + Tags for displaying the properties of ccm-cms-types-image + +

    +

    + The file provides tags for displaying the special properties + of ccm-cms-types-image. + +

    +
    +

    /content-item-layout//image-artist

    +
    +

    + Outputs the value of the artist property. + +

    +
    +
    + +
    +

    /content-item-layout//image-description

    +
    +

    + Outputs the value of the description property. + This is equivalent to the lead text of an article. + +

    +
    +
    +
    +

    /content-item-layout//image-height

    +
    +

    + Outputs the height in pixel of the image. + +

    +
    +
    +
    +

    /content-item-layout//image-license

    +
    +

    + Outputs the value of the license property. + +

    +
    +
    +
    +

    /content-item-layout//image-maintext

    +
    +

    + Outputs the long description (the main text) of the image. + +

    +
    +
    +
    +

    /content-item-layout//image-material

    +
    +

    + Outputs the value of the material property. + +

    +
    +
    +
    +

    /content-item-layout//image-origin

    +
    +

    + Outputs the value of the origin property. + +

    +
    +
    +
    +

    /content-item-layout//image-originalsize

    +
    +

    + Outputs the value of the origSize property. + +

    +
    +
    +
    +

    /content-item-layout//image-publishdate

    +
    +

    + Outputs the value of the publishdate property. + The date can be formatted using the date format tags. + +

    +
    +
    +
    +

    /content-item-layout//image-site

    +
    +

    + Outputs the value of the site property. + +

    +
    +
    +
    +

    /content-item-layout//image-source

    +
    +

    + Outputs the value of the source property. + +

    +
    +
    +
    +

    /content-item-layout//image-technique

    +
    +

    + Outputs the value of the technique property. + +

    +
    +
    +
    +

    /content-item-layout//image-width

    +
    +

    + Outputs the width in pixels of the image. + +

    +
    +
    +
    +

    /content-item-layout//show-image

    +
    +

    + Puts the necessary informations for showing the image on into + the environment. + +

    +
    +
    +
    +

    /content-item-layout//show-thumbnail

    +
    +

    + Puts the necessary informations for showing the thumbnail on into + the environment. + +

    +
    +
    +
    +
    +

    + +
    +

    /content-item-layout//mpa-current-sections

    +
    +

    + Root element for outputting the current sections of a MPA. + +

    +
    +
    +
    +

    /content-item-layout//mpa-current-sections//mpa-current-section

    +
    +

    + Root element for outputting a current section of a MPA. + +

    +
    +
    +
    +

    /content-item-layout//mpa-current-sections//mpa-current-section//mpa-current-section-content

    +
    +

    + Outputs the content of a current section of a MPA. + +

    +
    +
    +
    +

    /content-item-layout//mpa-current-sections//mpa-current-section//mpa-current-section-title

    +
    +

    + Outputs the title of a current section of a MPA. + +

    +
    +
    + + +
    +

    /content-item-layout//mpa-sections

    +
    +

    + Root element for outputting the list of sections of a MPA. + +

    +
    +
    +
    +

    /content-item-layout//mpa-sections//mpa-section

    +
    +

    + Root for rendering a link to a section of a MPA in the list of sections. + +

    +
    +
    +
    +

    /content-item-layout//mpa-sections//mpa-section//mpa-section-title

    +
    +

    + Output the name a section of MPA in the list of sections. + +

    +
    +
    +
    +

    /content-item-layout//mpa-summary

    +
    +

    + Outputs the summary of the multi part article. + +

    +
    +
    +
    +
    +

    +
    +

    /content-item-layout//news-date

    +
    +

    + Outputs the the date of a news. The news-date must contain at least + one format element. The format element encloses the + format definition for the specific language or the default format. The language + for which a format is used is provided using the lang attribute at the + format element. The default format has a default attribute + with the value true. An example: + +

    +                <news-date>
    +                    <format default="true">
    +                        <iso-date/>
    +                    </format>
    +                    <format lang="de">
    +                        <day zero="true"/>.<month zero="true"/>.<year/>
    +                    </format>
    +                </news-date>
    +            

    + In this example a visitor with a browser using German as default locale + will see the news date in the date format that common in Germany + (dd.mm.yyyy). For all other languages, the default format is used. + In this case the iso-format is used. + +

    +
    +
    +
    +
    +

    +
    +

    /content-item-layout//siteproxy-content

    +
    +

    + Processes the proxied XML of a SiteProxy using xsl:apply-templates. + Your theme must provide XSL to transform the proxied XML into HTML. + +

    +
    +
    +
    + + +
    +

    content-item[@mode = 'detail' or not(@mode)]

    +
    +

    + The content-item element with the attribute mode set to + detail or without the attribute inserts the HTML representation of the + detail view of the current content item. The content item can either be the greeting + item or normal item. + +

    +

    + The HTML representation of a content item is defined using special templates + with the contentitem-layout element as root. Usually these templates + are located in the templates/content-items folder. Which template is + used for a particular content item is defined by the conf/templates.xml + file. In this file there is a content-items element below the + templates element. The association between templates and + content items is described by the content-item elements in the + content-items element. The content-item has four + optional attributes (at least on must be present) which are used to limit the + content items for which a template is used. The four attributes are: + +

    +
    +
    oid
    +
    + Limit the use of the template to a specific content item, identified by its + OID (the OID of the master version). Can't be used in combination with the other + attributes. + +
    +
    content-section
    +
    + The name of the content section to which the item belongs. Can be used + in combination with the category and content-type + attributes. + +
    +
    category
    +
    + The template is only used for the content item if the item is viewed as + item of the category. The category is set as a path containing the names + the categories. + +
    +
    content-type
    +
    + The content-type of the item. + +
    +
    +
    +
    +

    See also

    + +
    +
    +
    +

    content-item[@mode = 'link']

    +
    +

    + The content-item with the mode attribute set to + link insert the HTML representation of a content item. In this case + the content item to show is provided using by a XSL parameter which has to be + provided by a surrounding tag like related-link. + +

    +
    +
    +
    +

    content-item[@mode = 'list']

    +
    +

    + The content-item element with the mode attribute set to + list inserts the HTML representation of the the list view of a content + item. The list view is primarily used in object lists. + +

    +

    + As for the detail view, the HTML representation of the list view of a conten item is + defined using special templates with the contentitem-layout element as + root. Usually these templates are located in the + templates/content-items folder. Which is used for a particular content + item is defined in the conf/templates.xml file. In this file there is + a content-items element below the templates element. + +

    +

    + There three attributes which can be used to define in which cases a specific + template is used: + +

    +
    +
    style
    +
    + Used to select a specific style for the list view of the item. To select a style + add a style attribute to the content-item attribute + in the application layout file. + +
    +
    content-type
    +
    The content-type of the item.
    +
    category
    +
    + The template is only used for the content item if the item is viewed as item of + the category. The category is set as a path contains the names the categories. + +
    +
    +
    +
    +

    See also

    + +
    +
    +
    +
    +

    Data tags

    +

    + These tags can be used to display several informations from the XML provided by CCM. + +

    +
    +

    show-page-title

    +
    foundry:title
    +
    +

    See also

    + +
    +
    +
    +

    show-text

    +
    textsmoduletexts/global.xmlidclasswith-colorsetspan
    +
    +

    Attributes

    +
    +
    id
    +
    +

    An unique id for the text.

    +
    +
    class
    +
    +

    One or more classes to format the text per CSS.

    +
    +
    module
    +
    +

    + The module (file) from the text is retrieved. The name of the file should be + provided without file extension. + +

    +
    +
    with-colorset
    +
    +

    + Add the classes for using the Colorset feature to the span element + the text is wrapped in. + +

    +
    +
    +
    +
    +
    +
    +

    HTML tags

    +

    + These tags are generating the equivalent HTML tags. In most cases the tags have + the same name and same attributes as their HTML counterparts, but some work + in a slightly different way, for example by using values provided by other + surrounding tags which are passed to them as XSL parameters. + +

    +
    +

    a

    +
    +

    + Generates a HTML a element. There are some differences to the + a element in HTML. First, there two attribute for the URL: + +

    +
    +
    href-property
    +
    + The name of a property of the current object which contains the URL for the + link. + +
    +
    +
    href-static
    +
    + A static URL. + +
    + +
    +

    + The third variant for providing an URL is to call the template with a href + parameter in the XSL. + +

    +

    + Values for some other attributes can also be passed to the this template as XSL + parameters: + +

    +
    +
    hreflang
    +
    Language of the resource the link is pointing to.
    +
    title
    +
    + Value for the title attribute of the link. Usally this should + a very brief description of the target of the link + +
    +
    type
    +
    The media type of the link target.
    +
    +
    +
    +

    Attributes

    +
    +
    download
    +
    +

    + Value for the HTML5 download attribute. + +

    +
    +
    href-property
    +
    +

    + The name of a property (aka the name of an XML element in the data-tree) + containing the URL of the link. + +

    +
    +
    href
    +
    +

    + A static URL for the link. + +

    +
    +
    rel
    +
    +

    + The relationship of the linking document with the target document. + +

    +
    +
    title-static
    +
    +

    + A key which identifies the translated title in lang/global.xml. + +

    +
    +
    title
    +
    +

    + Static, not translated title of the link. + +

    +
    +
    +
    + +
    +
    +

    abbr

    +
    +

    + Generates a HTML abbr element used to tag abbreviations. + +

    +
    + +
    +
    +

    address

    +
    +

    + Generates a address element in the HTML output. + The address elements represents the contact information of the + responsible author of article or body it appears in. + +

    +
    + +
    +
    +

    article

    +
    +

    + Generates the HTML5 article element. + +

    +
    + +
    +
    +

    aside

    +
    +

    + Generates a HTML5 aside element. + +

    +
    + +
    +
    +

    audio

    +
    +

    + Generates a HTML5 audio element. The source URL of the audio file can + be provided by a surrounding element, statically in the theme or by an property in + the data tree. + +

    +
    +
    +

    Attributes

    +
    +
    src-static
    +
    +

    + A static URL for the source of the audio file + +

    +
    +
    src-property
    +
    +

    + Name of property in the data tree containing the source URL. + +

    +
    +
    +
    + +
    +
    +

    b

    +
    +

    + Generates a HTML b element. Use this element only with semantics + defined in the HTML5 specification. Originally, in the early incarnations of HTML, + this element marked text as bold. In HTML5 the semantics of this element as been + redefined. For more information please refer to the HTML5 specification. + +

    +
    + +
    +
    +

    blockquote

    +
    +

    + Generates a blockquote element. + +

    +
    + +
    +
    +

    body

    +
    +

    + Generates the HTML body element. + +

    +
    + +
    +
    +

    button

    +
    +

    + Generates a button element. + +

    +
    + +
    +
    +

    canvas

    +
    +

    + Generates a canvas element. + +

    +
    + +
    +
    +

    cite

    +
    +

    + Generates a cite element. + +

    +
    + +
    +
    +

    code

    +
    +

    + Generates a code element. + +

    +
    + +
    +
    +

    dd

    +
    +

    + A definition of term in a definition list. + +

    +
    + +
    +
    +

    dfn

    +
    +

    + Generates a dfn element. + +

    +
    + +
    +
    +

    div

    +
    div
    + +
    +
    +

    divIfNotEmpty

    +
    div
    +
    +

    See also

    + +
    +
    +
    +

    dl

    +
    +

    + Generates a definition list. + +

    +
    + +
    +
    +

    dt

    +
    +

    + A term in a definition list. + +

    +
    + +
    + +
    +

    h1

    +
    +

    + Generates a h1 element. + +

    +
    + +
    +
    +

    h2

    +
    +

    + Generates a h2 element. + +

    +
    + +
    +
    +

    h3

    +
    +

    + Generates a h3 element. + +

    +
    + +
    +
    +

    h4

    +
    +

    + Generates a h4 element. + +

    +
    + +
    +
    +

    h5

    +
    +

    + Generates a h5 element. + +

    +
    + +
    +
    +

    h6

    +
    +

    + Generates a h6 element. + +

    +
    + +
    + + +
    +

    hr

    +
    +

    + Generates a hr element. This element has no content. + +

    +
    + +
    +
    +

    i

    +
    +

    + Generates an i element. + +

    +
    + +
    +
    +

    input

    +
    +

    + Generates a input element. A preset value can be provided using a + XSL parameter by a surrounding element. The HTML5 placeholder attribute + has been split into two attributes. The placeholder-module attribute + contains the name of module parameter (the name of the file in the + texts directory) in which the text for the placeholder is stored. If + omitted the global.xml file is used. The placeholder attribute itself + contains the ID of the text to show as placeholder. + +

    +
    +
    +

    Attributes

    +
    +
    placeholder-module
    +
    +

    + The name of the file in the texts directory which contains the + text to use as placeholder. If omitted the global.xml file is used. + +

    +
    +
    placeholder
    +
    +

    + The ID of the text to use as placeholder. + +

    +
    +
    +
    + +
    +
    +

    ins

    +
    +

    + Generates a ins element + +

    +
    + +
    +
    +

    kbd

    +
    +

    + Generates a kbd element + +

    +
    + +
    +
    +

    label

    +
    +

    + Generates a label element. + +

    +
    + +
    +
    +

    legend

    +
    +

    + Generates a legend element inside a form element. + +

    +
    + +
    +
    +

    li

    +
    +

    + Generates a li element inside an ul or ol. + +

    +
    + +
    +
    +

    main

    +
    main
    + +
    +
    +

    meta

    +
    head
    + +
    + +
    +

    noscript

    +
    +

    Generates a noscript element +

    +
    + +
    +
    +

    ol

    +
    +

    + Generates an ol element. + +

    +
    + +
    +
    +

    optgroup

    +
    +

    + Generates an optgroup element. The label for the option group must be + provided by a surrounding element as XSL parameter. + +

    +
    + +
    +
    +

    option

    +
    +

    + Generates a option element for use in select box. Several + values for attributes have to be provided by a surrounding element using XSL + parameters, for example the value of the value attribute. + +

    +
    + +
    +
    +

    p

    +
    +

    + Generates a p element. + +

    +
    + +
    +
    +

    pre

    +
    +

    + Generates a pre element. + +

    +
    + +
    +
    +

    q

    +
    +

    + Generates a q element. + +

    +
    + +
    +
    +

    s

    +
    +

    + Generates a s element. + +

    +
    + +
    +
    +

    samp

    +
    +

    + Generates a samp element. + +

    +
    + +
    +
    +

    script

    +
    +

    + Used to include a script (usally a JavaScript). The script is either provided + a content of the element or as an external file. Embedded scripts should only be used + for small parts of code, like the code for activating jQuery plugins for some elements. + Everything which is longer than five or six lines should be put into a external file + in the scripts directory of the theme. + +

    +
    +
    +

    Attributes

    +
    +
    origin
    +
    +

    + As usual origin attribute determines the how the path provided in + the src attribute is interpreted. The following values are + interpreted. In addition to the common values internal, + master and the default value the script element also + support the value absolute. If origin is set to + absolute the provided source path is processed by Foundry and is used as it is + provided. + +

    +
    +
    src
    +
    +

    + The path of the script to include. If the origin attribute is not + set (or not set to absolute the path is interpreted relative to the + theme directory. For example the path of a script included using + +

    +                <script type="text/javascript" src="scripts/example.js"/>
    +                

    + in the a theme named my-theme at the server + http://www.example.org is altered to the absolute path + http://www.example.org/themes/published-themedir/itb/scripts/example.js. + If the absolute attribute is set to true the path is not + altered. One usecase for an absolute path is to load an script from a content delivery + network. + +

    +
    +
    type
    +
    +

    + The type of the script. Usally this is text/javascript. If the + attribute is not set in the layout template, it is automatically set to + text/javascript. + +

    +
    +
    +
    + +
    +
    +

    section

    +
    section
    + +
    +
    +

    select

    +
    +

    + Generates a select box in a form. The name of the select box and + the status for the disabled attribute can be provided by a surrounding + element via XSL parameters. + +

    +
    + +
    +
    +

    small

    +
    +

    + Generates a small element. + +

    +
    + +
    +
    +

    source

    +
    +

    + Generates a source element for use in audio and + video elements. The source URL (value of the src + attribute) can either provided by a surrounding element as XSL parameter or + via the src-static or src-property attribute. + +

    +
    +
    +

    Attributes

    +
    +
    src-static
    +
    +

    + An URL to an static resource. + +

    +
    +
    src-property
    +
    +

    + Name of an XML node in the data-tree providing the URL of the + resource. + +

    +
    +
    +
    +
    +
    +

    span

    +
    span
    + +
    +
    +

    spanIfNotEmpty

    +
    span
    + +
    +
    +

    strong

    +
    +

    + Generates a strong element. + +

    +
    + +
    +
    +

    sub

    +
    +

    + Generates a sub element. + +

    +
    + +
    +
    +

    sup

    +
    +

    + Generates a sup element. + +

    +
    + +
    +
    +

    table

    +
    +

    + Generates a table element. + +

    +
    + +
    +
    +

    table//caption

    +
    +

    + Generates a caption element representing the caption of a table. + +

    +
    + +
    +
    +

    tbody

    +
    +

    + Generates a tbody element. + +

    +
    + +
    +
    +

    td

    +
    +

    + Generates a td element. + +

    +
    + +
    +
    +

    textarea

    +
    +

    + Generates a textarea. The value may be provided as XSL parameter + by a surrounding tag. + +

    +
    +
    +

    Attributes

    +
    +
    placeholder-module
    +
    +

    + The name of the file in the texts directory which contains the + text to use as placeholder. If omitted the global.xml file is used. + +

    +
    +
    placeholder
    +
    +

    + The ID of the text to use as placeholder. + +

    +
    +
    +
    + +
    +
    +

    tfoot

    +
    +

    + Generates a tfoot element. + +

    +
    + +
    +
    +

    th

    +
    +

    + Generates a th element. + +

    +
    + +
    +
    +

    thead

    +
    +

    + Generates a thead element. + +

    +
    + +
    +
    +

    time

    +
    +

    + Generates a time element. + +

    +
    + +
    +
    +

    title

    +
    +

    + Generates the title in the HTML head. The other elements are allowed in the + <title> tag: + +

    +
      +
    • show-text
    • +
    • show-page-title
    • +
    +
    + +
    +
    +

    tr

    +
    +

    + Generates a tr element. + +

    +
    + +
    +
    +

    track

    +
    +

    + Generates a track element. + +

    +
    + +
    +
    +

    u

    +
    +

    + Generates a u element. + +

    +
    + +
    +
    +

    ul

    +
    +

    + Generates an ul element. + +

    +
    + +
    +
    +

    var

    +
    +

    + Generates an var element. + +

    +
    + +
    +
    +

    video

    +
    +

    + Generates a HTML5 video element. The source URL and the URL of preview + image (poster) can be provided by a surrounding element, statically in + the theme or by an property in the data tree. + +

    +
    +
    +

    Attributes

    +
    +
    src-static
    +
    +

    + A static URL for the source of the video file + +

    +
    +
    src-property
    +
    +

    + Name of property in the data tree containing the source URL. + +

    +
    +
    poster-static
    +
    +

    + A static URL for the source of the preview image + +

    +
    +
    poster-property
    +
    +

    + Name of property in the data tree containing the poster URL. + +

    +
    +
    +
    + +
    +
    +

    wbr

    +
    +

    + Generates a wbr element. + +

    +
    + +
    +
    +
    +

    Loaders

    +

    + This tags are used to load resources required by the generated HTML documents, + for example CSS files and JavaScript files. + +

    +
    +

    load-css-files

    +
    conf/css-files.xml<link>CSS files section
    +
    +
    +

    load-html5shiv

    +
    +

    + Loads the html5shiv JavaScript + library which fixes a bug of old Internet Explorers + (up to version 8) with elements unknown by the Internet Explorer. You need this + library if you want to use HTML 5 elements like article or + nav in your templates. All other browser thread unknown elements + like div or span. The Internet Explorer to version 8 + however adds a closing elements to the DOM tree directly after the unknown opening + element, effectively removing the element from the DOM. The html5shiv + library fixes the DOM tree using JavaScript. + +

    +

    + This tag adds a + conditional comment + to load the html5shiv library only for old Internet Explorers + +

    +
    +
    +
    +

    load-jquery

    +
    +

    + Loads the jQuery JavaScript library provided by CCM. + +

    +
    +
    +
    +

    load-jquery-ui

    +
    +

    + Loads the jQuery UI JavaScript library provided + by CCM. + +

    +
    +
    +
    +

    load-mathjax

    +
    +

    + Loads the MathJAX JavaScript library which can + render mathematical formulas written in MathML or LaTeX syntax. + +

    +
    +
    +
    +
    +

    Tags for ccm-navigation

    +

    + These tags are used to output data provided by the ccm-navigation module. + More exactly the navigation menu(s) and the breadcrumbs on a site are generated + using these tags. + +

    + + + +
    +
    +

    +
    +

    object-list//paginator

    +
    +

    + Root element for creating the paginator for an object list. Provides the paginator + data for the elements enclosed by this element via XSL parameters. The content is + of this element is only processed if the number of pages is greater than one or + if the show attribute is set to always. + +

    +
    +
    +

    Attributes

    +
    +
    show
    +
    +

    + If set to always the paginator is shown even if there is only one + page. + +

    +
    +
    +
    +
    +
    +

    object-list//paginator//current-page

    +
    +

    + Outputs the number of the current page. + +

    +
    +
    + + + +
    +

    object-list//paginator//object-begin

    +
    +

    + Outputs the index of the first object shown on the current page. The value is + provided by the surrounding paginator element via a XSL parameter. + +

    +
    +
    +
    +

    object-list//paginator//object-count

    +
    +

    + Outputs the number of elements in list. + +

    +
    +
    +
    +

    object-list//paginator//object-end

    +
    +

    + Outputs the index of the last object shown on the current page. The value is + provided by the surrounding paginator element via a XSL parameter. + +

    +
    +
    +
    +

    object-list//paginator//page-count

    +
    +

    + Outputs the number of pages. + +

    +
    +
    +
    +

    object-list//paginator//page-size

    +
    +

    + Outputs the size of page (the number of items on each page). + +

    +
    +
    + +
    +
    +
    +
    +

    Developer Manual

    +
    +

    The structure of Foundry

    +
    +

    Top level structure

    +

    + Foundry supports two kinds of themes: Parent themes and child themes. Parent themes + are also called master themes. + Normally there + should be only one parent theme in a CCM installation at /themes/foundry. + All other themes should be child themes. An example for a child theme should also be + installed at /themes/foundry-base. + +

    +

    + A complete Foundry theme (a parent theme) contains of the following directories: + +

    +
    +
    conf
    +
    + Configuration files for the theme. + +
    +
    doc
    +
    + The documentation of Foundry. The document you reading at the moment is + generated using these files. + +
    +
    fonts
    +
    + Webfonts used in the theme. + +
    +
    foundry
    +
    + The directory contains the XSL files which contain the logic part of Foundry. + +
    +
    images
    +
    + Static images for the theme. + +
    +
    libs
    +
    + Additional JavaScript libraries, for example jQuery plugins. + +
    +
    scripts
    +
    + Custom JavaScripts + +
    +
    styles
    +
    + CSS files + +
    +
    templates
    +
    + The layout templates + +
    +
    texts
    +
    + Static texts for the theme + +
    +
    user
    +
    + Custom extensions. Not supported yet. + +
    +
    +

    + A child theme has only the directories which contain files which the designer needs + to change. These are: + +

    +
      +
    • conf
    • +
    • fonts
    • +
    • images
    • +
    • libs
    • +
    • scripts
    • +
    • styles
    • +
    • templates
    • +
    • texts
    • +
    +

    + The foundry directory contains the following files and directories: + +

    +
    +
    fonts
    +
    Webfonts used internally, for example for the Content Center.
    +
    images
    +
    Images used internally.
    +
    lib
    +
    The XSL files from Foundry.
    +
    scripts
    +
    Java Scripts used internally.
    +
    styles
    +
    CSS files for internal templates like the Content Center
    +
    templates
    +
    Internal templates for example for the Content Center.
    +
    texts
    +
    Internal texts
    +
    main.xsl
    +
    + Entry point. The start.xsl in the base directory acts only as + entry point for the XSL processor and delegates all work to the + main.xsl. + +
    +
    lib.xsl
    +
    + A simple import file which imports the XSL files from the lib directory. + +
    +
    +

    + The main.xsl file contains the xsl:output element + which tells the XSL processor that we want to create HTML. There is only two + XSL templates in the main.xsl file along with some helper functions. + This first template is the entry point for CCM and + matches the bebop:page element which is the root element of the + data tree XML created by CCM. The template processes the + conf/templates.xsl file calls the XSL templates for parsing the + layout templates. + +

    +

    + The second templates is the entry point for the documentation system Foundry. + +

    +

    The lib directory

    +

    + The lib is the core part of Foundry and contains the following + sub directories and files: + +

    +
    +
    bebop
    +
    + XSL files for creating the backend UI. The XSL files were taken from Mandalay + and have only been adapted to work inside Foundry. + +
    +
    search
    +
    XSL files for the various search applications.
    +
    template-tags
    +
    + XSL files implementing the tags which can be used in the templates. + +
    +
    template-tags
    +
    + This directory contains the XSL files which implement the tags which can be used + in the layout templates. + +
    +
    bebop.xsl
    +
    + Imports the files from the bebop directory. + +
    +
    global-vars.xsl
    +
    + These file is very important. It defines various global variables like the + theme-prefix or the context-prefix variables. A + complete list can be found in the + reference part. + +
    +
    search.xsl
    +
    Import file for the XSL files in the search directory. +
    +
    template-parser.xsl
    +
    + This file contains the XSL templates for parsing the layout templates. + +
    +
    template-tags.xsl
    +
    + Import file for the XSL files in the template-tags directory. + +
    +
    utils.xsl
    +
    + Helper functions. A complete list is available in the + reference part. + +
    +
    +

    Template tags

    +

    + The template-tags directory contains the XSL file which are + implementing the tags which can be used in the layout templates. For a complete + list please refer to the + Template Tags Reference in the user manual. + +

    +
    +
    +
    +

    Coding style

    +
    +

    + This document describes the coding conventions for the Foundry theming engine. + +

    +

    Naming

    +

    + The naming rules described here apply to all names: Names of layout elements, + XSL template names, XSL functions, files, ids and classes (in the + class attribute). + +

    +

    + Use the dash "-" to separate parts of a name instead of camel case or the + underscore. For example: get-setting instead of getSetting or + set_setting. + +

    +

    + Names should be lowercase. + +

    +

    Namespace declarations

    +

    + In the XSL files, XML namespaces are only defined at the + <xsl:stylesheet> element. The XSL namespace is the first one is + declared first. The other namespace follow in alphabetic order (ordered by their + prefix). + +

    +

    Indention, line length and formating

    +

    + Indention is done using spaces. Indention depth is four (4) spaces per level. + +

    +

    + Try to keep the line length below 100 characters per line. Because of some restrictions + of XML this will be possible in every case. + +

    +

    + Insert a line break after each attribute of an XML element. The first attribute + is on the same line as the element. For example write + +

    +<xsl:param name=example-param"
    +           select="'example'"/>
    +        

    + instead of + +

    +<xsl:param name=example-param" select="'example'"/>
    +        
    +
    +
    +

    Adding support for content types

    +
    +

    + To enable Foundry to output a Content Item of specific content type two things must be + available: One or more layout template associated with the content type and appropriate + template tags to display to informations of the content item from the data tree. + +

    +

    + Foundry provides a general tag show-property + which can be used to output properties of a content type. For simple types this maybe + sufficent. The name of the property can + be found out from the XML output which can be viewed by adding the parameter + output=xml to an URL. + +

    +

    + For more complex types or if the value of the property should be formatted in a special + way it is maybe necessary to implement some new template tags. Tags which part of the + official distribution of Foundry are found in the + foundry/lib/template-tags/content-items directory. Custom extensions can + be put into the user directory (not supported yet). + +

    +

    + For each content type there should be a separate file named after the content type. + A relatively simple example is the NewsItem type. In this case the + date of the news needs some formatting. The news.xsl file provides the tag + news-date which allows the template author to choose the format of the + date. + +

    +

    + A more complex example is the MultiPartArticle type. The type needs some + templates for creating the menu with the sections etc. The tags for are evaluating the + data tree and creating the menu. + +

    +

    + One important rule is that the template tags should not create any HTML. They should + only provided the necessary informations and output the values of properties. HTML is + only generated by the HTML tags provided by Foundry. A template tag for a content type + may enclose several HTML elements which are used to define the HTML output. + +

    +
    +
    +
    +

    The documentation system of Foundry

    +
    +

    Overview

    +

    + Foundry comes with a documentation system which creates the reference documentations + for template tags and helper functions on the fly. The documentation system – + which you using at the moment by the way – consists of three parts: + +

    +
      +
    • + An index.jsp file in the doc directory which invokes the + XSL transformer. Using an JSP here has the advantage that the behaviour is similar + to an index.html. + +
    • +
    • + Some XSL templates. + +
    • +
    • + And the documentation itself which consists of some XML files, some static texts + and the documentation in the other templates. + +
    • +
    +

    + The general structure of the documentation is defined by the + doc/foundry-documentation.xml file. This file is the entry point for the + XSL processor. The chapters of the documentation are defined by the + foundry:doc-chapter elements. The sections of the chapters are defined using + foundry:doc-section elements. The section which use static texts have + a static. The value of the static attribute is the name of the + file to include from the doc/static-texts directory. These files are normal + HTML files in XML syntax. They must have a main element. Only the content + of the main element is included into the documentation. + +

    +

    + Sections which are generated on the fly from the XSL files of Foundry have a + generate attribute. The generate attribute controls which + documentations appear in the section. + +

    +

    Documentation inside XSL templates

    +

    + Templates, functions and global variables are documented using the + foundry:doc element which is placed in the XSL directly before the element + to document. The foundry:doc element has two mandatory attributes. The + section elements is used to control in which section the documentation + appears. The second attribute is the type attribute. This attribute is + used to format the documentation. The possible values are: + +

    +
    +
    template-tag
    +
    + The following XSL template is a tag which can be used in the layout templates. + +
    +
    env-var
    +
    + The following xsl:variable or xsl:param defines + a global variable. + +
    +
    function
    +
    + The following xsl:function is a helper function which can be used + in the implementation of template tags. + +
    +
    function-template
    +
    + The following xsl:template is a helper template. + +
    +
    +

    + A foundry:doc element can have to following child elements: + +

    +
    +
    foundry:doc-desc
    +
    + A text describing the template, function or variable. The must be structured + using HTML elements like p, even it is only a single paragraph. + Otherwise the text is not copied into the documentation. Look at one of the + XSL files of Foundry for an example. + +
    +
    foundry:doc-attributes
    +
    + Surrounds the documentation for attributes which can be used on a template tag. + The individual attributes are documented by foundry:doc-attribute + elements. The foundry:doc-attribute has a mandatory attribute + name which contains the name of the attribute. The documentation of + the attribute must be enclosed in HTML elements. Look at one of the + XSL files of Foundry for an example. + +
    +
    foundry:doc-parameters
    +
    + Surrounds the documentation for parameters which can be used on a function. + The individual parameters are documented by foundry:doc-parameter + elements. The foundry:doc-parameter has a mandatory parameter + name which contains the name of the parameter. The documentation of + the parameter must be enclosed in HTML elements. Look at one of the + XSL files of Foundry for an example. + +
    +
    foundry:doc-see-also
    +
    + Contains links to other parts of the documentation or the external resources. + The links are defined using foundry:doc-link attributes. Each + foundry:doc-link has a href attribute which the link. + The description of the link is the content of the element. + +
    +
    +
    +
    +
    +

    XSL Templates and Function references

    +
    +

    Global/environment variables

    +

    + Global variables either provided by the calling CCM instance or by Foundry itself. + +

    +
    +

    foundry-version

    +
    +

    + The version of Foundry. Kept in sync with the version of CCM, so the first version + was be 2.2.3. + +

    +
    +
    +
    +

    theme-mode

    +
    +

    + The mode of the theme. If the theme is standalone theme, the value is + master. If the theme is a child theme the value is child. + +

    +
    +
    +
    +

    master-theme

    +
    +

    + The master theme of the current if the theme is a child theme. if theme is direct + child of the Foundry base theme the value is foundry. Otherwise it is + the name of master theme. + +

    +
    +
    +
    +

    theme-prefix

    +
    +

    + The path the to theme file. This path is used at several points to load files which are + part of the theme, like CSS files, images and fonts. + +

    +
    +
    +
    +

    context-prefix

    +
    +

    + The context prefix in which CCM is installed. If CCM is installed into the ROOT context + of the servlet container, this variable will be empty. + +

    +
    +
    +
    +

    dispatcher-prefix

    +
    +

    + The path on which the CCM dispatcher Servlet is mounted. Usually this is + CCM. + +

    +
    +
    +
    +

    username

    +
    +

    + The name of user currently login in CCM. + +

    +
    +
    +
    +

    data-tree

    +
    +

    + This variable stores the XML created by CCM for later access. + +

    +
    +
    + This variables stores the XML definition of the Foundry documentation. + + Activate double click protection on buttons? + + Activate double click protection on links? + +
    +

    +
    +

    + The language negotiated between CCM and the user agent. + +

    +
    +
    + The language to use as negotiated by CCM. + +
    +

    supported-languages

    +
    +

    + The languages supported by this theme. They are configured in + conf/global.xml using the <supported-languages> + element. Example for german and english: +

    +                <?xml version="1.0"?>
    +                <foundry:configuration>
    +                    …
    +                    <supported-languages default="de">
    +                        <language locale=de">
    +                        <language locale=en">
    +                    </supported-languages>
    +                    …
    +                </foundry:configuration>
    +                

    +
    +
    +
    +

    +
    +

    + The language to use by theme engine for static texts etc. The language is determined + as follows: + +

    +
      +
    • If the negotiated language is also in the supported-languages
    • +
    • If not the language which set by the default attribute of the + <supported-languages> is used, but only if this language + is in the supported languages. +
    • +
    • Otherwise the first of the supported languages is used.
    • +
    +
    +
    +
    +
    +

    Root template tags

    +

    + These tags are the root elements of a layout template. + +

    +
    +

    + Function foundry:gen-src-url

    +
    +

    + Variant of foundry:gen-src-url without the parameters string + parameter. + +

    +
    +
    +

    Result

    +

    Result type

    +

    any

    +

    Description

    +
    +
    +
    +
    +

    + Function foundry:gen-src-url

    +
    +

    + Processes a given URL for use in the src attribute of an + audio, img or video element. The function + distigushes between this cases: + +

    +
    +
    The URL starts with http:// or https://
    +
    + In this case the URL is threated as an absolute URL pointing to a resource + outside of CCM. If any parameters are passed to the function they are appended + to the URL. + +
    +
    The URL starts with a slash (/) +
    +
    + In this case the URL points to a resource managed by the CCM which also + manages the theme. In this case the URL is prefixed with the + dispatcher-prefix and the parameters, if any, are appended. + +
    +
    Other cases
    +
    + If none of the two other cases match the URL points to a URL in the theme. In + this case the URL is processed by the + gen-path function. The parameters, if any + are appended. + +
    +
    +

    + If parameters are passed to this function they are appended to the URL. The + parameters are passed as string formatted as URL parameters, for example + foo=hello&bar=world. A leading ? or & + is removed before adding the string the URL. If the URL already contains parameters + (if the URL contains a ?) the paramters string is added with a leading + ampersand (&). If not the parameters are appended using a + ? character. + +

    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    src-rawyesstring +

    + The raw URL to process. + +

    +
    parametersyesstring +

    + Parameters to append to the URL. + +

    +
    +
    +

    Result

    +

    Result type

    +

    string

    +

    Description

    +
    +

    + The processed URL. + +

    +
    +
    +
    +
    +
    +

    Loaders

    +

    + This tags are used to load resources required by the generated HTML documents, + for example CSS files and JavaScript files. + +

    + A helper template for generating the + <link rel="stylesheet" href="..."/> elements for loading the CSS + files. + + The name of the CSS file to load. If the filename contains slashes the filename + is used as it is provided. If there are not slashes in the filename the filename + is prefixed with styles/. + + The media for which the file should be loaded. If no set, the CSS file is used for all + media types. + + The origin of the CSS file. If not set or the parameter is empty, the CSS file + is loaded from current theme. There also some values with + a special meaning: + master + File is loaded from the master/parent theme. + Please read the section about parent and child themes for more details. + internal + The file is loaded from the internal directories + If the current theme is a child theme, the file is loaded + from the internal directories of the parent theme. + + Some examples: + <css-file>public.css</css-file> + The CSS file public.css is loaded from styles + directory in the current theme. + <css-file>bootstrap/css/bootstrap.min.css</css-file> + The CSS file bootstrap.min.css is loaded from the directory + bootstrap/css in the current theme. + <css-file origin="internal">admin.css</code> + If the current theme is a master theme, the CSS file admin.css is + loaded from the directory foundry/styles in the current theme. If + the current theme is child theme the CSS file admin.css is loaded + from the directory foundry/styles of the Foundry theme installed + at /themes/foundry. + +
    +
    +

    Utility functions

    +

    + This file provides several utility functions and templates. + +

    +
    +

    + Function foundry:boolean

    +
    +

    + A helper function for evaluating certain string values to boolean. This function has + two purposes. First it simplifies some expressions. for example if you have a + template tag with a attribute containing a (pseudo) boolean value (attribute values + are always treated as strings) you would have to write something like: + +

    +                ...
    +                <xsl:if test="./@attr = 'true'">
    +                ...
    +                </xsl:if>
    +                ...
    +            

    + Using foundry:boolean this can be simplified to + +

    +                ...
    +                <xsl:if test="foundry:boolean(./@attr)">
    +                ...
    +                </xsl:if>
    +                ...
    +            

    + The more important purpose is to make the usage of boolean values more user + friendly, especially in the templates. Using foundry:boolean no only + true is evaluated to boolean true. A number of other + strings is also evaluated to true: + +

    +
      +
    • true
    • +
    • TRUE
    • +
    • yes
    • +
    • YES
    • +
    • t
    • +
    • T
    • +
    • y
    • +
    • Y
    • +
    +

    + All other values are evaluated to false. + +

    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    valueyesstring +

    + The value to evaluate. + +

    +
    +
    +

    Result

    +

    Result type

    +

    boolean

    +

    Description

    +
    +

    + The evaluated boolean value. + +

    +
    +
    +
    +
    +

    + Function foundry:gen-path

    +
    +

    + Helper function for generating paths to theme resources like CSS files etc. Use this + function instead of concatenating paths yourself. For example, instead of + +

    +                document(concat($theme-prefix, 'path/to/resource/file')
    +            

    + use foundry:gen-path: + +

    +                document(foundry:gen-path('path/to/resource/file'))
    +            

    path/to/resource/file is meant as a placeholder here. A real world + example is a settings file, for example conf/global.xml. For this file + a usage of the foundry:gen-path function would look like this + +

    +                document(foundry:gen-path('conf/global.xml')
    +            

    + The advantage of this function is the encapsulation of the path generation process. + foundry:gen-path. + +

    +
    +
    +

    Result

    +

    Result type

    +

    string

    +

    Description

    +
    +

    + The absolute path for the file. + +

    +
    +
    +
    +
    +

    + Function foundry:gen-path

    +
    +

    + Variant of gen-path with an additional origin + parameter. This parameter can have three values: + If set to true the file is loaded from the + foundry directory. + +

    +
    +
    empty string ('') +
    +
    + The path points to a resource in the theme directory. The return value is the + concatenation of the theme-prefix, a slash and the path provided as first + parameter. In XPath Syntax: concat($theme-prefix, '/', $path. + +
    +
    master
    +
    + If the theme mode (which is set in conf/global.xml) is set to + master the result is the same as for the empty string. If the + the theme mode is set to child the generated path points to + the parent/master theme. More exactly the result is the concatenation of the + context-prefix environment variable, the string /themes/, the + name of the master theme (set in conf/global.xml, + usally foundry), a slash the the path provided as first parameter. + Or in XPath syntax: + concat($content-prefix, '/themes/', $master-theme, '/', $path.). + +
    +
    internal
    +
    + The path points to an internal resource which is provided by Foundry. If the + theme mode is master the generated path is the concatenation of + the theme prefix, the string /foundry/ and the path provided as + first parameter (XPath: concat($theme-prefix, '/foundry/', $path). + If the theme mode is child the generated path + is the concatenation of the context prefix, the string + /themes/foundry/foundry/ and the path provided as first parameter + (XPath: concat($context-prefix, '/themes/foundry/foundry/', $path)). + +
    +
    +
    +
    +

    Result

    +

    Result type

    +

    any

    +

    Description

    +
    +
    +
    +
    +

    + Function foundry:log-level

    +
    +

    + Helper function to generate an info message. This function be used together with + <xsl:message> to output a message in the CCM log warning + the administrator about some things in the theme, for example a missing + configuration file. Example: + +

    +                ...
    +                <xsl:message>
    +                    <xsl:message select="foundry:message-info('Something is strange...')" />
    +                </xsl:message>
    +            
    +

    Parameters

    + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    messageyesany
    +
    +

    Result

    +

    Result type

    +

    xs:string

    +

    Description

    +
    +

    + A message string of the form [Foundry WARNING] $message with + $message replaced by the value of the parameter. + +

    +
    +
    +
    +
    +

    + Function foundry:log-level

    +
    +

    + Helper function to generate an info message. This function be used together with + <xsl:message> to output a message in the CCM log when + something goes wrong in the theme, for example when a layout file has a wrong + structure. Example: + +

    +                ...
    +                <xsl:message>
    +                    <xsl:message select="foundry:message-info('Some error has occurred...')" />
    +                </xsl:message>
    +                ...
    +            
    +

    Parameters

    + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    messageyesany
    +
    +

    Result

    +

    Result type

    +

    xs:string

    +

    Description

    +
    +

    + A message string of the form [Foundry ERROR] $message with + $message replaced by the value of the parameter. + +

    +
    +
    +
    +
    +

    + Function foundry:get-attribute-value

    +
    +

    + A helper function for retrieving an attribute value from an element. If the + attribute is set on the current element the value of the attribute is used as + result. If the attribute is not set the default-value is used. This + method is used by several layout tags with optional attributes. A common use pattern + looks like this: + +

    +                <xsl:template match="example">
    +                    <xsl:variable name="width" 
    +                select="foundry:get-attribute-value(current(), 'width', '640')" />
    +                    <xsl:variable name="height" 
    +                select="foundry:get-attribute-value(current(), 'height', '480')" />
    +                /<xsl:template>
    +            

    + In this example, the element example has two optional attributes: + with and height. If the attribute is set in processed XML, + the value set there is used. Otherwise the default value (640 + respectively 480) is used. Without this function a code block like the + one in the xsl:choose block of this function would be necessary for + each of the variables. + +

    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    nodeany
    attribute-nameany
    default-valueany
    +
    +

    Result

    +

    Result type

    +

    any

    +

    Description

    +
    +

    + The value of the attribute if it is set on the current element, the + default-value otherwise. + +

    +
    +
    +
    +
    +

    + Function foundry:get-setting

    +
    +

    + Convenient function for calling foundry:get-setting with only the + module name and setting name. + +

    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    moduleyesstring +

    + The module of the settings. May be an empty string (''). + +

    +
    settingyesstring +

    + The name of the setting to retrieve. + +

    +
    +
    +

    Result

    +

    Result type

    +

    string

    +

    Description

    +
    +

    + The value of the setting. + +

    +
    +
    +
    +
    +

    + Function foundry:get-setting

    +
    +

    + Convenient function for calling foundry:get-setting with only the + module name, the setting name and an default value. + +

    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    moduleyesstring +

    + The module of the settings. May be an empty string (''). + +

    +
    settingyesstring +

    + The name of the setting to retrieve. + +

    +
    defaultyesstring +

    + A default value which is used when the setting is not configured. + +

    +
    +
    +

    Result

    +

    Result type

    +

    string

    +

    Description

    +
    +

    + The value of the setting or the default value if the setting is not configured. + +

    +
    +
    +
    + The module of the settings. At the moment this corresponds to the name of the file + in the conf directory. The empty string as value corresponds to the + global.xml file. + + The name of the setting to retrieve. + + The value to use if there is no entry for the setting in the settings file. + + A node from the layout template which overrides the value from the configuration. + + The value of the requested setting or if no value has been set the provided default + value. If no default value has been provided the result is an empty string. + + This function retrieves the value of a setting from the theme configuration. For + more informations about the configuration system of Foundry please refer to the + configuration section of the Foundry documentation. + +
    +

    + Function foundry:get-static-text

    +
    +

    + Retrieves at static text. For more informations about static texts in Foundry please + refer to the static texts section in the Foundry documentation. + +

    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameMandatoryTypeDescription
    moduleyesstring +

    + The module of the settings. At the moment this corresponds to the name of the file + in the texts directory. The empty string as value corresponds to the + global.xml file. + +

    +
    idyesstring +

    + The name of the text to retrieve. + +

    +
    langnostring +

    + The language to retrieve. Normally there is no need to set this parameter because + it is determined automatically. + +

    +
    +
    +

    Result

    +

    Result type

    +

    string

    +

    Description

    +
    +

    + The requested static text. If there is no value for the requested static text in the + module provided by the module parameter the value depends if the debug mode is + enabled or not. If the debug mode is not not enabled the result is an empty + string. If the debug mode is enabled, a identifier of the text (the value of the + id parameter) is displayed. If you point the mouse pointer of the + placeholder, the complete path of the text is shown as hovering box. + +

    +
    +
    +
    +
    +

    + Function foundry:debug-enabled

    +
    +

    + A helper function to determine if the debug mode should be enabled. The debug mode + of foundry is automatically enabled if the theme is viewed as development theme. + +

    +
    +
    +

    Result

    +

    Result type

    +

    any

    +

    Description

    +
    +

    true if the debug mode if active, false otherwise. + +

    +
    +
    +
    + +
    +

    + Function foundry:read-current-category

    +
    +
    +

    Result

    +

    Result type

    +

    any

    +

    Description

    +
    +

    + The path of the current category. + +

    +
    +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/foundry-documentation.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/foundry-documentation.xml new file mode 100644 index 000000000..d902a12e2 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/foundry-documentation.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/index.jsp b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/index.jsp new file mode 100644 index 000000000..15bcdbfc9 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/index.jsp @@ -0,0 +1,43 @@ + + + + + + + + + + + response.setContentType("text/html;charset=utf-8"); + + String requestURL = request.getRequestURL().toString(); + String themeURL; + if (requestURL.endsWith("/doc/")) { + themeURL = requestURL.substring(0, requestURL.length() - 5); + } else if(requestURL.endsWith("/doc/index.jsp")) { + themeURL = requestURL.substring(0, requestURL.length() - 14); + } else { + themeURL = requestURL.substring(0, requestURL.length() - 4); + } + + /*response.getOutputStream().print("themeURL = " + themeURL); + response.getOutputStream().print("requestURI = " + request.getRequestURI()); + response.getOutputStream().print("requestURL = " + request.getRequestURL());*/ + + TransformerFactory factory = TransformerFactory.newInstance(); + Transformer transformer = factory.newTransformer(new StreamSource(themeURL + "/start.xsl")); + transformer.setParameter("theme-prefix", themeURL); + transformer.transform(new StreamSource(themeURL + "/doc/foundry-documentation.xml"), + new StreamResult(response.getOutputStream())); + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/coding-style.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/coding-style.html new file mode 100644 index 000000000..0b4b43969 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/coding-style.html @@ -0,0 +1,60 @@ + + + + Foundry Coding Style + + + +

    Foundry Coding Style

    +
    +

    + This document describes the coding conventions for the Foundry theming engine. +

    +

    Naming

    +

    + The naming rules described here apply to all names: Names of layout elements, + XSL template names, XSL functions, files, ids and classes (in the + class attribute). +

    +

    + Use the dash "-" to separate parts of a name instead of camel case or the + underscore. For example: get-setting instead of getSetting or + set_setting. +

    +

    + Names should be lowercase. +

    + +

    Namespace declarations

    +

    + In the XSL files, XML namespaces are only defined at the + <xsl:stylesheet> element. The XSL namespace is the first one is + declared first. The other namespace follow in alphabetic order (ordered by their + prefix). +

    + +

    Indention, line length and formating

    +

    + Indention is done using spaces. Indention depth is four (4) spaces per level. +

    +

    + Try to keep the line length below 100 characters per line. Because of some restrictions + of XML this will be possible in every case. +

    +

    + Insert a line break after each attribute of an XML element. The first attribute + is on the same line as the element. For example write +

    +
    +<xsl:param name=example-param"
    +           select="'example'"/>
    +        
    +

    + instead of +

    +
    +<xsl:param name=example-param" select="'example'"/>
    +        
    +
    + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/foundry-doc-system.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/foundry-doc-system.html new file mode 100644 index 000000000..785953733 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/foundry-doc-system.html @@ -0,0 +1,118 @@ + + + + ]> + + + The documentation system of Foundry + + + +

    The documentation system of Foundry

    +
    +

    Overview

    +

    + Foundry comes with a documentation system which creates the reference documentations + for template tags and helper functions on the fly. The documentation system – + which you using at the moment by the way – consists of three parts: +

    + +

    + The general structure of the documentation is defined by the + doc/foundry-documentation.xml file. This file is the entry point for the + XSL processor. The chapters of the documentation are defined by the + foundry:doc-chapter elements. The sections of the chapters are defined using + foundry:doc-section elements. The section which use static texts have + a static. The value of the static attribute is the name of the + file to include from the doc/static-texts directory. These files are normal + HTML files in XML syntax. They must have a main element. Only the content + of the main element is included into the documentation. +

    +

    + Sections which are generated on the fly from the XSL files of Foundry have a + generate attribute. The generate attribute controls which + documentations appear in the section. +

    + +

    Documentation inside XSL templates

    +

    + Templates, functions and global variables are documented using the + foundry:doc element which is placed in the XSL directly before the element + to document. The foundry:doc element has two mandatory attributes. The + section elements is used to control in which section the documentation + appears. The second attribute is the type attribute. This attribute is + used to format the documentation. The possible values are: +

    +
    +
    template-tag
    +
    + The following XSL template is a tag which can be used in the layout templates. +
    +
    env-var
    +
    + The following xsl:variable or xsl:param defines + a global variable. +
    +
    function
    +
    + The following xsl:function is a helper function which can be used + in the implementation of template tags. +
    +
    function-template
    +
    + The following xsl:template is a helper template. +
    +
    +

    + A foundry:doc element can have to following child elements: +

    +
    +
    foundry:doc-desc
    +
    + A text describing the template, function or variable. The must be structured + using HTML elements like p, even it is only a single paragraph. + Otherwise the text is not copied into the documentation. Look at one of the + XSL files of Foundry for an example. +
    +
    foundry:doc-attributes
    +
    + Surrounds the documentation for attributes which can be used on a template tag. + The individual attributes are documented by foundry:doc-attribute + elements. The foundry:doc-attribute has a mandatory attribute + name which contains the name of the attribute. The documentation of + the attribute must be enclosed in HTML elements. Look at one of the + XSL files of Foundry for an example. +
    +
    foundry:doc-parameters
    +
    + Surrounds the documentation for parameters which can be used on a function. + The individual parameters are documented by foundry:doc-parameter + elements. The foundry:doc-parameter has a mandatory parameter + name which contains the name of the parameter. The documentation of + the parameter must be enclosed in HTML elements. Look at one of the + XSL files of Foundry for an example. +
    +
    foundry:doc-see-also
    +
    + Contains links to other parts of the documentation or the external resources. + The links are defined using foundry:doc-link attributes. Each + foundry:doc-link has a href attribute which the link. + The description of the link is the content of the element. +
    +
    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/foundry-structure.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/foundry-structure.html new file mode 100644 index 000000000..b61d2e38d --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/foundry-structure.html @@ -0,0 +1,185 @@ + + + + The overall structure of foundry + + + +

    The overall structure of foundry

    +
    +

    Top level structure

    +

    + Foundry supports two kinds of themes: Parent themes and child themes. Parent themes + are also called master themes. + Normally there + should be only one parent theme in a CCM installation at /themes/foundry. + All other themes should be child themes. An example for a child theme should also be + installed at /themes/foundry-base. +

    +

    + A complete Foundry theme (a parent theme) contains of the following directories: +

    +
    +
    conf
    +
    + Configuration files for the theme. +
    +
    doc
    +
    + The documentation of Foundry. The document you reading at the moment is + generated using these files. +
    +
    fonts
    +
    + Webfonts used in the theme. +
    +
    foundry
    +
    + The directory contains the XSL files which contain the logic part of Foundry. +
    +
    images
    +
    + Static images for the theme. +
    +
    libs
    +
    + Additional JavaScript libraries, for example jQuery plugins. +
    +
    scripts
    +
    + Custom JavaScripts +
    +
    styles
    +
    + CSS files +
    +
    templates
    +
    + The layout templates +
    +
    texts
    +
    + Static texts for the theme +
    +
    user
    +
    + Custom extensions. Not supported yet. +
    +
    +

    + A child theme has only the directories which contain files which the designer needs + to change. These are: +

    + +

    + The foundry directory contains the following files and directories: +

    +
    +
    fonts
    +
    Webfonts used internally, for example for the Content Center.
    +
    images
    +
    Images used internally.
    +
    lib
    +
    The XSL files from Foundry.
    +
    scripts
    +
    Java Scripts used internally.
    +
    styles
    +
    CSS files for internal templates like the Content Center
    +
    templates
    +
    Internal templates for example for the Content Center.
    +
    texts
    +
    Internal texts
    +
    main.xsl
    +
    + Entry point. The start.xsl in the base directory acts only as + entry point for the XSL processor and delegates all work to the + main.xsl. +
    +
    lib.xsl
    +
    + A simple import file which imports the XSL files from the lib directory. +
    +
    +

    + The main.xsl file contains the xsl:output element + which tells the XSL processor that we want to create HTML. There is only two + XSL templates in the main.xsl file along with some helper functions. + This first template is the entry point for CCM and + matches the bebop:page element which is the root element of the + data tree XML created by CCM. The template processes the + conf/templates.xsl file calls the XSL templates for parsing the + layout templates. +

    +

    + The second templates is the entry point for the documentation system Foundry. +

    + +

    The lib directory

    +

    + The lib is the core part of Foundry and contains the following + sub directories and files: +

    +
    +
    bebop
    +
    + XSL files for creating the backend UI. The XSL files were taken from Mandalay + and have only been adapted to work inside Foundry. +
    +
    search
    +
    XSL files for the various search applications.
    +
    template-tags
    +
    + XSL files implementing the tags which can be used in the templates. +
    +
    template-tags
    +
    + This directory contains the XSL files which implement the tags which can be used + in the layout templates. +
    +
    bebop.xsl
    +
    + Imports the files from the bebop directory. +
    +
    global-vars.xsl
    +
    + These file is very important. It defines various global variables like the + theme-prefix or the context-prefix variables. A + complete list can be found in the + reference part. +
    +
    search.xsl
    +
    Import file for the XSL files in the search directory.
    +
    template-parser.xsl
    +
    + This file contains the XSL templates for parsing the layout templates. +
    +
    template-tags.xsl
    +
    + Import file for the XSL files in the template-tags directory. +
    +
    utils.xsl
    +
    + Helper functions. A complete list is available in the + reference part. +
    +
    + +

    Template tags

    +

    + The template-tags directory contains the XSL file which are + implementing the tags which can be used in the layout templates. For a complete + list please refer to the + Template Tags Reference in the user manual. +

    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/tutorial-content-types.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/tutorial-content-types.html new file mode 100644 index 000000000..ba05f42bc --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/devel/tutorial-content-types.html @@ -0,0 +1,49 @@ + + + + The documentation system of Foundry + + + +

    Adding support for Content types

    +
    +

    + To enable Foundry to output a Content Item of specific content type two things must be + available: One or more layout template associated with the content type and appropriate + template tags to display to informations of the content item from the data tree. +

    +

    + Foundry provides a general tag show-property + which can be used to output properties of a content type. For simple types this maybe + sufficent. The name of the property can + be found out from the XML output which can be viewed by adding the parameter + output=xml to an URL. +

    +

    + For more complex types or if the value of the property should be formatted in a special + way it is maybe necessary to implement some new template tags. Tags which part of the + official distribution of Foundry are found in the + foundry/lib/template-tags/content-items directory. Custom extensions can + be put into the user directory (not supported yet). +

    +

    + For each content type there should be a separate file named after the content type. + A relatively simple example is the NewsItem type. In this case the + date of the news needs some formatting. The news.xsl file provides the tag + news-date which allows the template author to choose the format of the + date. +

    +

    + A more complex example is the MultiPartArticle type. The type needs some + templates for creating the menu with the sections etc. The tags for are evaluating the + data tree and creating the menu. +

    +

    + One important rule is that the template tags should not create any HTML. They should + only provided the necessary informations and output the values of properties. HTML is + only generated by the HTML tags provided by Foundry. A template tag for a content type + may enclose several HTML elements which are used to define the HTML output. +

    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/overview-foundry.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/overview-foundry.html new file mode 100644 index 000000000..3e7d2f590 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/overview-foundry.html @@ -0,0 +1,22 @@ + + + + Foundry Documentation - CSS files + + + +

    About Foundry

    +
    +

    + Foundry is a theme engine for the LibreCCM family of Content Management systems, for + example ScientificCMS and APLAWS+. Some parts of based on the Mandalay theme engine + developed by Sören Bernstein for ScientificCMS. +

    +

    + With Foundry the designer has full control of the HTML created from the content managed + by CCM. The templates for defining the HTML are almost plain HTML (in XML syntax) with + some additional elements which provide the data to display. +

    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/overview.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/overview.html new file mode 100644 index 000000000..1f97f6217 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/overview.html @@ -0,0 +1,26 @@ + + + + Foundry Documentation - Overview + + + +

    About Foundry

    +
    +

    + Foundry is a theme engine for the LibreCCM family of Content Management systems, for + example ScientificCMS and APLAWS+. Some parts of based on the Mandalay theme engine + developed by Sören Bernstein for ScientificCMS. +

    +

    + With Foundry the designer has full control of the HTML created from the content managed + by CCM. The templates for defining the HTML are almost plain HTML (in XML syntax) with + some additional elements which provide the data to display. +

    +

    + Please note that Foundry requires an XSL 2 processor. The only one available in CCM + is Saxon HE. To use Foundry you must configure CCM to use Saxon HE as XSL processor. +

    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/this-manual.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/this-manual.html new file mode 100644 index 000000000..70f21ca9f --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/this-manual.html @@ -0,0 +1,59 @@ + + + + Foundry Documentation - CSS files + + + +

    About this manual

    +
    +

    + This manual is separated into two parts. The first part is + for designers and administrators (called users in the context of this manual). It + describes the structure of the templates in Foundry, how CSS files are implemented + and how Frameworks like Bootstrap, + YAML or jQuery + can be integrated into a Foundry theme. The first part also contains a reference + part which describes all elements/tags which can be used in the templates. + If you are viewing this documentation using an URL like + /themes/foundry/doc/ this reference is created on the fly from the + XSL files. +

    +

    + The second part is for developers which want to + extend Foundry. It describes the + structure of Foundry, how support for content types (the most common task) can be + added, how the documentation system works and which XPath functions and XSL helper + templates are available. Developers should also read the first part because the + first part includes informations about the general structure of Foundry. +

    +

    + In the manual the following terms a used quite often: +

    +
    +
    context prefix
    +
    + The context in which CCM is installed in the Servlet container. If CCM is + installed in the root context the context prefix is empty. +
    +
    theme prefix
    +
    + The URL part of accessing resources inside the theme. For example for theme + called foo the theme prefix is + /themes/published-themedir/foo is published theme is used an if + CCM is installed in the root context. +
    +
    dispatcher prefix
    +
    + The URL for creating links to other CCM resources like content items. Depends + on the context in which CCM is installed and if development theme or the + published theme is used. +
    +
    data tree
    +
    The XML created by CCM containing all data of the current page.
    +
    Layout tree
    +
    The XML of layout template in processing.
    +
    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/css-files.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/css-files.html new file mode 100644 index 000000000..266d3e15b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/css-files.html @@ -0,0 +1,55 @@ + + + + Foundry Documentation - CSS files + + + +

    CSS files

    +
    +

    + The system for loading CSS files is similar to the system for finding layout + templates. Which CSS files are loaded for a page is determined by the + conf/css-files.xml. The root element of this file is an + css-files element. This element has multiple application + child elements. Each application has an mandatory attribute + name which contains the name of the application for which the CSS files + named in the element are loaded. To further distinguish between pages provided by the + same application the optional attribute class can be used. + There should be also an default + element which determines the CSS files to load when no matching + application element is found. +

    +

    + Some pages have no application name in the data tree XML. In this cases to name of + the application is set to none. +

    +

    + Each application element and the default element + in css-files.xml can contain multiple css-file element. + Each of the css-file elements defines a single XML to load. +

    +

    + The css-file element has two optional attributes: +

    +
    +
    media
    +
    + The media type, for example screen or print for + which the CSS file is used. The value of this attribute will appear in the + media attribute of the link element which is generated in the HTML + to load the CSS file. +
    +
    origin
    +
    + The origin of the CSS file. If not set the file is loaded from the current + theme. If set to master the file is loaded from the master theme + if the current theme is a child theme. If set to internal the + file is loaded from the internal directory for CSS files, either from the + current theme (if the current theme is a master theme) or from the Foundry + master theme installed at /themes/foundry. +
    +
    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/foundry-structure.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/foundry-structure.html new file mode 100644 index 000000000..716a77d64 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/foundry-structure.html @@ -0,0 +1,106 @@ + + + + ]> + + + General structure + + + +

    General structure

    +
    +

    + There some options for using Foundry. The easiest way is to use a version/package of + LibreCCM which includes Foundry. In this case Foundry is installed in the + /themes/foundry folder. There should also be a second folder named + /themes/foundry-base which includes a basic child theme. +

    +

    + Foundry supports a an parent/child theme approach. This means that the logic + part of Foundry (the XSL part) is only installed in /themes/foundry and + is updated together with the normal upgrades of CCM. A child only contains + the templates, CSS files, static texts and configurations files for a theme. Custom + extensions are not supported yet. +

    +

    + A complete Foundry theme consists of the following top level folders and files: +

    +
    +
    conf
    +
    Contains configuration files for the theme
    +
    doc
    +
    Static parts of the documentation of Foundry, for example this text
    +
    fonts
    +
    Web fonts for the theme
    +
    foundry
    +
    + This folder contains the logic parts (the XSL) of Foundry. The internal + structure is described in the Developer Manual. +
    +
    images
    +
    Static images for the theme
    +
    libs
    +
    + Additional JavaScript libraries. jQuery and some other JavaScript libraries are + provided by CCM itself, and can be + included using special elements like the + load-jquery element. +
    +
    scripts
    +
    JavaScripts needed in the theme.
    +
    styles
    +
    + The CSS styles for the theme. More information about them can be found in the + CSS files section. +
    +
    templates
    +
    + The layout templates for the theme. A detailed description can be found in the + Layout templates section. +
    +
    texts
    +
    Static texts for the theme
    +
    user
    +
    Custom extensions (XSL) for theme. Not supported yet.
    +
    +

    + Foundry also supports a parent – child – grandchild structure. This is + maybe useful + when you have themes which only differ in details like logos but use the same + general structure. Most tags which are used to include resources like images, + CSS files etc. support the attribute origin which can have three + values: +

    +
    +
    Not set
    +
    The resource is loaded from the current theme
    +
    master
    +
    + If the current theme is a master/parent theme the resource is loaded from the + current theme. If the current theme is a child theme the resource is loaded + from the master theme. +
    +
    internal
    +
    + The file is loaded from the foundry. If the theme is a child + theme is file is loaded from the Foundry master in /themes/foundry. +
    +
    +

    + The recommend way for creating a team using Foundry is to create a new child theme: +

    +
      +
    1. To do so create a new theme using the CCM Theme director.
    2. +
    3. + Copy the contents of the themes/foundry-base folder to the folder + created by the new theme + in themes/devel-themedir/. +
    4. +
    5. + Customise the theme +
    6. +
    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/layout-templates.html b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/layout-templates.html new file mode 100644 index 000000000..d548163c9 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/static-texts/user/layout-templates.html @@ -0,0 +1,171 @@ + + + + Foundry Documentation - Layout templates + + + +

    Layout templates

    +
    +

    + The layout templates are used by the web designer to create the HTML of the web + page. With Foundry the designer has almost complete control over the HTML. Despite + the elements which correspond to HTML 5 elements most other elements which can + be used in the templates do not create HTML. A complete list of the elements which + can be used in the layout templates can be found in the + Template Tags Reference. +

    +

    + Which template is used is decided by Foundry using the definitions in the + conf/templates file. The top layer of templates which are parsed first + are the application layouts. Which layout is used for a application is decided by + Foundry using the application and class attributes of + of bebop:page element in the data tree. The values of these attributes + a set in the Java code or in the JSP templates used. + +

    + +

    Application layout templates

    +

    How Foundry determines which application layout template to use

    +

    + Which template is used for which application is determined using the + applications section in the conf/templates.xml file. + The applications element may contain any number of + application elements. Each application element can have three + attributes: +

    +
    +
    name (mandatatory)
    +
    + The name of the application which is the value of the application + attribute from the data tree. To associate applications which do not set the + application attribute in the data tree the value none + can be used. +
    +
    class (optional)
    +
    + The class of the application page shown. This is the value of the + class attribute from the data tree. +
    +
    origin (optional)
    +
    + The origin of the template. In the default theme this is used to associate + the backend applications which like the content center with the + internal admin-layout.xml template provided by Foundry. It can also + be used to associate an application with an layout template from the parent + theme. +
    +
    +

    + The applications element in the conf/templates.xml file + should also contain a single single default element which defines which + layout template should be used when no other matches. +

    +

    + Foundry tries to find the layout template to use as follows: +

    + +

    The structure of a application layout template

    +

    + An layout template is a normal XML file. The root element is the + page-layout element. + The first child should be a head element. The head + element is equivalent of the HTML head element. Inside the head + element the title of (the string shown as title of the browser window) can + be determined using the title element. Also + the head is the place to load the CSS and JavaScript files and where + to put meta informations. +

    +

    + After the head there should be a body + element. Inside the body element the HTML structure is defined. + At some point you may want to insert the content of a content item or of a Portlet. + This is done using elements like content-item element + or + portal-grid-workspace-column-portlets. + The layout of the individual content item or Portlet is defined in separate + templates. +

    + +

    Content Item layout templates

    +

    + The content layout templates which are found in the + templates/content-items folder are used to create the HTML for + content items in the list, link and detail views. Which template is used for which + content item is determined using the content-items section in the + conf/templates.xml file. +

    +

    Selecting the Content Item layout template to use

    +

    + The content-items element in the conf/templates.xml file + has three sub elements: detail, link and + list. The content-item elements in these elements are + determining which template is used for which content type. There are several + attributes for selecting the template. For a description of the available attributes + please refer to the documentation of the + content-item tag. +

    +

    Structure of a Content Item layout template

    +

    + Like the application layout templates a content item layout template is a XML file. + The root element is the content-item-layout element. Inside this + element all HTML producing elements can be used. For some content types there are + special elements for outputting special properties. For example the for news item + there is an elements news-date which outputs + the date of a news. This element also provides an interface for designer to + customise the format in which the date is shown. There is is also an general tag + show-property which can be used to + create a basic template for an unsupported content type. +

    + +

    Portlet templates

    +

    + For Portlets the system is similar to the system for content items. Which template + is used for a specific Portlet is determined using the child elements of the + portlets element in the conf/templates.xml file. The + portlet elements which contain the path of the template to use can have + two child elements: +

    +
    +
    class
    +
    + The class name of the Portlet. +
    +
    workspace
    +
    + The name of the workspace in which the Portlet is shown. +
    +
    +

    + Foundry first tries to find a match for both class and + workspace. If there is no matching portlet element in + conf/templates.xml Foundry tries to find a match for the class name + only. If this also fails it used the templates defined in + portlets/default in the conf/templates.xml file. +

    +

    + The root element of a Portlet layout template is the portlet-layout + element. Inside this element all HTML elements can be used. For each Portlet type + there will be least on specific element which outputs the content of the Portlet. +

    +
    + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/styles/foundry-doc.css b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/styles/foundry-doc.css new file mode 100644 index 000000000..ec5fa7892 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/doc/styles/foundry-doc.css @@ -0,0 +1,282 @@ +/* + CSS file for the Foundry Documentation + (c) Jens Pelzetter +*/ + +@font-face { + font-family: 'liberation_sans'; + src: url('../fonts/LiberationSans-Bold-webfont.eot'); + src: url('../fonts/LiberationSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSans-Bold-webfont.woff') format('woff'), + url('../fonts/LiberationSans-Bold-webfont.ttf') format('truetype'), + url('../fonts/LiberationSans-Bold-webfont.svg#liberation_sansbold') format('svg'); + font-weight: bold; + font-style: normal; + +} + +@font-face { + font-family: 'liberation_sans'; + src: url('../fonts/LiberationSans-BoldItalic-webfont.eot'); + src: url('../fonts/LiberationSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSans-BoldItalic-webfont.woff') format('woff'), + url('../fonts/LiberationSans-BoldItalic-webfont.ttf') format('truetype'), + url('../fonts/LiberationSans-BoldItalic-webfont.svg#liberation_sansbold_italic') format('svg'); + font-weight: bold; + font-style: italic; + +} + +@font-face { + font-family: 'liberation_sans'; + src: url('../fonts/LiberationSans-Italic-webfont.eot'); + src: url('../fonts/LiberationSans-Italic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSans-Italic-webfont.woff') format('woff'), + url('../fonts/LiberationSans-Italic-webfont.ttf') format('truetype'), + url('../fonts/LiberationSans-Italic-webfont.svg#liberation_sansitalic') format('svg'); + font-weight: normal; + font-style: italic; + +} + +@font-face { + font-family: 'liberation_sans'; + src: url('../fonts/LiberationSans-Regular-webfont.eot'); + src: url('../fonts/LiberationSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSans-Regular-webfont.woff') format('woff'), + url('../fonts/LiberationSans-Regular-webfont.ttf') format('truetype'), + url('../fonts/LiberationSans-Regular-webfont.svg#liberation_sansregular') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'liberation_serif'; + src: url('../fonts/LiberationSerif-Bold-webfont.eot'); + src: url('../fonts/LiberationSerif-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSerif-Bold-webfont.woff') format('woff'), + url('../fonts/LiberationSerif-Bold-webfont.ttf') format('truetype'), + url('../fonts/LiberationSerif-Bold-webfont.svg#liberation_serifbold') format('svg'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'liberation_serif'; + src: url('../fonts/LiberationSerif-BoldItalic-webfont.eot'); + src: url('../fonts/LiberationSerif-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSerif-BoldItalic-webfont.woff') format('woff'), + url('../fonts/LiberationSerif-BoldItalic-webfont.ttf') format('truetype'), + url('../fonts/LiberationSerif-BoldItalic-webfont.svg#liberation_serifbold_italic') format('svg'); + font-weight: bold; + font-style: italic; + +} + +@font-face { + font-family: 'liberation_serif'; + src: url('../fonts/LiberationSerif-Italic-webfont.eot'); + src: url('../fonts/LiberationSerif-Italic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSerif-Italic-webfont.woff') format('woff'), + url('../fonts/LiberationSerif-Italic-webfont.ttf') format('truetype'), + url('../fonts/LiberationSerif-Italic-webfont.svg#liberation_serifitalic') format('svg'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'liberation_serif'; + src: url('../fonts/LiberationSerif-Regular-webfont.eot'); + src: url('../fonts/LiberationSerif-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationSerif-Regular-webfont.woff') format('woff'), + url('../fonts/LiberationSerif-Regular-webfont.ttf') format('truetype'), + url('../fonts/LiberationSerif-Regular-webfont.svg#liberation_serifregular') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'liberation_mono'; + src: url('../fonts/LiberationMono-Bold-webfont.eot'); + src: url('../fonts/LiberationMono-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationMono-Bold-webfont.woff') format('woff'), + url('../fonts/LiberationMono-Bold-webfont.ttf') format('truetype'), + url('../fonts/LiberationMono-Bold-webfont.svg#liberation_monobold') format('svg'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'liberation_mono'; + src: url('../fonts/LiberationMono-BoldItalic-webfont.eot'); + src: url('../fonts/LiberationMono-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationMono-BoldItalic-webfont.woff') format('woff'), + url('../fonts/LiberationMono-BoldItalic-webfont.ttf') format('truetype'), + url('../fonts/LiberationMono-BoldItalic-webfont.svg#liberation_monobold_italic') format('svg'); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'liberation_mono'; + src: url('../fonts/LiberationMono-Italic-webfont.eot'); + src: url('../fonts/LiberationMono-Italic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationMono-Italic-webfont.woff') format('woff'), + url('../fonts/LiberationMono-Italic-webfont.ttf') format('truetype'), + url('../fonts/LiberationMono-Italic-webfont.svg#liberation_monoitalic') format('svg'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'liberation_mono'; + src: url('../fonts/LiberationMono-Regular-webfont.eot'); + src: url('../fonts/LiberationMono-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/LiberationMono-Regular-webfont.woff') format('woff'), + url('../fonts/LiberationMono-Regular-webfont.ttf') format('truetype'), + url('../fonts/LiberationMono-Regular-webfont.svg#liberation_monoregular') format('svg'); + font-weight: normal; + font-style: normal; +} + +body { + font-family: liberation_sans; + position: relative; + width: 40em; + margin-top: 3em; + margin-bottom: 3em; + margin-left: auto; + margin-right: auto; + + font-size: 1em; +} + +.nav-hide { + display: none; +} + +main { + +} + +header, footer { + position: fixed; + width: 40em; + height: 2em; + left: 50%; + margin-top: 0; + margin-bottom: 0; + margin-left: -20em; + margin-right: auto; + padding: 0.5em 0; + background-color: #fff; +} + +header { + top: 0; +} + +footer { + bottom: 0; +} + +header .border-wrapper { + padding-left: 2em; + padding-right: 2em; + border-bottom: 1px solid #000; +} + +footer .border-wrapper { + padding-left: 2em; + padding-right: 2em; + border-top: 1px solid #000; +} + +@media screen { + nav { + position: fixed; + /*right: 2em;*/ + left: 50%; + top: 10em; + margin-left: 22em; + width: 16em; + } +} + +article:before, +section:before { + content: "."; + display: block; + margin-top: -3em; + height: 3em; + visibility: hidden; +} + +pre, code { + font-family: liberation_mono; +} + +div#title-page h1 { + text-align: center; + font-size: 2.5em; + font-weight: bold; +} + +main article h1 { + font-size: 2.2em; + font-weight: bold; +} + +main article section h1 { + font-size: 2em; + font-weight: bold; +} + +main article section section h1 { + font-size: 1.8em; + font-weight: bold; +} + +main article section section section h1 { + font-size: 1.6em; + font-weight: bold; + margin-top: 0.7em; + margin-bottom: 0.7em; +} + +main article section section section section h1 { + font-size: 1.4em; + font-weight: bold; + margin-bottom: 0.4em; + margin-top: 0.4em; +} + +main article section section section section.template-tag h1 { + font-family: liberation_mono; + font-size: 1.2em; +} + +main article section section section section.template-tag h2{ + font-size: 1.2em; + font-weight: bold; + color: #444; +} + +dl#foundry-structure-folders dt { + font-family: liberation_mono; + float: left; + width: 8em; + margin: 0.2em 0; +} + +dl#foundry-structure-folders dd { + margin: 0.2em 0 0.2em 8.5em; +} + +dl#foundry-structure-folders dd:after { + content: "."; + display: block; + visibility: hidden; + clear: both; +} \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/fonts/_README_ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/fonts/_README_ new file mode 100644 index 000000000..a590cd675 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/fonts/_README_ @@ -0,0 +1 @@ +This directory contains fonts used by the theme diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/_README_ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/_README_ new file mode 100644 index 000000000..dc32ce161 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/_README_ @@ -0,0 +1,5 @@ +This directory contains the internal logic of Foundry. + +DO NOT EDIT THE FILES IN THIS DIRECTORY +UNLESS YOU WANT TO WRITE A PATCH FOR +FOUNDRY diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.eot new file mode 100644 index 000000000..34c1490af Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.svg new file mode 100644 index 000000000..247cca437 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.svg @@ -0,0 +1,925 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.ttf new file mode 100644 index 000000000..dfabcd95f Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.woff new file mode 100644 index 000000000..5aa5f2a84 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabBol-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.eot new file mode 100644 index 000000000..f33976f33 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.svg new file mode 100644 index 000000000..36210bed5 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.svg @@ -0,0 +1,925 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.ttf new file mode 100644 index 000000000..31ae513fc Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.woff new file mode 100644 index 000000000..d701f8355 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabMed-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.eot new file mode 100644 index 000000000..587447326 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.svg new file mode 100644 index 000000000..06eee59b6 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.svg @@ -0,0 +1,925 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.ttf new file mode 100644 index 000000000..0dba6e55c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.woff new file mode 100644 index 000000000..de5a60215 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/ColabReg-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.eot new file mode 100644 index 000000000..36cc1723e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.svg new file mode 100644 index 000000000..aad89d29e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.svg @@ -0,0 +1,2982 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.ttf new file mode 100644 index 000000000..b70f02dfd Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.woff new file mode 100644 index 000000000..fb9266269 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Bold-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.eot new file mode 100644 index 000000000..e6afcce5e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.svg new file mode 100644 index 000000000..bc742a59f --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.svg @@ -0,0 +1,2377 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.ttf new file mode 100644 index 000000000..1e33effd4 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.woff new file mode 100644 index 000000000..8a67563bf Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-BoldOblique-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.eot new file mode 100644 index 000000000..f70aaf515 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.svg new file mode 100644 index 000000000..6dfb12528 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.svg @@ -0,0 +1,2504 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.ttf new file mode 100644 index 000000000..44a47e764 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.woff new file mode 100644 index 000000000..96247734c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-Oblique-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.eot b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.eot new file mode 100644 index 000000000..34443480f Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.eot differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.svg b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.svg new file mode 100644 index 000000000..7a0db7bfc --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.svg @@ -0,0 +1,3171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.ttf b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.ttf new file mode 100644 index 000000000..aca46cbd6 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.ttf differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.woff b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.woff new file mode 100644 index 000000000..011204356 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/fonts/DejaVuSansMono-webfont.woff differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-add.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-add.png new file mode 100644 index 000000000..0d423a37e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-add.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-delete.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-delete.png new file mode 100644 index 000000000..fc710bbff Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-delete.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-edit.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-edit.png new file mode 100644 index 000000000..9bbd4dcf5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-edit.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-return.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-return.png new file mode 100644 index 000000000..1a06e0eed Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action-return.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action.png new file mode 100644 index 000000000..e7aa040a2 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/action.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-checked.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-checked.gif new file mode 100644 index 000000000..abfe86602 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-checked.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-grey-checked.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-grey-checked.gif new file mode 100644 index 000000000..16fcc90ca Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-grey-checked.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-grey-unchecked.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-grey-unchecked.gif new file mode 100644 index 000000000..c5175af82 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-grey-unchecked.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-unchecked.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-unchecked.gif new file mode 100644 index 000000000..2ef997f1c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/checkbox-unchecked.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/collapse.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/collapse.png new file mode 100644 index 000000000..f0a5460e4 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/collapse.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/expand.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/expand.png new file mode 100644 index 000000000..6148bb215 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/expand.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/gray-triangle-down.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/gray-triangle-down.gif new file mode 100644 index 000000000..3ee21b373 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/gray-triangle-down.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/gray-triangle-up.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/gray-triangle-up.gif new file mode 100644 index 000000000..3adf5bc33 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/gray-triangle-up.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/treeNode.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/treeNode.png new file mode 100644 index 000000000..302370b5c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/bebop/treeNode.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/activeTab.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/activeTab.png new file mode 100644 index 000000000..dcb30e88c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/activeTab.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/admin-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/admin-current.png new file mode 100755 index 000000000..cd09908a2 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/admin-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/admin.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/admin.png new file mode 100755 index 000000000..0b549220f Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/admin.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/arrowDown.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/arrowDown.gif new file mode 100644 index 000000000..c2f77671b Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/arrowDown.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/arrowUp.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/arrowUp.gif new file mode 100644 index 000000000..abfcb41ea Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/arrowUp.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/benutzerprofile.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/benutzerprofile.png new file mode 100755 index 000000000..217c0469b Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/benutzerprofile.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/browse-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/browse-current.png new file mode 100755 index 000000000..2f574af71 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/browse-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/browse.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/browse.png new file mode 100755 index 000000000..182aad484 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/browse.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categories-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categories-current.png new file mode 100755 index 000000000..d99136c03 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categories-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categories.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categories.png new file mode 100755 index 000000000..fa7a84c6d Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categories.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryAbstract.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryAbstract.gif new file mode 100644 index 000000000..c5175af82 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryAbstract.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryCollapse.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryCollapse.png new file mode 100755 index 000000000..b145022f6 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryCollapse.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryDelete.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryDelete.png new file mode 100644 index 000000000..722b8976a Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryDelete.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryExpand.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryExpand.png new file mode 100644 index 000000000..8be4f1dfd Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryExpand.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryNode.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryNode.png new file mode 100644 index 000000000..59d7592b0 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryNode.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categorySelected.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categorySelected.gif new file mode 100644 index 000000000..abfe86602 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categorySelected.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categorySelectedDisabled.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categorySelectedDisabled.gif new file mode 100644 index 000000000..16fcc90ca Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categorySelectedDisabled.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryUnselected.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryUnselected.gif new file mode 100644 index 000000000..2ef997f1c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/categoryUnselected.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contentcenter-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contentcenter-over.png new file mode 100755 index 000000000..28472be8e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contentcenter-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contentcenter.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contentcenter.png new file mode 100644 index 000000000..32eb8c5a5 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contentcenter.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contenttypes-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contenttypes-current.png new file mode 100755 index 000000000..788d5bd9e Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contenttypes-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contenttypes.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contenttypes.png new file mode 100755 index 000000000..86c857348 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/contenttypes.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/cse-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/cse-current.png new file mode 100755 index 000000000..7f9fcd693 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/cse-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/cse.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/cse.png new file mode 100755 index 000000000..e14fb7f82 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/cse.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/delete-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/delete-over.png new file mode 100755 index 000000000..9e47d74b1 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/delete-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/delete.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/delete.png new file mode 100755 index 000000000..43f3004d7 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/delete.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/dokumente.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/dokumente.png new file mode 100755 index 000000000..2f574af71 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/dokumente.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/dokumenttype.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/dokumenttype.png new file mode 100755 index 000000000..685dead3a Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/dokumenttype.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/gesperrt-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/gesperrt-over.png new file mode 100755 index 000000000..64de4b1a0 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/gesperrt-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/gesperrt.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/gesperrt.png new file mode 100755 index 000000000..ddf6cc04d Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/gesperrt.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/headerBackground.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/headerBackground.png new file mode 100644 index 000000000..7357847e9 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/headerBackground.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/help-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/help-over.png new file mode 100755 index 000000000..28b211f2d Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/help-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/help.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/help.png new file mode 100644 index 000000000..211775441 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/help.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/home-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/home-over.png new file mode 100755 index 000000000..b801b8568 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/home-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/home.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/home.png new file mode 100644 index 000000000..0feaf3912 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/home.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/images-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/images-current.png new file mode 100755 index 000000000..944e951c9 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/images-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/images.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/images.png new file mode 100755 index 000000000..e062d0c73 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/images.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/infos-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/infos-over.png new file mode 100755 index 000000000..73cd449a2 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/infos-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/infos.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/infos.png new file mode 100755 index 000000000..abab53da7 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/infos.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lifecycles-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lifecycles-current.png new file mode 100755 index 000000000..a2b37ec27 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lifecycles-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lifecycles.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lifecycles.png new file mode 100755 index 000000000..62327c651 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lifecycles.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lock.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lock.png new file mode 100644 index 000000000..d87e6a319 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/lock.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/nichtGesperrt-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/nichtGesperrt-over.png new file mode 100755 index 000000000..1accd1a90 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/nichtGesperrt-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/nichtGesperrt.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/nichtGesperrt.png new file mode 100755 index 000000000..a91a9faf9 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/nichtGesperrt.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/preview.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/preview.png new file mode 100644 index 000000000..adefe3386 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/preview.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/reports-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/reports-current.png new file mode 100755 index 000000000..8e10e4013 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/reports-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/reports.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/reports.png new file mode 100755 index 000000000..752c6b138 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/reports.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/roles-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/roles-current.png new file mode 100755 index 000000000..05f7d51d9 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/roles-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/roles.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/roles.png new file mode 100755 index 000000000..b1e30d47c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/roles.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/search-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/search-current.png new file mode 100755 index 000000000..8fc0260c1 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/search-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/search.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/search.png new file mode 100755 index 000000000..4f70d2eaa Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/search.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/taskssections-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/taskssections-current.png new file mode 100755 index 000000000..0b10fae8b Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/taskssections-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/taskssections.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/taskssections.png new file mode 100755 index 000000000..f1fe8534f Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/taskssections.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/validate-over.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/validate-over.png new file mode 100755 index 000000000..ef015c1e1 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/validate-over.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/validate.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/validate.png new file mode 100755 index 000000000..5c21f1722 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/validate.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/weiter.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/weiter.png new file mode 100755 index 000000000..218415b57 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/weiter.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/workflows-current.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/workflows-current.png new file mode 100755 index 000000000..182c09c76 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/workflows-current.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/workflows.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/workflows.png new file mode 100755 index 000000000..0cde6ae5f Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/cms/workflows.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/scientificcms_logo.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/scientificcms_logo.png new file mode 100644 index 000000000..e3acc9efb Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/scientificcms_logo.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/scrumb.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/scrumb.png new file mode 100755 index 000000000..c4ceca67c Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/scrumb.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/action.png b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/action.png new file mode 100644 index 000000000..85d843485 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/action.png differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/score-empty.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/score-empty.gif new file mode 100755 index 000000000..27230c8fe Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/score-empty.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/score-full.gif b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/score-full.gif new file mode 100755 index 000000000..0da007416 Binary files /dev/null and b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/images/search/score-full.gif differ diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib.xsl new file mode 100644 index 000000000..aa0101da8 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop.xsl new file mode 100644 index 000000000..896b4a340 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop.xsl @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/action-group.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/action-group.xsl new file mode 100644 index 000000000..c7fc233ba --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/action-group.xsl @@ -0,0 +1,77 @@ + +]> + + + + + + + + + + + + + + +
    + +
    +
    + + + + +
    + +
    +
    + + + + +
    + + + + + + + + + + + + + + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/context-bar.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/context-bar.xsl new file mode 100644 index 000000000..d1af2efe6 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/context-bar.xsl @@ -0,0 +1,80 @@ + +]> + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/debug.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/debug.xsl new file mode 100644 index 000000000..d4ab21320 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/debug.xsl @@ -0,0 +1,75 @@ + +]> + + + + + + + + + + + + + + +

    + Bebop Page Structure +

    + +
    + + + + + + + + + + + + +
    + Please correct the following errors: +
    +
      + +
    • + + + +
    • +
      +
    +
    +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/double-click-protection.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/double-click-protection.xsl new file mode 100644 index 000000000..7122f410e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/double-click-protection.xsl @@ -0,0 +1,84 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/editors.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/editors.xsl new file mode 100644 index 000000000..fbdf4ed5b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/editors.xsl @@ -0,0 +1,323 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/form.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/form.xsl new file mode 100755 index 000000000..b309e1c52 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/form.xsl @@ -0,0 +1,74 @@ + +]> + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + post + + + + + +
    + + + + + + + +
    +
    + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/image.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/image.xsl new file mode 100644 index 000000000..378d4965b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/image.xsl @@ -0,0 +1,51 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/label.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/label.xsl new file mode 100644 index 000000000..711246bba --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/label.xsl @@ -0,0 +1,256 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + javascript + + + + + + + + + + + + + + + + + + + + +
    +            
    +                
    +                    
    +                
    +                
    +                    
    +                
    +            
    +        
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {$alt} + + + + + + + no + + + + + + + + + + + + + + + + + + + + font-weight:bold; + + + font-style:italic; + + + font-style:italic;font-weight:bold; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + no + + + + + + + + + + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/link.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/link.xsl new file mode 100644 index 000000000..cd0cf24f0 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/link.xsl @@ -0,0 +1,108 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + this.href=' + + '; + + + + + + + + + doubleClickProtect(this); + + + + + + + + + + + + + + + + + + + + + + + {$alt} + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/list.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/list.xsl new file mode 100644 index 000000000..28109dbff --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/list.xsl @@ -0,0 +1,93 @@ + +]> + + + + + + + + + + + + + + + + + + + + +
      + + +
    +
    +
    + +
    + + + + +
    + + +
    +
    + + + + +
  • + +
  • +
    + + + + + + + + + + + + + + + > + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/padding.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/padding.xsl new file mode 100644 index 000000000..3ae6d81d9 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/padding.xsl @@ -0,0 +1,69 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/page.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/page.xsl new file mode 100644 index 000000000..3386f0d6c --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/page.xsl @@ -0,0 +1,66 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/panel.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/panel.xsl new file mode 100644 index 000000000..3d07f1fce --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/panel.xsl @@ -0,0 +1,224 @@ + +]> + + + + + + + + + + + + + +
    + +
    +
    + + + + +
    + +
    +
    + + + + +
    + +
    +
    + + + + +
    + + + +
    +
    + + + + +
    + + + +
    +
    + + + + +

    + +

    +
    + + + + +
    + +
    +
    + + + + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + + + + + + + +
      + +
    +
    + + + + +
    + +
    +
    + + + + +
    + +
    +
    + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/property-list.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/property-list.xsl new file mode 100644 index 000000000..85be0c725 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/property-list.xsl @@ -0,0 +1,63 @@ + +]> + + + + + + + + + + + + + + +
    + + +
    +
    + + + + + + + + +   + + + +
    +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/system-information.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/system-information.xsl new file mode 100644 index 000000000..bfad7f64f --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/system-information.xsl @@ -0,0 +1,54 @@ + +]> + + + + + + + + + + + + + + + + + + +   + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/tabbed-pane.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/tabbed-pane.xsl new file mode 100644 index 000000000..523e210d0 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/tabbed-pane.xsl @@ -0,0 +1,125 @@ + +]> + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    + + + + + + + + + + +
      + +
    +
    + + + +
    +
    + + + + +
  • + +
  • +
    + + + + + + + +   + + + + + + + bebopTab + + + current + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/table.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/table.xsl new file mode 100644 index 000000000..0e6c5a679 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/table.xsl @@ -0,0 +1,176 @@ + +]> + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bebop-table-row-odd + + + bebop-table-row-even + + + bebop-table-row + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/tree.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/tree.xsl new file mode 100644 index 000000000..f3ad2a394 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/tree.xsl @@ -0,0 +1,92 @@ + +]> + + + + + + + + + + + + + + + + + + + + +
  • + + + + [-] + + + + +   + +
      + +
    +
    + + + [+] + + + + +   + + + +      + + +
    +
  • +
    + +
    + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/widget.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/widget.xsl new file mode 100644 index 000000000..9e385f0f8 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/bebop/widget.xsl @@ -0,0 +1,267 @@ + +]> + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + + + + + + + + +   + + + + + + + +
    +
    + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + doubleClickProtect(this); + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + +
    +
    + + + +
    + + + + + + + + + + + + +
    +
    + + +
    + + + + + +
    +
    + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms.xsl new file mode 100644 index 000000000..3779ce831 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms.xsl @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/image.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/image.xsl new file mode 100644 index 000000000..1254c48df --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/image.xsl @@ -0,0 +1,111 @@ + + + + + + + +
    + {./@name} + + +
    + + + + + + + +
    +
    + + + + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    + + + + + + + +
    +
    + + + + + + + + +
    +
    +
    + +
    + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/item-summary.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/item-summary.xsl new file mode 100644 index 000000000..79815caea --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/item-summary.xsl @@ -0,0 +1,308 @@ + + + + + + + + +
    +

    + +

    + +
    +
    + + + + + + +
    +
    +
    + + + + + + +
    +
    + + + + + + +
    + +
    + + + + + + +
    +
    + +
    + + + +
    + + + + + + +
    +
    + + + + + + + + +
    +

    + +

    +
    + +
    +
    +
    + + + + + + + + +
    +

    + +

    +
    + + + +
    +
    +
    + + + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + +
    +

    + +

    +
    + + + + + + +
    +
    +
    + + + + +
    + + + + + + ( + + ) + + + + + + + + + + +
    +
    + + + + + + +
    + + + +
    +
    +
    + + + +
    +

    + +

    +
    +
    + + + + + + +
    + +
    + + + + + + +
    +
    +
    +
    + + + +
    + + + + + + + + + + + + + + + + +
    +
    + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/notes.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/notes.xsl new file mode 100644 index 000000000..294f3c404 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/notes.xsl @@ -0,0 +1,95 @@ + +]> + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/tasks-panel.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/tasks-panel.xsl new file mode 100644 index 000000000..8129f5620 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/cms/tasks-panel.xsl @@ -0,0 +1,123 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/formbuilder.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/formbuilder.xsl new file mode 100644 index 000000000..c52d0176a --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/formbuilder.xsl @@ -0,0 +1,608 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + +
    +
    + + +
    + + + + + +
    +
    + + +
    + + + + + + + + + + + +
    +
    + + + + +
    + + + + + + +
    + +
    + + + +
    + +
    +
    + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    +
    + + + +
    +
    +
    + + + + + + +
    + + + + + + checkbox + + + + + radio + + + + +
    +
    + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + label mandatory + + + + + + + + + title mandatory + + + + + + + + + +
    + + + + other + + + + + + + + + + + + + option + + + + + + checkbox + + + + + radio + + + + + + + + + + + + + + + +
    +
    + +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl new file mode 100644 index 000000000..bf023d119 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/global-vars.xsl @@ -0,0 +1,317 @@ + + + + + ]> + + + + + + + Global/environment variables + +

    + Global variables either provided by the calling CCM instance or by Foundry itself. +

    +
    +
    + + + + +

    + The version of Foundry. Kept in sync with the version of CCM, so the first version + was be 2.2.3. +

    +
    +
    + + + + +

    + The mode of the theme. If the theme is standalone theme, the value is + master. If the theme is a child theme the value is child. +

    +
    +
    + + + + + +

    + The master theme of the current if the theme is a child theme. if theme is direct + child of the Foundry base theme the value is foundry. Otherwise it is + the name of master theme. +

    +
    +
    + + + + + + + +

    + The path the to theme file. This path is used at several points to load files which are + part of the theme, like CSS files, images and fonts. +

    +
    +
    + + + + +

    + The context prefix in which CCM is installed. If CCM is installed into the ROOT context + of the servlet container, this variable will be empty. +

    +
    +
    + + + + +

    + The path on which the CCM dispatcher Servlet is mounted. Usually this is + CCM. +

    +
    +
    + + + + +

    + The name of user currently login in CCM. +

    +
    +
    + + + + + + + + + + + + +

    + This variable stores the XML created by CCM for later access. +

    +
    +
    + + + + +

    + This variables stores the XML definition of the Foundry documentation. +

    +
    +
    + + + + + + + +

    + Activate double click protection on buttons? +

    +
    +
    + + + + +

    + Activate double click protection on links? +

    +
    +
    + + + + + + + + + +

    + The language negotiated between CCM and the user agent. +

    +
    +
    + + + The language to use as negotiated by CCM. + + + + + + + + + + + + + + + + + + + + + +

    + The languages supported by this theme. They are configured in + conf/global.xml using the <supported-languages> + element. Example for german and english: +

    +                <?xml version="1.0"?>
    +                <foundry:configuration>
    +                    …
    +                    <supported-languages default="de">
    +                        <language locale=de">
    +                        <language locale=en">
    +                    </supported-languages>
    +                    …
    +                </foundry:configuration>
    +                
    +

    +
    +
    + + + + +

    + The language to use by theme engine for static texts etc. The language is determined + as follows: +

    +
      +
    • If the negotiated language is also in the supported-languages
    • +
    • If not the language which set by the default attribute of the + <supported-languages> is used, but only if this language + is in the supported languages.
    • +
    • Otherwise the first of the supported languages is used.
    • +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/navigation.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/navigation.xsl new file mode 100644 index 000000000..57ccd5d2d --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/navigation.xsl @@ -0,0 +1,28 @@ + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/navigation/quick-links.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/navigation/quick-links.xsl new file mode 100644 index 000000000..03c537408 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/navigation/quick-links.xsl @@ -0,0 +1,92 @@ + + + + + + +

    + +

    + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    +
    + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search.xsl new file mode 100644 index 000000000..b09048450 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/documents.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/documents.xsl new file mode 100644 index 000000000..a0b5e0bb4 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/documents.xsl @@ -0,0 +1,136 @@ + +&nbsp;'>]> + + + + + + + + + + +
      + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    + + + +
    + +
    +
    + +
    +
      + +
    +
    +
    +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/filter.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/filter.xsl new file mode 100644 index 000000000..fce4912c8 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/filter.xsl @@ -0,0 +1,498 @@ + +]> + + + + + + + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + +
    + + + + + +
    + + + + + + checked + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/filterControls.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/filterControls.xsl new file mode 100644 index 000000000..9eb28bdf9 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/filterControls.xsl @@ -0,0 +1,431 @@ + + ]> + + + + + + + + +
    + UTF-8 + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    +
    +
    + +
    + + +
    + + + + + + + +
    +
    + + + + +
    + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + text + 20 + 512 + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + selected + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + 42 + selectedCategories + 1024 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/object.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/object.xsl new file mode 100644 index 000000000..75d8f8327 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/object.xsl @@ -0,0 +1,190 @@ + +]> + + + + + + + + + +
  • + + +
    + + + +
    + + + + + % + + % + +
    +
    + + % + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    +
  • +
    + + + + + +
    + + + result even + + + result odd + + + + + + +
    + +
    + + + + + % + + % + +
    +
    +
    + + % + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/paginator.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/paginator.xsl new file mode 100644 index 000000000..1497d1c4e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/paginator.xsl @@ -0,0 +1,149 @@ + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/partyText.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/partyText.xsl new file mode 100644 index 000000000..ef6d006e8 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/partyText.xsl @@ -0,0 +1,65 @@ + +]> + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/query.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/query.xsl new file mode 100644 index 000000000..818438a8a --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/query.xsl @@ -0,0 +1,91 @@ + +]> + + + + + + + + + + + + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/results.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/results.xsl new file mode 100644 index 000000000..bdb01f391 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/results.xsl @@ -0,0 +1,67 @@ + +]> + + + + + + + + + +
    + + | + +
    + + + + + + + + +
    + + | + +
    +
    + + +
    + +
    +
    +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/terms.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/terms.xsl new file mode 100644 index 000000000..9a3b3df06 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/search/terms.xsl @@ -0,0 +1,61 @@ + +]> + + + + + + + + + + + + + + + + + + +
    + +
    +
    + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl new file mode 100644 index 000000000..47d0e758a --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-parser.xsl @@ -0,0 +1,884 @@ + + + + ]> + + + + + + Root template tags + +

    + These tags are the root elements of a layout template. +

    +
    +
    + + + +

    + Root element of a template. Generates the + <html> root element. +

    +
    +
    + + + + + + + + + cms + + + site + + + + + + + + + +

    + Root element of an extending template. The extends + attribute is required and points to the template which is + extended by the layout. Only the block elements + in the layout are processed. The master layout must contain + matching insert-block elements. +

    +

    + Technically the master template is processed first and the + extending layout is passed as parameter. The master layout +

    +
    + #block + #insert-block +
    + + + + + + + + + +

    + The element is used in a master layout to insert a block + from an extending template. +

    +
    +
    + + + + + + + + + + +

    + Root element for generating a HTML fragment instead of a complete HTML document. +

    +
    +
    + + + + + + + + +

    + This element allows it to include template fragments into a template. The element + has two attributes. The file attribute is mandatory and contains + the path the fragment to include, relative to the template directory. + The internal attribute is optional. If set to true the + fragment is loaded from the internal template directory. +

    +

    + For example <include file="fragments/footer.xml"< will include + the file templates/fragments/footer.xml. If the internal + attribute is set to true the file + foundry/templates/fragments/footer.xml would be included. +

    +

    + An fragment template file included using this element using this element must + contain a fragment-layout element as root. +

    +
    + + +

    + Path of the file to include, relative to the templates directory. +

    +
    + +

    + If set to true the template fragment file is loaded from the + internal template directory. +

    +
    +
    +
    + + + + + + + + + + + + + +

    + The layout node to use. Defaults the the current node. +

    +
    + +

    + The attributes to copy separated by an empty space. For example: + autofocus disabled form formaction formenctype formmethod formnovalidate formtarget name type value. +

    +
    + +

    + A helper template for copying attributes from the layout tree to the result tree. +

    +
    +
    + + + + + + + + + + + +

    + The layout node to use. Defaults the the current node. +

    +
    + +

    + Helper template for copying data- attributes from the the layout XML + to the HTML result tree. +

    +
    + http://www.w3.org/TR/html5/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes +
    + + + + + + + + +

    + Variant of foundry:gen-src-url without the parameters string + parameter. +

    +
    +
    + + + + + + + + + +

    + The raw URL to process. +

    +
    + +

    + Parameters to append to the URL. +

    +
    +
    + +

    + The processed URL. +

    +
    + +

    + Processes a given URL for use in the src attribute of an + audio, img or video element. The function + distigushes between this cases: +

    +
    +
    The URL starts with http:// or https://
    +
    + In this case the URL is threated as an absolute URL pointing to a resource + outside of CCM. If any parameters are passed to the function they are appended + to the URL. +
    +
    The URL starts with a slash (/)
    +
    + In this case the URL points to a resource managed by the CCM which also + manages the theme. In this case the URL is prefixed with the + dispatcher-prefix and the parameters, if any, are appended. +
    +
    Other cases
    +
    + If none of the two other cases match the URL points to a URL in the theme. In + this case the URL is processed by the + + gen-path + function. The parameters, if any + are appended. +
    +
    +

    + If parameters are passed to this function they are appended to the URL. The + parameters are passed as string formatted as URL parameters, for example + foo=hello&bar=world. A leading ? or & + is removed before adding the string the URL. If the URL already contains parameters + (if the URL contains a ?) the paramters string is added with a leading + ampersand (&). If not the parameters are appended using a + ? character. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Helper functions for generating the name of the colorset class. + + + + + + + + + + + + + Helper functions for retrieving the name of the content type of the current content item + from the result tree XML. + + + + + + + + + Helper template for processing arrows/links for sorting items. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Helper template for processing additional attributes in the data tree XML. They copied + literally from the XML the HTML. + + + + + + + + + + + + + + + + + + + + + + + + +

    + The layout node to process. Default the the current node. +

    +
    + +

    + Additional attributes to copy from the layout tree. data attributes + (e.g.data-toggle) are + copied automatically. Also id and class are already + processed by this template. +

    +
    + +

    + A convenient helper template which calls three other helper templates: +

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The name of the template file to process. + + + This template is the entry point for the template parser. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Helper template for setting the id and class attributes + on a HTML element. +

    +
    + + +

    + ID to set. +

    +
    + +

    + (Additional) Classes to set. +

    +
    + +

    + Current node from the layout files. +

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags.xsl new file mode 100644 index 000000000..e896af7b9 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags.xsl @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin.xsl new file mode 100644 index 000000000..104396d31 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin.xsl @@ -0,0 +1,35 @@ + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin/cms.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin/cms.xsl new file mode 100644 index 000000000..e66ca5865 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin/cms.xsl @@ -0,0 +1,560 @@ + + + ]> + + + + + +
    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + +
    • + +
    • +
      +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    + +
    + + + +
    + + + +
    +
    + + + + + + +
    + +
    +
    + + + + + + +
    + +
    +
    + +
      + + + +
    +
    +
    +
    +
    +
    + + + + + +
  • + + + + + [X] + + +   + + + + + + + +
  • +
    + + + + + + + + +
      + +
    + + + +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  • + + + + + catBranchToggle + + + catToggle + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + +  + + + + +   + + + + + + [X] + + + + + +    + + + + + + [ ] + + + + + +   + + + + +
      + + + + + + + + + + + + + + + + + + + +
    +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
      + +
    +
    +
    + + + + +
  • + + + + + + + ⬆ + + + +   + + + + + + + + ⬇ + + + +   + + + + + + +
  • +
    +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin/common.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin/common.xsl new file mode 100644 index 000000000..d4743c0f5 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/admin/common.xsl @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + +
    + + + + + + + + + +
    + + + + + + + + + + + + +
    +
    + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items.xsl new file mode 100644 index 000000000..8ec4fd2c2 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items.xsl @@ -0,0 +1,997 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tags for displaying Content Items + + +

    + These tags are common tags for displaying Content Items. + For most Content Types there are special tags provided by other + files. +

    +
    +
    + + + +

    + The content-item element with the attribute + mode set to detail or without the + attribute inserts the HTML representation of the detail view of + the current content item. The content item can either be the + greeting item or normal item. +

    +

    + The HTML representation of a content item is defined using + special templates with the contentitem-layout + element as root. Usually these templates are located in the + templates/content-items folder. Which template is + used for a particular content item is defined by the + conf/templates.xml file. In this file there is a + content-items element below the + templates element. The association between + templates and content items is described by the + content-item elements in the + content-items element. The + content-item has four optional attributes + (at least on must be present) which are used to limit the + content items for which a template is used. The four attributes + are: +

    +
    +
    + oid +
    +
    + Limit the use of the template to a specific content item, + identified by its OID (the OID of the master version). Can't + be used in combination with the other attributes. +
    +
    + content-section +
    +
    + The name of the content section to which the item belongs. + Can be used in combination with the category + and content-type attributes. +
    +
    + category +
    +
    + The template is only used for the content item if the item + is viewed as item of the category. The category is set as + a path containing the names the categories. +
    +
    + content-type +
    +
    + The content-type of the item. +
    +
    +
    + + + The template system + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + The content-item with the mode + attribute set to link insert the HTML + representation of a content item. In this case the content item + to show is provided using by a XSL parameter which has to be + provided by a surrounding tag like related-link. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + The content-item element with the mode + attribute set to list inserts the HTML + representation of the the list view of a content item. The list + view is primarily used in object lists. +

    +

    + As for the detail view, the HTML representation of the list view + of a conten item is defined using special templates with the + contentitem-layout element as root. Usually these + templates are located in the + templates/content-items folder. Which is used for a + particular content item is defined in the + conf/templates.xml file. In this file there is a + content-items element below the + templates element. +

    +

    + There three attributes which can be used to define in which + cases a specific template is used: +

    +
    +
    style
    +
    + Used to select a specific style for the list view of the + item. To select a style add a style attribute + to the content-item attribute in the + application layout file. +
    +
    content-type
    +
    The content-type of the item.
    +
    + category +
    +
    + The template is only used for the content item if the item + is viewed as item of the category. The category is set as a + path contains the names the categories. +
    +
    +
    + + The template system + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Root element for the layout templates describing a content item + layout. +

    +
    +
    + + + + + + + + + + +

    + Show the title of the current content item. +

    +
    +
    + + + + + + + + + + + + + + + +

    + Provides a link to content item itself. Useful if a content item + is shown using a portlet and you want to create a link to the + normal detail view of the item. +

    +
    +
    + + + + + + + + + + +

    + Generic tag to test if a content item has a specific property. + The tags enclosed by if-property are only + processed if the content item has a property with the provided + name. +

    +
    +
    + + + + + + + + + + + + + + + + + +

    + Generic tag to show the value of the property with the + specified name. This tag can be used if there are no special + tags for a content type. +

    +
    + + + Generic tag for showing date properties + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Generic tag for showing date properties. The format of the + date is configured using one or more date-element + inside this tag. +

    +
    + + + Generic tag for showing properties. + + + + + How to format date values in Foundry. + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Provides the href for creating a link to edit the current item in the + content centre if the current user is logged in and has the permission to edit the + item. +

    +

    + To use this feature put the following snippet like the following into the + templates for the content items in your theme: +

    +
    +                <edit-link>
    +                    <div class="edit-link">
    +                        <a>
    +                            <a>
    +                                &#x270e;
    +                            </a>
    +                        </a>
    +                    </div>
    +                </edit-link>
    +            
    +

    + The example uses an UTF-8 character from the Dingbats block (a pencil). + You can of course use another character, text or an image. To + reduce the amount of code needed you may add a fragment template and include this + template using the include tag. +

    +

    + You also have to include styles for the edit link into your theme. + The foundry-base theme, for example, puts the edit link the top right + corner of the area which shows the content item. This is done by the following + styles: +

    +
    +                /* Sets the reference point for position: absolute 
    +                to the main element block */
    +                main {
    +                position: relative;
    +                }
    +
    +                /* Don't show the edit link on a first glance */
    +                main .edit-link {
    +                display: none;
    +                }
    +
    +                /* Display the edit link in the top right corner 
    +                of the content item area if the cursor is in 
    +                the content item area */
    +                main:hover .edit-link {
    +                display: block; 
    +                position: absolute;
    +                right: 0;
    +                top: 0;
    +                font-size: 30px;
    +                color: #0776a0;
    +                /* Blue border around the link */
    +                border: 1px solid #0776a0; 
    +                /* Make the link 32px in width and height */
    +                width: 32px; 
    +                height: 32px;
    +                text-align: center;
    +                }
    +
    +                /* Remove default decoration for links */
    +                main:hover .edit-link a:link,
    +                main:hover .edit-link a:hover,
    +                main:hover .edit-link a:active, 
    +                main:hover .edit-link a:visited {
    +                color: #0776a0;
    +                text-decoration: none;
    +                }
    +
    +            
    +
    +
    + + + + + + + + + + + + + + + + + + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/article.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/article.xsl new file mode 100644 index 000000000..4955a6d65 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/article.xsl @@ -0,0 +1,75 @@ + + + + + + Tags for ccm-cms-types-article + +

    + The tags in these file are used to display the content + elements of ccm-cms-types-article. +

    +
    +
    + + + +

    + Outputs the lead text of a article. +

    +
    +
    + + + + + + + + + + + + + + + +

    + Outputs the main text of a article. +

    +
    +
    + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl new file mode 100644 index 000000000..3cc75d63b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/file-attachments.xsl @@ -0,0 +1,181 @@ + + + ]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl new file mode 100644 index 000000000..2ead85c36 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl @@ -0,0 +1,246 @@ + + + ]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl new file mode 100644 index 000000000..9bb0eecf3 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl new file mode 100644 index 000000000..43309b646 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl @@ -0,0 +1,181 @@ + + + + + + + +

    + Root element to create the list of related links assigned to an + content item +

    +
    +
    + + + + + + + + + + + + + + + + + + + +

    + This tag wraps the HTML to display a single related link. The + tag also adds the parameters required to create the link into + the environment, for example the URL (href) of the related link. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Outputs the title of a related link. +

    +
    +
    + + + + + + + + +

    + Outputs the description of a related link. +

    +
    +
    + + + + + + + + +

    + Outputs the title of the target item of an internal related + link. +

    +
    +
    + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/bookmark.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/bookmark.xsl new file mode 100644 index 000000000..12a397bbf --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/bookmark.xsl @@ -0,0 +1,107 @@ + + + + + + Tags for ccm-cms-types-bookmark + +

    + Tags for outputting data from the + ccm-cms-types-bookmark content type. +

    +
    +
    + + + +

    + Outputs the description of a bookmark. +

    +
    +
    + + + + + + + + + + + + + + + +

    + Extracts the URL of the bookmark and passes the URL to the child + tags. +

    +
    +
    + + + + + + + + + + + + + + + + + + + +

    + Outputs the URL of the bookmark as text. +

    +
    +
    + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl new file mode 100644 index 000000000..64b7b3fb6 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl @@ -0,0 +1,308 @@ + + + + + + + Tags for ccm-cms-types-contact + + +

    + These tags are used to output the information of a contact + content item. +

    +
    +
    + + + +

    + Root tag for displaying data from the person item which is + assigned to a contact item. +

    +
    +
    + + + + + + + + + + +

    + Root tag for outputting the contact entries of a contact. +

    +
    +
    + + + + + + + + + + + + +

    + This tag is used to output a specific contact entry. +

    +
    + + +

    + The key of the contact entry to show. The tag itself does + not generate any output. It only extracts the informations + for the contact entry and passes them to its child tags. +

    +
    +
    +
    + + + + + + + + + + + + + + + +

    + Outputs the label of the contact entry as provided in data tree. +

    +
    +
    + + + + + + + + +

    + Outputs the data of the contact entry. If the value starts + with +

    +
      +
    • + http:// +
    • +
    • + https:// +
    • +
    • + www +
    • +
    +

    + and the autolink attribute is not set to + false the entry rendered as link, otherwise + as text. +

    +

    + Likewise if the value contains and @ character + and the autolink attribute is not set to + false the entry rendered as E-Mail link. +

    +
    + + +

    + If set to true or if not present URLs + are automatically converted to HTML links. If set to + false URLs are displayed as text. +

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + +

    + Outputs the value of a contact entry as link. This used if the + automatic link detection of the contact-entry-value + tag does not work. +

    +
    +
    + + + + + + + + + + +

    + Root tag for outputting the address assigned to contact item. +

    +
    +
    + + + + + + + + + + + + +

    + Outputs the address text property of an address assigned to + a contact item. +

    +
    +
    + + + + + + + + +

    + Outputs the postal code property of an address assigned to + a contact item. +

    +
    +
    + + + + + + + + +

    + Outputs the city property of an address assigned to + a contact item. +

    +
    +
    + + + + + + + + +

    + Outputs the state property of an address assigned to + a contact item. +

    +
    +
    + + + + + + + + +

    + Outputs the country property of an address assigned to + a contact item. +

    +
    +
    + + + + + + + + +

    + Outputs the iso country code property of an address assigned to + a contact item. +

    +
    +
    + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/decisiontree.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/decisiontree.xsl new file mode 100644 index 000000000..0582c19c7 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/content-items/decisiontree.xsl @@ -0,0 +1,247 @@ + + + + + + Tags for displaying a Decisiontree item + +

    + The tags are used to configure the output of the decisiontree item. For technical + reasons it is not yet possible to customise the HTML for the decisiontree + completely. +

    +

    + For title and description of the decisiontree the standard tags can be used. +

    +
    +
    + + + +

    + Root element for outputting the current section of a decisiontree. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + +

    + Outputs the title of the current section of a decisiontree. +

    +
    +
    + + + + + + + + +

    + Outputs the instructions for the current section of a decisiontree. +

    +
    +
    + + + + + + + + +

    + Outputs the options for the current section of a decisiontree. This tag outputs + a complete HTML form because the current implementation of the decisiontree does not + provide enough information in the XML to support a fully customisable HTML. +

    +

    + Nevertheless this it is possible to customise the classes set on various of the HTML + in the created form using subelements: +

    +
    +
    + class-form +
    +
    + Classes for the form itself. +
    +
    + class-formgroup +
    +
    + Classes to set on the div surrouding each pair of a label and an + input element. +
    +
    + class-label +
    +
    + Classes to set on each label. +
    +
    + class-input +
    +
    + Classes to set on each input element. +
    +
    + class-buttons +
    +
    + Classes to set on the div surrounding the submit and cancel button. +
    +
    + class-cancel +
    +
    + Classes to set on the cancel button. +
    +
    + class-submit +
    +
    + Classes to set on the submit button. +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + Generates a HTML5 section element. + + + + + + + + + +
    + + + + + +
    +
    + + + +

    + Generates a select box in a form. The name of the select box and + the status for the disabled attribute can be provided by a surrounding + element via XSL parameters. +

    +
    + + +

    + The name of the select box control. +

    +
    + +

    + If set to true the select box is disabled. +

    +
    +
    + + + Description of the select element in the HTML5 specification. + + +
    + + + + + + + + + + + +

    + Generates a small element. +

    +
    + + + Description of the small element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a source element for use in audio and + video elements. The source URL (value of the src + attribute) can either provided by a surrounding element as XSL parameter or + via the src-static or src-property attribute. +

    +
    + + +

    + Source URL provided by a surrounding element. +

    +
    + +

    + Value of the type attribute. +

    +
    +
    + + +

    + An URL to an static resource. +

    +
    + +

    + Name of an XML node in the data-tree providing the URL of the + resource. +

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Generates a span element. + + + + + + + + + + + + + + + + + + + + + Generates a span element but only if the element has any content. + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Generates a strong element. +

    +
    + + + +
    + + + + + + + + + + + + + + + +

    + Generates a sub element. +

    +
    + + + Description of the sub element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a sup element. +

    +
    + + + Description of the sup element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a table element. +

    +
    + + + Description of the table element in the HTML5 specification. + + +
    + + + + + + + + + + +
    +
    + + + +

    + Generates a tbody element. +

    +
    + + + Description of the tbody element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a td element. +

    +
    + + + Description of the td element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + + +

    + Generates a textarea. The value may be provided as XSL parameter + by a surrounding tag. +

    +
    + + +

    + The name of the file in the texts directory which contains the + text to use as placeholder. If omitted the global.xml file is used. +

    +
    + +

    + The ID of the text to use as placeholder. +

    +
    +
    + + +

    + The value of the textarea. +

    +
    +
    + + + Description of the textarea element in the HTML5 specification. + + +
    + + + + + + + + + + +

    + Generates a tfoot element. +

    +
    + + + Description of the tfoot element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a th element. +

    +
    + + + Description of the th element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + + +

    + Generates a thead element. +

    +
    + + + Description of the thead element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a time element. +

    +
    + + + Description of the time element in the HTML5 specification. + + +
    + + + + + + + + + +

    + Generates the title in the HTML head. The other elements are allowed in the + <title> tag: +

    +
      +
    • + show-text +
    • +
    • + show-page-title +
    • +
    +
    + + + + + +
    + + + <xsl:choose> + <xsl:when test="./show-text | ./show-page-title"> + <xsl:for-each select="show-text | show-page-title"> + <xsl:apply-templates select="."/> + <xsl:if test="position() != last()"> + <xsl:value-of select="foundry:get-setting('global', + 'title/separator', + ' - ', + ../separator)"/> + </xsl:if> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="current()"/> + </xsl:otherwise> + </xsl:choose> + + + + + +

    + Generates a tr element. +

    +
    + + + Description of the tr element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a track element. +

    +
    + + + Description of the track element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Generates a u element. +

    +
    + + + Description of the u element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates an ul element. +

    +
    + + + Description of the ul element in the HTML5 specification. + + +
    + + + + +
      + + + + + +
    +
    + + + +

    + Generates an var element. +

    +
    + + + Description of the var element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + +

    + Generates a HTML5 video element. The source URL and the URL of preview + image (poster) can be provided by a surrounding element, statically in + the theme or by an property in the data tree. +

    +
    + + +

    + A static URL for the source of the video file +

    +
    + +

    + Name of property in the data tree containing the source URL. +

    +
    + +

    + A static URL for the source of the preview image +

    +
    + +

    + Name of property in the data tree containing the poster URL. +

    +
    +
    + + + Description of the video element in the HTML5 specification. + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Generates a wbr element. +

    +
    + + + Description of the wbr element in the HTML5 specification. + + +
    + + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/language.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/language.xsl new file mode 100644 index 000000000..20825bb05 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/language.xsl @@ -0,0 +1,125 @@ + + + ]> + + + + + + Language selector + +

    + The tags provided by this file can be used to create a language + selector control which allow the visitor of a site to switch + the language of the site manually. As usual, the tags itself + to not generate much HTML. Instead they only extract several + parameters from the data tree XML from CCM and pass it to their + child tags. The HTML for the language selector is completly + definied by the designer. +

    +

    + An example for a language selector: +

    +
    +                <language-selector>
    +                    <ul>
    +                        <language>
    +                            <li>
    +                                <a>
    +                                    <span>
    +                                        <language-name>
    +                                    </span>
    +                                </a>
    +                            </li>
    +                        </language>
    +                    </ul>
    +                </language-selector>
    +            
    +

    + In the example above all available languages are put into a + <ul>. The URL/value for the href + of the <a> element in provided by the + surrounding <language> tag, therefore the + <a> element in the example has no + href attribute. The name of the language is put + into a <span> to make formatting easier. +

    +
    +
    + + + +

    + Root tag for a language selector control. +

    +
    +
    + + + + + + +

    + Encloses the HTML for one specific language entry in a language + selector. +

    +
    +
    + + + + + + + + + + + + + + +

    + Outputs the name of the current language. +

    +
    +
    + + + + + + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/loaders.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/loaders.xsl new file mode 100644 index 000000000..e2aea5d17 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/foundry/foundry/lib/template-tags/loaders.xsl @@ -0,0 +1,528 @@ + + + + ]> + + + + + + Loaders + +

    + This tags are used to load resources required by the generated + HTML documents, for example CSS files and JavaScript files. +

    +
    +
    + + + +

    + Invokes the foundry CSS loader. The CSS loader will parse the file + conf/css-files.xml to determine for which CSS an + <link> element should be added to the HTML output. For a full + explanation please refer to the CSS files section. +

    +

    + If you are using LESS for + your stylesheets you can include the LESS JavaScript compiler to + compile your LESS stylesheets on the fly to CSS. To do that + you must first set the less-onthefly setting + in conf/global.xml to true. + In the conf/css-files.xml each CSS file entry + which is created from a LESS file must have a less + attribute with its value set to true. Also for + these files the file extension (.css) should be + omitted. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + +
    + + +
    +
    + + + +
    +
    + + +
    + + + + + + + +
    + + +
    + + + + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/navigation.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/navigation.xml new file mode 100644 index 000000000..924373f98 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/navigation.xml @@ -0,0 +1,81 @@ + + + + + + + + +
    +

    + +

    + + + + +
      + +
    • + +
    • +
      +
    + + + + +
    + + +
    + + + + + + + +
    + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/readme.txt b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/readme.txt new file mode 100644 index 000000000..287f6bbd5 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/readme.txt @@ -0,0 +1,11 @@ +This directory contains the layout templates which define the HTML output. +For complete description please refer to the documentation of Foundry. In +addition the files in this themes have some information as comments. + +The layout templates directly in this folder are defining the basic layout. +The files in the content-items directory contains the layout templates for +individual content types. + +The fragments directory includes several fragment templates which can be +included by the tag in the layout templates. The +fragments/assets directory contains templates for the assets. \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/sitemap.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/sitemap.xml new file mode 100644 index 000000000..514dfac5d --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/sitemap.xml @@ -0,0 +1,27 @@ + + + + + + + +
    +

    + +

    + + +
    + + + +
    + +
    \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/welcome.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/welcome.xml new file mode 100644 index 000000000..4234dd052 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/templates/welcome.xml @@ -0,0 +1,101 @@ + + + + + + + +
    + +
    +

    + +

    + + + + +

    + layout/page/main/newsList +

    +
      + +
    • + +
    • +
      +
    + + + +
    + + +
    + + + + + +
    + + + + +
    + + +
    diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/_README_ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/_README_ new file mode 100644 index 000000000..c12272ac3 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/_README_ @@ -0,0 +1 @@ +This directory contains static texts in the theme diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/agenda.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/agenda.xml new file mode 100644 index 000000000..285886a0b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/agenda.xml @@ -0,0 +1,24 @@ + + + + Teilnehmer + Attendees + + + Kontakt + Contact + + + Datum + Date + + + Ort + Location + + + Themen + Subjects + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/breadcrumbs.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/breadcrumbs.xml new file mode 100644 index 000000000..96d0891f2 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/breadcrumbs.xml @@ -0,0 +1,7 @@ + + + + Start + Start + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/cms.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/cms.xml new file mode 100644 index 000000000..00d5c4025 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/cms.xml @@ -0,0 +1,157 @@ + + + + + Willkommen + Welcome + + + + Zugewiesene Kategorien + Edit assigned categories + + + + Kategoriezuweisung ändern + Change associated categories + + + Es sind keine Kategorien dieses Kontextes zugewiesen + There are no categories assigned in this context. + + + Zuweisung aufheben + Remove assignment + + + + Item Summary + Zusammenfassung + + + Content type: + Dokumenttyp + + + Name: + Name: + + + Title: + Titel: + + + Description: + Beschreibung: + + + Subject categories: + Schlagwörter: + + + + Categories + Kategorien + + + Stable Link + Permalink + + + + Lifecyle + Lebenszyklus + + + No lifecycle + Kein Lebenszyklus definiert + + + This item is scheduled to be published on + Dieser Dokument wird am + + + and will + veröffentlicht und + + + . + entfernt werden. + + + This item was published on + Dieser Dokument wurde am + + + and expired on + veröffentlicht und + + + . + wieder entfernt. + + + This item was published on + Dieser Dokument wurde am + + + and will + veröffentlicht und wird + + + . + entfernt. + + + + Workflow + Arbeitsablauf + + + Restart editing + Erneut bearbeiten + + + No Comment + Kein Kommentar + + + + Revisions + Revisionen + + + Current Revision + Aktuelle Revision + + + Initial Revision + Ursprüngliche Revision + + + View Revision + Revision ansehen + + + + No tasks assigned + Keine zugewiesenen Aufgaben vorhanden + + + Not locked + Nicht gesperrt + + + Locked by you + Durch Sie gesperrt + + + Locked by someone else + Durch einen anderen Benutzer gesperrt + + + Not assigned + Niemandem zugewiesen + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/decisiontree.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/decisiontree.xml new file mode 100644 index 000000000..7837bc65e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/decisiontree.xml @@ -0,0 +1,11 @@ + + + + Abbrechen + Cancel + + + Weiter + Next + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/event.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/event.xml new file mode 100644 index 000000000..9ad526159 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/event.xml @@ -0,0 +1,38 @@ + + + + Beginn + Begin + + + + Ende + End + + + + Terminzusatz + Addendum + + + + Veranstaltungsort + Location + + + + Veranstalter + Hosted by + + + + Art der Veranstaltung + Type of event + + + + - + - + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/filters.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/filters.xml new file mode 100644 index 000000000..7dcadd63e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/filters.xml @@ -0,0 +1,24 @@ + + + + + Filter anwenden + Submit + + + + Authorinnen/Autoren + Authors + + + + Titel + Title + + + + Erscheinungsjahr + Year of publication + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/fsi.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/fsi.xml new file mode 100644 index 000000000..d905f1685 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/fsi.xml @@ -0,0 +1,11 @@ + + + + Herunterladen + Download + + + Ansehen + View + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/global.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/global.xml new file mode 100644 index 000000000..2690c0cd8 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/global.xml @@ -0,0 +1,186 @@ + + + + + Zurück zur Startseite + Back to start page + + + + + Diese Webseite verwendet Cookies. + Mit der Nutzung dieser Webseite erklären Sie sich mit der Verwendung + von Cookies einverstanden. + + + This Website uses Cookies. By using this website you accept the + usage of Cookies. + + + + + Klicken Sie hier um mehr zu erfahren. + Click here to learn more. + + + + Verstanden + Accepted + + + + Weiter + Next + + + + Zurück + Previous + + + + Deutsch + German + + + + Englisch + English + + + + Libre Blue Theme für LibreCCM + Libre Blue theme for LibreCCM + + + + LibreCMS + LibreCMS + + + + Sprache wählen + Select language + + + + Schnellzugriff + Shortcuts + + + + Weitere Informationen + Related Links and Attachments + + + + Weitere Informationen + Related Links and Attachments + + + + Weitere Informationen + Related Links and Attachments + + + + News + News + + + + Upcoming Events + Upcoming Events + + + + Related Articles + Related Articles + + + + Sie sind hier: + You are here: + + + + Webmaster + Webmaster + + + + Impressum + Legal notice + + + + Navigation überspringen + Skip navigation + + + + Sitemap + Sitemap + + + + Sitemap + Sitemap + + + + Kontakt + Contact + + + + Datenschutz + Privacy + + + + Hilfe + Help + + + + Hauptnavigation umschalten + Toggle main navigation + + + + Weiter + Next + + + + von + of + + + + Zurück + Previous + + + + Seite + Page + + + + Quicklinks + Quicklinks + + + + a.m. + a.m. + + + + p.m. + p.m. + + + diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/image.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/image.xml new file mode 100644 index 000000000..a2fa9ec3b --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/image.xml @@ -0,0 +1,43 @@ + + + + Künstler + Artist + + + Copyright + Copyright + + + Lizenz + License + + + Material + Material + + + Veröffentlichungsdatum + Publishing date + + + Ort der Entstehung + Point of Origin + + + Größe des Originals + Size of original + + + Standort + Site + + + Quelle + Source + + + Technik + Technique + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/job.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/job.xml new file mode 100644 index 000000000..5d43ac04f --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/job.xml @@ -0,0 +1,31 @@ + + + + Closing date + Bewerbungsschluss + + + Kontakt + Contact + + + Abteilung + Department + + + Stufe + Grade + + + Persönliche Anforderungen + Personal requirements + + + Referenznummer + Reference + + + Gehalt + Salary + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/legalnotice.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/legalnotice.xml new file mode 100644 index 000000000..e4ed9d981 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/legalnotice.xml @@ -0,0 +1,7 @@ + + + + Referenz: + Reference: + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/minutes.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/minutes.xml new file mode 100644 index 000000000..8e26df1c3 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/minutes.xml @@ -0,0 +1,19 @@ + + + + Aktionselement + Action item + + + Teilnehmer + Attendees + + + Tagesordnung + Agenda + + + Referenz + Reference + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/mpa.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/mpa.xml new file mode 100644 index 000000000..8f1cb7726 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/mpa.xml @@ -0,0 +1,15 @@ + + + + Nächste Seite + Next page + + + Vorherige Seite + Previous page + + + Artikel auf einer Seite + Article on one page + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/navigation.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/navigation.xml new file mode 100644 index 000000000..e01e83640 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/navigation.xml @@ -0,0 +1,54 @@ + + + + + Quick Links + Quick Links + + + + Titel + Title + + + + URL + URL + + + + Vererben? + Cascade? + + + + Beschreibung + Description + + + + Aktionen + Actions + + + + Ja + Yes + + + + Nein + No + + + + Bearbeiten + Edit + + + + Löschen + Delete + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/portal-workspace.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/portal-workspace.xml new file mode 100644 index 000000000..ee10d4d97 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/portal-workspace.xml @@ -0,0 +1,33 @@ + + + + + Administrieren + Admin + + + Administrieren + Admin + + + + Bearbeiten + Edit + + + Bearbeiten + Edit + + + + Ansehen + View + + + Ansehen + View + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/pressrelease.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/pressrelease.xml new file mode 100644 index 000000000..9a95e87b3 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/pressrelease.xml @@ -0,0 +1,11 @@ + + + + Kontaktinformationen + Contact info + + + Referenzcode + Reference code + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/scidepartment.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/scidepartment.xml new file mode 100644 index 000000000..616a16a7f --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/scidepartment.xml @@ -0,0 +1,35 @@ + + + + Kontakt + Contact + + + Beschreibung + Description + + + Abteilungsleitung + Head of department + + + Mitglieder + Members + + + Projekte + Projects + + + Sekretariat + Office + + + Überblick + Summary + + + Stellvertretende Abteilungsleitung + Vice head of department + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/sciinstitute.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/sciinstitute.xml new file mode 100644 index 000000000..92f2d3a71 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/sciinstitute.xml @@ -0,0 +1,27 @@ + + + + Kontakt + Contact + + + Abteilungen + Departments + + + Beschreibung + Description + + + Mitglieder + Members + + + Projekte + Projects + + + Überblick + Summary + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/sciproject.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/sciproject.xml new file mode 100644 index 000000000..74bd5f3a8 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/sciproject.xml @@ -0,0 +1,43 @@ + + + + Kontakt + Contact + + + Beschreibung + Description + + + Finanzierung + Funding + + + Volumen + Volume + + + Laufzeit + Life span + + + bis + to + + + Mitglieder + Members + + + Projektleitung + Project Coordiation + + + + Überblick + Summary + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/scipublications.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/scipublications.xml new file mode 100644 index 000000000..8b09f5a18 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/scipublications.xml @@ -0,0 +1,163 @@ + + + + Zusammenfassung + Abstract + + + Autorinnen/Autoren + Authors + + + Konferenz + Conference + + + In Sammelband + In collected volume + + + Artikel in diesem Sammelband + Articles in this collected volume + + + Auflage + Edition + + + DOI + DOI + + + Exportiere Publikation als + Export publication as + + + (Hrsg.) + (ed.) + + + In: + In: + + + ISBN + ISBN + + + ISSN + ISSN + + + Erschienen in + Published in + + + Artikel in dieser Zeitschrift + Articles in this journal + + + Zuerst erschienen + First published + + + Zuletzt erschienen + Last published + + + Letzter Zugriff + Last accessed + + + Verfügbar in folgenden Bibliotheken + Available in these libraries + + + Bibliothek + Library + + + Signatur + Signature + + + Weitere Angaben + Miscellaneous + + + Weitere Angaben + Miscellaneous + + + Nummer + Number + + + Anzahl der Seiten + Number of pages + + + Auftraggeber + Orderer + + + Organisation + Organisation + + + In Tagungsband + In proceedings + + + Beiträge in diesem Tagungsband + Papers of these proceedings + + + Reviewed + Reviewed + + + Erschienen in der Reihe + Published in series + + + Bände dieser Reihe + Volumes of this series + + + Band + Volume + + + Seiten + Pages + + + bis + to + + + Erscheinungsort + Place of publication + + + Verlag + Publisher + + + URL + URL + + + URN + URN + + + Jahr + Year + + + Erste Veröffentlichung + First published + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/search-paginator.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/search-paginator.xml new file mode 100644 index 000000000..90cbf3d52 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/search-paginator.xml @@ -0,0 +1,67 @@ + + + + + Zurück + Back + + + Zurück + Back + + + < + < + + + Weiter + Continue + + + Weiter + Continue + + + > + > + + + Seite + Page + + + von + from + + + + + + + + Zeige Ergebnisse + Show results + + + bis + to + + + von + from + + + . + . + + + + Zeige + Showing + + + Ergebnisse pro Seite + results per page. + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/search.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/search.xml new file mode 100644 index 000000000..318a0e526 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/search.xml @@ -0,0 +1,119 @@ + + + + + Suche: + Search: + + + + Zusätzliche Kriterien: + Additional Filters: + + + + Wertung + Evaluation + + + + Titel + Title + + + + Zusammenfassung + Abstract + + + + + + + + + Suchergebnis + Search result + + + + Auswählen + Choose + + + + Typ: + Type: + + + + Server: + Server: + + + + Kategorien: + Categories: + + + + Unterkategorien durchsuchen + Search subcategories + + + + Erstellt am: + Created: + + + + Erstellt von: + Created by: + + + + Geändert von: + Edited by: + + + + Publiziert am: + Published at: + + + + Geändert am: + Edited at: + + + + Erstellt am: + Created at + + + + Tag + Day + + + + Monat + Month + + + + Jahr + Year + + + + Von: + From: + + + + Bis: + To: + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/service.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/service.xml new file mode 100644 index 000000000..89edd6618 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/service.xml @@ -0,0 +1,19 @@ + + + + Adresse + Address + + + Kontakt + Contact + + + Öffnungszeiten + Opening times + + + Verfügbare Dienstleistungen + Available services + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/simpleaddress.xml b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/simpleaddress.xml new file mode 100644 index 000000000..97a7d754e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/texts/simpleaddress.xml @@ -0,0 +1,23 @@ + + + + E-Mail + eMail + + + Fax + Fax + + + Mobil + Mobile + + + Telefon + Phone + + + Web + Web + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/check-for-related-links-and-file-attachments.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/check-for-related-links-and-file-attachments.xsl new file mode 100644 index 000000000..accceb404 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/check-for-related-links-and-file-attachments.xsl @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/image-attachment-gallery-indicators.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/image-attachment-gallery-indicators.xsl new file mode 100644 index 000000000..4c8be8897 --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/image-attachment-gallery-indicators.xsl @@ -0,0 +1,39 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/user.xsl b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/user.xsl new file mode 100644 index 000000000..1598ed17e --- /dev/null +++ b/ccm-bundle-devel-swarm/src/main/resources/themes/libreccm-default/user/user.xsl @@ -0,0 +1,46 @@ + + + + ]> + + + + + + + + + \ No newline at end of file diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/Resource.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResource.java similarity index 86% rename from ccm-docrepo/src/main/java/org/libreccm/docrepo/Resource.java rename to ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResource.java index 10a6e1b6c..6577322fc 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/Resource.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResource.java @@ -45,44 +45,44 @@ import java.util.Date; */ @Entity @Table(schema = "CCM_DOCREPO", name = "RESOURCES") -public abstract class Resource extends CcmObject { +public abstract class AbstractResource extends CcmObject { private static final long serialVersionUID = -910317798106611214L; /** - * Name of the {@code Resource}. + * Name of the {@code AbstractResource}. */ @Column(name = "NAME", length = 512, unique = true, nullable = false) @NotBlank private String name; /** - * Description of the {@code Resource}. + * Description of the {@code AbstractResource}. */ @Column(name = "DESCRIPTION") private String description; /** - * Path to the {@code Resource}. + * Path to the {@code AbstractResource}. */ @Column(name = "PATH", unique = true) @NotBlank private String path; /** - * Mime-type of the {@code Resource}. + * Mime-type of the {@code AbstractResource}. */ @Column(name = "MIME_TYPE") private MimeType mimeType; /** - * Size of the {@code Resource}. + * Size of the {@code AbstractResource}. */ @Column(name = "SIZE") private long size; /** - * Creation date of the {@code Resource}. + * Creation date of the {@code AbstractResource}. */ @Column(name = "CREATION_DATE") @NotBlank @@ -90,7 +90,7 @@ public abstract class Resource extends CcmObject { private Date creationDate; /** - * Date of the latest modification of the {@code Resource}. + * Date of the latest modification of the {@code AbstractResource}. */ @Column(name = "LAST_MODIFIED_DATE") @NotBlank @@ -98,40 +98,40 @@ public abstract class Resource extends CcmObject { private Date lastModifiedDate; /** - * Creation ip of the {@code Resource}. + * Creation ip of the {@code AbstractResource}. */ @Column(name = "CREATION_IP") private String creationIp; /** - * Ip of the latest modification of the {@code Resource}. + * Ip of the latest modification of the {@code AbstractResource}. */ @Column(name = "LAST_MODIFIED_IP") private String lastModifiedIp; /** - * The {@link User}, who created the {@code Resource}. + * The {@link User}, who created the {@code AbstractResource}. */ @ManyToOne @JoinColumn(name = "CREATION_USER_ID") private User creationUser; /** - * The {@link User}, who last modified the {@code Resource}. + * The {@link User}, who last modified the {@code AbstractResource}. */ @ManyToOne @JoinColumn(name = "LAST_MODIFIED_USER_ID") private User lastModifiedUser; /** - * The parent-{@code Resource} of the {@code Resource}. + * The parent-{@code AbstractResource} of the {@code AbstractResource}. */ @ManyToOne @JoinColumn(name = "PARENT_ID") private Folder parent; /** - * The {@link Repository} containing this {@code Resource}. + * The {@link Repository} containing this {@code AbstractResource}. */ @ManyToOne @JoinColumn(name = "REPOSITORY_ID") @@ -140,7 +140,7 @@ public abstract class Resource extends CcmObject { /** * Constructor calls the super-class-constructor of {@link CcmObject}. */ - public Resource() { + public AbstractResource() { super(); } diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/ResourceManager.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResourceManager.java similarity index 87% rename from ccm-docrepo/src/main/java/org/libreccm/docrepo/ResourceManager.java rename to ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResourceManager.java index d7d9f0904..38ac6950e 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/ResourceManager.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResourceManager.java @@ -24,12 +24,12 @@ import javax.activation.MimetypesFileTypeMap; import javax.inject.Inject; /** - * Manager class for complex operations on {@code Resource}-objects. + * Manager class for complex operations on {@code AbstractResource}-objects. * * @author Tobias Osmers * @version 01/10/2015 */ -public abstract class ResourceManager { +public abstract class AbstractResourceManager { @Inject private FileRepository fileRepository; @@ -38,11 +38,11 @@ public abstract class ResourceManager { private FolderRepository folderRepository; /** - * Makes a copy of a given {@link Resource}. + * Makes a copy of a given {@link AbstractResource}. * - * @param original The {@link Resource} to be copied + * @param original The {@link AbstractResource} to be copied * @param copy The {@code copy} of the given {@code original} - * {@link Resource} + * {@link AbstractResource} */ public void copy(T original, T copy) { copy.setName(original.getName()); @@ -66,12 +66,12 @@ public abstract class ResourceManager { /** * Overloads previous method and sets a new parent (aka location) before - * calling the method to copy the {@code original} {@link Resource} into + * calling the method to copy the {@code original} {@link AbstractResource} into * the {@code copy}. * - * @param original The {@link Resource} to be copied + * @param original The {@link AbstractResource} to be copied * @param copy The {@code copy} of the given {@code original} - * {@link Resource} + * {@link AbstractResource} * @param newParent The new parent of the copy. Equals an new location */ public void copy(T original, T copy, Folder newParent) { @@ -81,10 +81,10 @@ public abstract class ResourceManager { /** * Determines weather the given name is a valid new name for the also - * given {@link Resource}. + * given {@link AbstractResource}. * * Verifies that the string only contains valid characters for - * {@link Resource} names. The following name patterns are allowed: + * {@link AbstractResource} names. The following name patterns are allowed: * * [a-z][A-Z][0-9][-., ] * @@ -116,7 +116,7 @@ public abstract class ResourceManager { perl5Util.match(INVALID_NAME_PATTERN, name)); // checks duplication of the name; database access (mind performance) - validName &= (fileRepository.findByName(name).isEmpty() & + validName &= (fileRepository.findByName(name).isEmpty() && folderRepository.findByName(name).isEmpty()); // checks that the name corresponds to a compatible MIME type diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/ResourceRepository.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResourceRepository.java similarity index 75% rename from ccm-docrepo/src/main/java/org/libreccm/docrepo/ResourceRepository.java rename to ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResourceRepository.java index 323dd97a1..8c5fa1abf 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/ResourceRepository.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/AbstractResourceRepository.java @@ -32,12 +32,12 @@ import java.util.List; import java.util.stream.Collectors; /** - * Repository class for retrieving, storing and deleting {@code Resource}s. + * Repository class for retrieving, storing and deleting {@code AbstractResource}s. * * @author Tobias Osmers * @version 01/10/2015 */ -public abstract class ResourceRepository extends +public abstract class AbstractResourceRepository extends AbstractAuditedEntityRepository { protected Class classOfT; @@ -65,11 +65,11 @@ public abstract class ResourceRepository extends /** * Checks if the current subject has permissions grating him the - * privilege to read the requested {@link Resource}(s) and removes the + * privilege to read the requested {@link AbstractResource}(s) and removes the * ones he is not allowed to access. * - * @param resources The requested {@link Resource}s, found in the database - * @return A list of {@link Resource}s the subject is allowed to access + * @param resources The requested {@link AbstractResource}s, found in the database + * @return A list of {@link AbstractResource}s the subject is allowed to access */ private List permissionFilter(List resources) { final CdiUtil cdiUtil = new CdiUtil(); @@ -81,11 +81,11 @@ public abstract class ResourceRepository extends /** * Checks if the current subject has permissions grating him the - * privilege to read the one requested {@link Resource} and removes it if + * privilege to read the one requested {@link AbstractResource} and removes it if * he is not allowed to access. * - * @param resource The requested {@link Resource}, found in the database - * @return A list of at most one {@link Resource} the subject is allowed to + * @param resource The requested {@link AbstractResource}, found in the database + * @return A list of at most one {@link AbstractResource} the subject is allowed to * access */ private T permissionFilter(T resource) { @@ -93,10 +93,10 @@ public abstract class ResourceRepository extends } /** - * Retrieve all {@link Resource}s with the given name. + * Retrieve all {@link AbstractResource}s with the given name. * - * @param name The name for the searched {@link Resource} - * @return The {@link Resource}s with the given name, if there aren't + * @param name The name for the searched {@link AbstractResource} + * @return The {@link AbstractResource}s with the given name, if there aren't * any an {@code EmptyList} */ public List findByName(final String name) { @@ -116,12 +116,12 @@ public abstract class ResourceRepository extends protected abstract TypedQuery getFindByNameQuery(); /** - * Retrieve a {@code Resource} by its {@code path}. + * Retrieve a {@code AbstractResource} by its {@code path}. * - * @param pathName The {@code path} to the {@code Resource}. + * @param pathName The {@code path} to the {@code AbstractResource}. * - * @return The {@code Resource} identified by the given {@code path}, if - * there is such a {@code Resource}, {@code null} if not. + * @return The {@code AbstractResource} identified by the given {@code path}, if + * there is such a {@code AbstractResource}, {@code null} if not. */ public T findByPathName(final String pathName) { final TypedQuery query = getFindByPathNameQuery(); @@ -140,12 +140,12 @@ public abstract class ResourceRepository extends protected abstract TypedQuery getFindByPathNameQuery(); /** - * Retrieve the {@code Resource}s, a given {@link User} created. + * Retrieve the {@code AbstractResource}s, a given {@link User} created. * - * @param creator The {@link User}, who created the {@code Resource}s. + * @param creator The {@link User}, who created the {@code AbstractResource}s. * - * @return The {@code Resource}s, created by the given {@link User}, if - * there are such {@code Resource}s, {@code EmptyList} if not. + * @return The {@code AbstractResource}s, created by the given {@link User}, if + * there are such {@code AbstractResource}s, {@code EmptyList} if not. */ public List findForCreator(final User creator) { final TypedQuery query = getFindForCreatorQuery(); @@ -164,12 +164,12 @@ public abstract class ResourceRepository extends protected abstract TypedQuery getFindForCreatorQuery(); /** - * Retrieve the {@code Resource}s, a given {@link User} last modified. + * Retrieve the {@code AbstractResource}s, a given {@link User} last modified. * - * @param modifier The {@link User} who last modified the {@code Resource}s. + * @param modifier The {@link User} who last modified the {@code AbstractResource}s. * - * @return The {@code Resource}s, last modified by the given {@link User}, - * if there are such {@code Resource}s, {@code EmptyList} if not. + * @return The {@code AbstractResource}s, last modified by the given {@link User}, + * if there are such {@code AbstractResource}s, {@code EmptyList} if not. */ public List findForModifier(final User modifier) { final TypedQuery query = getFindForModifierQuery(); diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/File.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/File.java index e019f0227..42ce03d32 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/File.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/File.java @@ -27,7 +27,7 @@ import javax.persistence.Table; /** * Entity class for a file in the doc-repository. Instances will be persisted - * into the database. Instance variables are inherited from {@link Resource}. + * into the database. Instance variables are inherited from {@link AbstractResource}. * * @author Tobias Osmers * @version 01/10/2015 @@ -48,19 +48,19 @@ import javax.persistence.Table; query = "SELECT r FROM DocRepoFile r WHERE " + "r.lastModifiedUser = :user") }) -public class File extends Resource { +public class File extends AbstractResource { private static final long serialVersionUID = -504220783419811504L; /** - * Content of the {@code Resource} as a {@link BlobObject}. + * Content of the {@code AbstractResource} as a {@link BlobObject}. */ @OneToOne @JoinColumn(name = "CONTENT_ID") private BlobObject content; /** - * Constructor calls the super-class-constructor of {@link Resource}. + * Constructor calls the super-class-constructor of {@link AbstractResource}. */ public File() { super(); diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileManager.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileManager.java index 8eac8b99c..ede0a69aa 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileManager.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileManager.java @@ -28,7 +28,7 @@ import javax.inject.Inject; * @version 27.01.2016 */ @RequestScoped -public class FileManager extends ResourceManager { +public class FileManager extends AbstractResourceManager { @Inject private FileRepository fileRepository; diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileRepository.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileRepository.java index b6745afac..022f923e5 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileRepository.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FileRepository.java @@ -28,7 +28,7 @@ import javax.persistence.TypedQuery; * @version 27.01.2016 */ @RequestScoped -public class FileRepository extends ResourceRepository { +public class FileRepository extends AbstractResourceRepository { public FileRepository() { classOfT = File.class; diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/Folder.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/Folder.java index c5dd9f676..e88e7707d 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/Folder.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/Folder.java @@ -28,7 +28,7 @@ import java.util.List; /** * Entity class of a folder in the doc-repository. Instances will be persisted - * into the database. Instance variables are inherited from {@link Resource}. + * into the database. Instance variables are inherited from {@link AbstractResource}. * * @author Tobias Osmers * @version 01/10/2015 @@ -49,15 +49,15 @@ import java.util.List; query = "SELECT r FROM DocRepoFolder r WHERE " + "r.lastModifiedUser = :user") }) -public class Folder extends Resource { +public class Folder extends AbstractResource { private static final long serialVersionUID = 1561466556458872622L; /** - * The child-{@code Resource}s of the {@code Resource}. + * The child-{@code AbstractResource}s of the {@code AbstractResource}. */ @OneToMany(mappedBy = "parent") - private List immediateChildren; + private List immediateChildren; /** * The {@link Repository} this {@code Folder} is assigned to as root. @@ -66,7 +66,7 @@ public class Folder extends Resource { private Repository rootAssignedRepository; /** - * Constructor calls the super-class-constructor of {@link Resource}. + * Constructor calls the super-class-constructor of {@link AbstractResource}. */ public Folder() { super(); @@ -74,11 +74,11 @@ public class Folder extends Resource { //> Begin GETTER & SETTER - public List getImmediateChildren() { + public List getImmediateChildren() { return immediateChildren; } - public void setImmediateChildren(List immediateChildren) { + public void setImmediateChildren(List immediateChildren) { this.immediateChildren = immediateChildren; } diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderManager.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderManager.java index 55bae15cd..c317d097c 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderManager.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderManager.java @@ -28,7 +28,7 @@ import javax.inject.Inject; * @version 27.01.2016 */ @RequestScoped -public class FolderManager extends ResourceManager { +public class FolderManager extends AbstractResourceManager { @Inject private FolderRepository folderRepository; diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderRepository.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderRepository.java index 8acd23e5f..419dd168b 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderRepository.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/FolderRepository.java @@ -28,7 +28,7 @@ import javax.persistence.TypedQuery; * @version 27.01.2016 */ @RequestScoped -public class FolderRepository extends ResourceRepository { +public class FolderRepository extends AbstractResourceRepository { public FolderRepository() { classOfT = Folder.class; diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/Repository.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/Repository.java index 996268dab..5612b3c40 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/Repository.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/Repository.java @@ -73,10 +73,10 @@ public class Repository extends CcmApplication { private User owner; /** - * All {@link Resource}s contained in this {@code Repository}. + * All {@link AbstractResource}s contained in this {@code Repository}. */ @OneToMany(mappedBy = "repository") - private List resources; + private List abstractResources; /** @@ -112,12 +112,12 @@ public class Repository extends CcmApplication { this.owner = owner; } - public List getResources() { - return resources; + public List getAbstractResources() { + return abstractResources; } - public void setResources(List resources) { - this.resources = resources; + public void setAbstractResources(List abstractResources) { + this.abstractResources = abstractResources; } //< End GETTER & SETTER diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/RepositoryRepository.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/RepositoryRepository.java index 9ffc08f44..2c1a5916a 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/RepositoryRepository.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/RepositoryRepository.java @@ -66,8 +66,8 @@ public class RepositoryRepository extends * privilege to read the requested {@link Repository}(s) and removes the * ones he is not allowed to access. * - * @param repositories The requested {@link Resource}s, found in the database - * @return A list of {@link Resource}s the subject is allowed to access + * @param repositories The requested {@link AbstractResource}s, found in the database + * @return A list of {@link AbstractResource}s the subject is allowed to access */ private List permissionFilter(List repositories) { final CdiUtil cdiUtil = new CdiUtil(); diff --git a/ccm-docrepo/src/main/java/org/libreccm/docrepo/portation/importer/FileImporter.java b/ccm-docrepo/src/main/java/org/libreccm/docrepo/portation/importer/FileImporter.java index 761dd3028..66e84703c 100644 --- a/ccm-docrepo/src/main/java/org/libreccm/docrepo/portation/importer/FileImporter.java +++ b/ccm-docrepo/src/main/java/org/libreccm/docrepo/portation/importer/FileImporter.java @@ -22,10 +22,11 @@ import org.libreccm.cdi.utils.CdiUtil; import org.libreccm.docrepo.BlobObject; import org.libreccm.docrepo.BlobObjectRepository; import org.libreccm.docrepo.File; +import org.libreccm.docrepo.FileRepository; import org.libreccm.docrepo.Folder; +import org.libreccm.docrepo.FolderRepository; import org.libreccm.docrepo.Repository; import org.libreccm.docrepo.RepositoryRepository; -import org.libreccm.docrepo.ResourceRepository; import org.libreccm.portation.importer.AbstractImporter; import org.libreccm.security.User; import org.libreccm.security.UserRepository; @@ -33,6 +34,7 @@ import org.libreccm.security.UserRepository; import javax.activation.MimeType; import javax.activation.MimeTypeParseException; import javax.enterprise.context.RequestScoped; +import java.util.Arrays; import java.util.Date; /** @@ -47,7 +49,7 @@ public class FileImporter extends AbstractImporter { @Override protected boolean checkAttributeNames(String[] attributeNames) { - return attributeNames.equals(File.getAttributeNames()); + return Arrays.equals(attributeNames, File.getAttributeNames()); } @Override @@ -77,13 +79,9 @@ public class FileImporter extends AbstractImporter { } Date date = new Date(Long.valueOf(importStrings[6])); - if (date != null) { - file.setCreationDate(date); - } + file.setCreationDate(date); date = new Date(Long.valueOf(importStrings[7])); - if (date != null) { - file.setLastModifiedDate(date); - } + file.setLastModifiedDate(date); file.setCreationIp(importStrings[8]); file.setLastModifiedIp(importStrings[9]); @@ -98,10 +96,10 @@ public class FileImporter extends AbstractImporter { file.setLastModifiedUser(user); } - ResourceRepository resourceRepository = cdiUtil.findBean - (ResourceRepository.class); - Folder folder = (Folder) resourceRepository.findById(Long.valueOf - (importStrings[12])); + FolderRepository folderRepository = cdiUtil.findBean( + FolderRepository.class); + Folder folder = folderRepository.findById(Long.valueOf( + importStrings[12])); if (folder != null) { file.setParent(folder); } @@ -114,7 +112,8 @@ public class FileImporter extends AbstractImporter { file.setRepository(repository); } - resourceRepository.save(file); + FileRepository fileRepository = cdiUtil.findBean(FileRepository.class); + fileRepository.save(file); return file; } } \ No newline at end of file diff --git a/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java b/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java index 01edbb937..78eb4b53d 100644 --- a/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java +++ b/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java @@ -19,27 +19,45 @@ package org.libreccm.docrepo.portation; import org.apache.log4j.Logger; +import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; +import org.jboss.arquillian.junit.InSequence; import org.jboss.arquillian.persistence.CreateSchema; import org.jboss.arquillian.transaction.api.annotation.TransactionMode; import org.jboss.arquillian.transaction.api.annotation.Transactional; +import org.jboss.shrinkwrap.api.ShrinkWrap; +import org.jboss.shrinkwrap.api.asset.EmptyAsset; +import org.jboss.shrinkwrap.api.spec.WebArchive; +import org.jboss.shrinkwrap.resolver.api.maven.Maven; +import org.jboss.shrinkwrap.resolver.api.maven.PomEquippedResolveStage; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; -import org.libreccm.core.CcmObjectRepository; import org.libreccm.docrepo.File; -import org.libreccm.docrepo.ResourceRepository; +import org.libreccm.docrepo.FileRepository; import org.libreccm.docrepo.portation.exporter.FileExporter; import org.libreccm.docrepo.portation.importer.FileImporter; +import org.libreccm.jpa.EntityManagerProducer; +import org.libreccm.jpa.utils.MimeTypeConverter; +import org.libreccm.l10n.LocalizedString; import org.libreccm.tests.categories.IntegrationTest; -import org.libreccm.tests.categories.UnitTest; +import org.libreccm.testutils.EqualsVerifier; +import org.libreccm.workflow.Workflow; import javax.inject.Inject; import java.util.Collections; import java.util.Date; import java.util.List; +import static org.hamcrest.CoreMatchers.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + /** * * @author Tobias Osmers @@ -60,12 +78,19 @@ public class FilePortationTest { private FileImporter fileImporter; @Inject - private ResourceRepository ccmObjectRepository; + private FileRepository fileRepository; private static File file; private static String filename = "src/test/java/org/libreccm/docrepo/portation/csv/exportTest.csv"; + public FilePortationTest() { + } + + @BeforeClass + public static void setUpClass() { + } + @BeforeClass public static void createResource() { file = new File(); @@ -76,16 +101,93 @@ public class FilePortationTest { file.setLastModifiedDate(new Date()); } + @AfterClass + public static void tearDownClass() { + } + + @Before + public void setUp() { + } + + @After + public void tearDown() { + } + + @Deployment + public static WebArchive createDeployment() { + final PomEquippedResolveStage pom = Maven + .resolver() + .loadPomFromFile("pom.xml"); + final PomEquippedResolveStage dependencies = pom + .importCompileAndRuntimeDependencies(); + final java.io.File[] libs = dependencies.resolve().withTransitivity().asFile(); + + for (java.io.File lib : libs) { + System.err.printf("Adding file '%s' to test archive...%n", + lib.getName()); + } + + return ShrinkWrap + .create(WebArchive.class, + "LibreCCM-org.libreccm.docrepo.ArquillianExampleTest.war") + .addPackage(org.libreccm.core.CcmObject.class.getPackage()) + .addPackage(org.libreccm.security.Permission.class.getPackage()) + .addPackage(org.libreccm.web.CcmApplication.class.getPackage()) + .addPackage(org.libreccm.categorization.Categorization.class.getPackage()) + .addPackage(LocalizedString.class.getPackage()) + .addPackage(Workflow.class.getPackage()) + .addPackage(EntityManagerProducer.class.getPackage()) + .addPackage(MimeTypeConverter.class.getPackage()) + .addPackage(EqualsVerifier.class.getPackage()) + .addPackage(IntegrationTest.class.getPackage()) + .addAsLibraries(libs) + .addAsResource("test-persistence.xml", + "META-INF/persistence.xml") + .addAsWebInfResource("test-web.xml", "WEB-INF/web.xml") + .addAsWebInfResource(EmptyAsset.INSTANCE, "WEB-INF/beans.xml"); + } + + // TODO add test methods here. + // The methods must be annotated with annotation @Test. For example: + // + // @Test + // public void hello() {} @Test public void csvShouldBeCreated() { + java.io.File old = new java.io.File(filename); + if (old.exists()) + old.delete(); + fileExporter.setFilename(filename); fileExporter.exportToCSV(Collections.singletonList(file)); + + java.io.File file = new java.io.File(filename); + assertTrue(file.exists() && !file.isDirectory()); } @Test - public void fileShouldBeCreated() { + public void docrepoFileShouldBeCreated() { fileImporter.setFilename(filename); List files = fileImporter.importFromCSV(); - log.info(files.toString()); + assertEquals(file, files.get(0)); + } + + + @Test + @InSequence(1) + public void fileExporterIsInjected() { + assertThat(fileExporter, is(not(nullValue()))); + } + + @Test + @InSequence(2) + public void fileImporterIsInjected() { + assertThat(fileImporter, is(not(nullValue()))); + } + + @Test + @InSequence(3) + public void repoIsInjected() { + assertThat(fileRepository, is(not(nullValue()))); } } diff --git a/ccm-test-bundle-wildfly8/pom.xml b/ccm-test-bundle-wildfly8/pom.xml new file mode 100644 index 000000000..63f792493 --- /dev/null +++ b/ccm-test-bundle-wildfly8/pom.xml @@ -0,0 +1,486 @@ + + + + + UTF-8 + + + 4.0.0 + + + org.libreccm + libreccm-parent + 7.0.0-SNAPSHOT + + + org.libreccm + ccm-test-bundle-wildfly8 + + war + + LibreCCM Test Bundle Wildfly8 + http://www.libreccm.org/test-bundle + + + + org.libreccm + ccm-core + ${project.parent.version} + + + + junit + junit + test + + + org.libreccm + ccm-testutils + ${project.parent.version} + test + + + org.jboss.arquillian.junit + arquillian-junit-container + test + + + org.jboss.arquillian.extension + arquillian-persistence-dbunit + test + + + org.jboss.arquillian.extension + arquillian-transaction-impl-base + test + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven + test + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-spi + test + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven-archive + test + + + + + + ccm-test-bundle + + + + src/test/resources + + + ${project.build.directory}/generated-resources + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + 1.8 + 1.8 + true + true + ${project.build.sourceEncoding} + + + + org.apache.maven.plugins + maven-war-plugin + + + + org.libreccm + ccm-core + jar + + index.jsp + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.18.1 + + org.libreccm.tests.categories.UnitTest + + + + org.jacoco + jacoco-maven-plugin + 0.7.5.201505241946 + + + default-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + BUNDLE + + + COMPLEXITY + COVEREDRATIO + 0.60 + + + + + + + + + + de.jpdigital + hibernate4-ddl-maven-plugin + + + h2 + mysql5_innodb + oracle10g + postgresql9 + + + org.libreccm.categorization + org.libreccm.core + org.libreccm.formbuilder + org.libreccm.jpa + org.libreccm.l10n + org.libreccm.messaging + org.libreccm.notification + org.libreccm.portal + org.libreccm.runtime + org.libreccm.search.lucene + org.libreccm.web + org.libreccm.workflow + + true + + + + + gen-ddl + + process-classes + + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + true + true + + http://docs.oracle.com/javase/7/docs/api/ + http://docs.oracle.com/javaee/7/api/ + http://docs.jboss.org/hibernate/orm/4.3/javadocs/ + + private + true + UTF-8 + UTF-8 + UTF-8 + true + true + true + true + false + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.3.2.GA + + true + + -sourceclasspath ${project.build.outputDirectory} + + + + + + org.apache.maven.plugins + maven-jxr-plugin + 2.5 + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.18.1 + + + org.jacoco + jacoco-maven-plugin + 0.7.5.201505241946 + + + org.codehaus.mojo + findbugs-maven-plugin + 3.0.1 + + findbugs-exclude.xml + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.4 + + true + utf-8 + 1.7 + + /rulesets/java/basic.xml + /rulesets/java/braces.xml + /rulesets/java/clone.xml + /rulesets/java/codesize.xml + /rulesets/java/design.xml + /rulesets/java/empty.xml + /rulesets/java/finalizers.xml + /rulesets/java/imports.xml + /rulesets/java/junit.xml + /rulesets/java/naming.xml + /rulesets/java/optimizations.xml + /rulesets/java/strictexception.xml + /rulesets/java/strings.xml + /rulesets/java/sunsecure.xml + /rulesets/java/typeresolution.xml + /rulesets/java/unnecessary.xml + /rulesets/java/unusedcode.xml + + + + + org.codehaus.mojo + javancss-maven-plugin + 2.1 + + + org.codehaus.mojo + jdepend-maven-plugin + 2.0 + + + org.codehaus.mojo + taglist-maven-plugin + 2.4 + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.8 + + + + dependencies + + license + + + + + + false + + + + + + + + wildfly8-remote-h2-mem + + + org.wildfly + wildfly-arquillian-container-remote + test + + + org.jacoco + org.jacoco.core + test + + + + + + + src/test/resources + + + src/test/resources-wildfly8-remote-h2-mem + + + ${project.build.directory}/generated-resources + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.18.1 + + always + 999 + true + + org.jboss.logmanager.LogManager + ${project.basedir}/target/wildfly-8.2.0.Final + ${project.basedir}/target/wildfly-8.2.0.Final/modules + + false + + org.libreccm.tests.categories.UnitTest, + org.libreccm.tests.categories.IntegrationTest + + + + + + + + + wildfly8-remote-pgsql + + + org.wildfly + wildfly-arquillian-container-remote + test + + + org.jacoco + org.jacoco.core + test + + + + + + + src/test/resources + + + src/test/resources-wildfly8-remote-pgsql + + + ${project.build.directory}/generated-resources + + + + + + de.jpdigital + hibernate4-ddl-maven-plugin + + + h2 + mysql5_innodb + postgresql9 + + + org.libreccm + + true + + + + + gen-ddl + + process-classes + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.18.1 + + always + 999 + true + + org.jboss.logmanager.LogManager + ${project.basedir}/target/wildfly-8.2.0.Final + ${project.basedir}/target/wildfly-8.2.0.Final/modules + + false + + org.libreccm.tests.categories.UnitTest, + org.libreccm.tests.categories.IntegrationTest + + + + + + + + diff --git a/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/conf/registry/registry.properties b/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/conf/registry/registry.properties new file mode 100644 index 000000000..9bb7b6ea9 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/conf/registry/registry.properties @@ -0,0 +1 @@ +waf.config.packages=ccm-core \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/persistence.xml b/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/persistence.xml new file mode 100644 index 000000000..6ac5a6cc8 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/persistence.xml @@ -0,0 +1,42 @@ + + + + + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + java:/comp/env/jdbc/ccm-core/db + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/web.xml b/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..f53ebe797 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,10 @@ + + + + LibreCCM Test Bundle + + diff --git a/ccm-test-bundle-wildfly8/src/site/apt/index.apt b/ccm-test-bundle-wildfly8/src/site/apt/index.apt new file mode 100644 index 000000000..9607dee77 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/site/apt/index.apt @@ -0,0 +1,12 @@ + -------------- + Overview + -------------- + Jens Pelzetter + -------------- + 2015-06-29 + -------------- + +LibreCCM Test Bundle for Wildfly 8 + + This bundle/WAR module is used to test the module system of LibreCCM with + Wildfly 8. \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/site/site.xml b/ccm-test-bundle-wildfly8/src/site/site.xml new file mode 100644 index 000000000..457558e32 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/site/site.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/test/java/org/libreccm/CcmModulesTest.java b/ccm-test-bundle-wildfly8/src/test/java/org/libreccm/CcmModulesTest.java new file mode 100644 index 000000000..3986065a1 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/java/org/libreccm/CcmModulesTest.java @@ -0,0 +1,288 @@ +/* + * Copyright (C) 2015 LibreCCM Foundation. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + */ +package org.libreccm; + +import java.io.File; +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.ArrayList; +import java.util.List; + +import javax.persistence.EntityManager; +import javax.persistence.PersistenceContext; +import javax.sql.DataSource; + +import static org.hamcrest.CoreMatchers.*; + +import org.jboss.arquillian.container.test.api.Deployment; +import org.jboss.arquillian.junit.Arquillian; +import org.jboss.arquillian.persistence.CleanupUsingScript; +import org.jboss.arquillian.persistence.PersistenceTest; +import org.jboss.arquillian.transaction.api.annotation.TransactionMode; +import org.jboss.arquillian.transaction.api.annotation.Transactional; +import org.jboss.shrinkwrap.api.ShrinkWrap; +import org.jboss.shrinkwrap.api.asset.EmptyAsset; +import org.jboss.shrinkwrap.api.spec.JavaArchive; +import org.jboss.shrinkwrap.api.spec.WebArchive; +import org.jboss.shrinkwrap.resolver.api.maven.Maven; +import org.jboss.shrinkwrap.resolver.api.maven.MavenResolvedArtifact; +import org.jboss.shrinkwrap.resolver.api.maven.PomEquippedResolveStage; +import org.junit.After; +import org.junit.AfterClass; + +import static org.junit.Assert.*; + +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.experimental.categories.Category; +import org.junit.runner.RunWith; +import org.libreccm.core.CcmCore; +import org.libreccm.modules.ModuleStatus; +import org.libreccm.security.User; +import org.libreccm.tests.categories.IntegrationTest; + +import javax.persistence.TypedQuery; + +/** + * + * @author Jens Pelzetter + */ +@Category(IntegrationTest.class) +@RunWith(Arquillian.class) +@PersistenceTest +@Transactional(TransactionMode.COMMIT) +//@CreateSchema({"clean_schema.sql"}) +public class CcmModulesTest { + + @PersistenceContext(name = "LibreCCM") + private EntityManager entityManager; + + public CcmModulesTest() { + + } + + @BeforeClass + public static void setUpClass() { + } + + @AfterClass + public static void tearDownClass() { + } + + @Before + public void setUp() { + } + + @After + public void tearDown() { + } + + @Deployment + public static WebArchive createDeployment() { + final PomEquippedResolveStage pom = Maven + .resolver() + .loadPomFromFile("pom.xml"); + final PomEquippedResolveStage dependencies = pom + .importCompileAndRuntimeDependencies(); + //final File[] libs = dependencies.resolve().withTransitivity().asFile(); + final MavenResolvedArtifact[] artifacts = dependencies.resolve() + .withTransitivity().asResolvedArtifact(); + +// for (File lib : libs) { +// System.err.printf("Adding file '%s' to test archive...%n", +// lib.getName()); +// } + final WebArchive webArchive = ShrinkWrap.create( + WebArchive.class, "LibreCCM-org.libreccm.CcmModulesTest.war"); + for (final MavenResolvedArtifact artifact : artifacts) { + final JavaArchive archive = artifact.as(JavaArchive.class); + + if (archive.getName().startsWith("ccm-core")) { + archive.delete("META-INF/persistence.xml"); + } + + System.err.printf("Adding archive '%s' to test archive...%n", + archive.getName()); + + webArchive.addAsLibrary(archive); + } + + webArchive.addPackage(IntegrationTest.class.getPackage()) + .setWebXML(new File("src/main/webapp/WEB-INF/web.xml")) + .addAsResource("test-persistence.xml", "META-INF/persistence.xml") + .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml"); + + return webArchive; + +// return ShrinkWrap +// .create(WebArchive.class, +// "LibreCCM-org.libreccm.CcmModulesTest.war") +// .addAsLibraries(libs) +// .addPackage(IntegrationTest.class.getPackage()) +// .setWebXML(new File("src/main/webapp/WEB-INF/web.xml")) +// .addAsResource("test-persistence.xml", "META-INF/persistence.xml") +// .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml"); + } + + @Test + @CleanupUsingScript("clean_schema.sql") + public void verifyModules() throws SQLException { + + //Extract JDBC connnection from EntityManager + final Object dataSourceObj = entityManager.getEntityManagerFactory() + .getProperties().get("javax.persistence.jtaDataSource"); + assertThat(dataSourceObj, is(instanceOf(DataSource.class))); + + final DataSource dataSource = (DataSource) dataSourceObj; + final Connection connection = dataSource.getConnection(); + assertThat(connection, is(instanceOf(Connection.class))); + + //Check if the ccm_core.ccm_modules table exists. + final ResultSet installedModules; + if ("H2".equals(connection.getMetaData().getDatabaseProductName())) { + final ResultSet ccmObjectTable = connection.getMetaData() + .getTables(null, "CCM_CORE", "CCM_OBJECTS", null); + if (!ccmObjectTable.next()) { + fail("No metadata for table ccm_core.ccm_objects returned. " + + "Table does not exist?"); + } + + //Check of the ccm_core.installed_modules exists + final ResultSet installedModulesTable = connection.getMetaData() + .getTables(null, "CCM_CORE", "INSTALLED_MODULES", null); + if (!installedModulesTable.next()) { + fail( + "No metadata for table ccm_core.installed_modules returned. " + + "Table does not exist?"); + } + + //Check if the ccm-core module is registered in the + //ccm_core.installed_modules table + final Statement statement = connection.createStatement(); + installedModules = statement.executeQuery( + "SELECT MODULE_ID, MODULE_CLASS_NAME, STATUS " + + "FROM CCM_CORE.INSTALLED_MODULES" + + " ORDER BY MODULE_CLASS_NAME"); + } else { + final ResultSet ccmObjectTable = connection.getMetaData() + .getTables(null, "ccm_core", "ccm_objects", null); + if (!ccmObjectTable.next()) { + fail("No metadata for table ccm_core.ccm_objects returned. " + + "Table does not exist?"); + } + + //Check of the ccm_core.installed_modules exists + final ResultSet installedModulesTable = connection.getMetaData() + .getTables(null, "ccm_core", "installed_modules", null); + if (!installedModulesTable.next()) { + fail( + "No metadata for table ccm_core.installed_modules returned. " + + "Table does not exist?"); + } + + //Check if the ccm-core module is registered in the + //ccm_core.installed_modules table + final Statement statement = connection.createStatement(); + installedModules = statement.executeQuery( + "SELECT module_id, module_class_name, status " + + "FROM ccm_core.installed_modules" + + " ORDER BY module_class_name"); + + } + final List modulesData = new ArrayList<>(); + while (installedModules.next()) { + createInstalledModuleListEntry(installedModules, modulesData); + } + + assertThat(modulesData.size(), is(1)); + + assertThat(Integer.toString(modulesData.get(0).getModuleId()), + is(equalTo(Integer.toString(CcmCore.class.getName(). + hashCode())))); + assertThat(modulesData.get(0).getModuleClassName(), + is(equalTo(CcmCore.class.getName()))); + assertThat(modulesData.get(0).getStatus(), + is(equalTo(ModuleStatus.INSTALLED.toString()))); + + //Check if the public user is registed. + final TypedQuery userQuery = entityManager.createQuery( + "SELECT u FROM User u WHERE u.screenName = 'public-user'", + User.class); + final List users = userQuery.getResultList(); + + assertThat(users.size(), is(1)); + assertThat(users.get(0).getName(), is(equalTo("public-user"))); + assertThat(users.get(0).getName(), is(not(nullValue()))); + assertThat(users.get(0).getFamilyName(), is(equalTo("ccm"))); + assertThat(users.get(0).getGivenName(), + is(equalTo("public user"))); + assertThat(users.get(0).getEmailAddresses().size(), is(1)); + assertThat(users.get(0).getEmailAddresses().get(0).getAddress(), + is(equalTo("public-user@localhost"))); + + } + + private void createInstalledModuleListEntry( + final ResultSet resultSet, final List modulesData) + throws SQLException { + + final InstalledModuleData moduleData = new InstalledModuleData(); + moduleData.setModuleId(resultSet.getInt("module_id")); + moduleData.setModuleClassName(resultSet.getString("module_class_name")); + moduleData.setStatus(resultSet.getString("status")); + + modulesData.add(moduleData); + } + + private class InstalledModuleData { + + private int moduleId; + private String moduleClassName; + private String status; + + public int getModuleId() { + return moduleId; + } + + public void setModuleId(final int moduleId) { + this.moduleId = moduleId; + } + + public String getModuleClassName() { + return moduleClassName; + } + + public void setModuleClassName(final String moduleClassName) { + this.moduleClassName = moduleClassName; + } + + public String getStatus() { + return status; + } + + public void setStatus(final String status) { + this.status = status; + } + + } + +} diff --git a/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/arquillian.xml b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/arquillian.xml new file mode 100644 index 000000000..f899cb784 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/arquillian.xml @@ -0,0 +1,41 @@ + + + + + target/deployments + + + + + + java:/comp/env/jdbc/org/libreccm/ccm-test-bundle/h2mem + + + + NONE + + true + target + + + + json + org.dbunit.ext.h2.H2DataTypeFactory + true + true + + + + + + \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/scripts/clean_schema.sql b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/scripts/clean_schema.sql new file mode 100644 index 000000000..585694671 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/scripts/clean_schema.sql @@ -0,0 +1,8 @@ +-- Used by the org.libreccm.core.modules.CcmModulesTest to clean up the +-- schema before the test + +DROP SCHEMA IF EXISTS ccm_core; + +DROP TABLE IF EXISTS schema_version; + +DROP SEQUENCE IF EXISTS hibernate_sequence; \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/test-persistence.xml b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/test-persistence.xml new file mode 100644 index 000000000..e5de77f82 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-h2-mem/test-persistence.xml @@ -0,0 +1,41 @@ + + + + + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + java:/comp/env/jdbc/org/libreccm/ccm-test-bundle/h2mem + + + + + + + + + + + + + \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/arquillian.xml b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/arquillian.xml new file mode 100644 index 000000000..f94d6fd9c --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/arquillian.xml @@ -0,0 +1,39 @@ + + + + + target/deployments + + + + java:/comp/env/jdbc/org/libreccm/ccm-test-bundle/pgsql + + + + NONE + + true + target + + + + json + + true + true + + + + + + diff --git a/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/scripts/clean_schema.sql b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/scripts/clean_schema.sql new file mode 100644 index 000000000..726bc03a1 --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/scripts/clean_schema.sql @@ -0,0 +1,8 @@ +-- Used by the org.libreccm.core.modules.CcmModulesTest to clean up the +-- schema after the test + +DROP SCHEMA IF EXISTS ccm_core CASCADE; + +DROP SEQUENCE IF EXISTS hibernate_sequence; + +DROP TABLE IF EXISTS schema_version; \ No newline at end of file diff --git a/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/test-persistence.xml b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/test-persistence.xml new file mode 100644 index 000000000..3d574f57f --- /dev/null +++ b/ccm-test-bundle-wildfly8/src/test/resources-wildfly8-remote-pgsql/test-persistence.xml @@ -0,0 +1,40 @@ + + + + + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + java:/comp/env/jdbc/org/libreccm/ccm-test-bundle/pgsql + + + + + + + + + + + + \ No newline at end of file