Placeholder for themes, allow theme to be defined in project settings
This commit is contained in:
parent
3323673ee1
commit
d19c235d3b
6 changed files with 39 additions and 3 deletions
|
@ -6,8 +6,11 @@
|
||||||
<id>defaults</id>
|
<id>defaults</id>
|
||||||
<properties>
|
<properties>
|
||||||
<app-name>vivo</app-name>
|
<app-name>vivo</app-name>
|
||||||
|
|
||||||
<vivo-dir>/usr/local/vivo/home</vivo-dir>
|
<vivo-dir>/usr/local/vivo/home</vivo-dir>
|
||||||
<tomcat-dir>/usr/local/tomcat</tomcat-dir>
|
<tomcat-dir>/usr/local/tomcat</tomcat-dir>
|
||||||
|
|
||||||
|
<default-theme>wilma</default-theme>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
<name>VIVO Prepare Home</name>
|
<name>VIVO Prepare Home</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<default-theme>wilma</default-theme>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>install</id>
|
<id>install</id>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.basedir}/src/main/resources</directory>
|
<directory>${project.basedir}/src/main/resources</directory>
|
||||||
<outputDirectory>/</outputDirectory>
|
<outputDirectory>/</outputDirectory>
|
||||||
|
<filtered>true</filtered>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
</assembly>
|
</assembly>
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?><rdf:RDF
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||||
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
||||||
|
xmlns:j.0="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
|
||||||
|
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
|
||||||
|
<rdf:Description>
|
||||||
|
<rdf:type rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#Portal"/>
|
||||||
|
<rdfs:label xml:lang="en-US">VIVO</rdfs:label>
|
||||||
|
<j.0:shortHand rdf:datatype="http://www.w3.org/2001/XMLSchema#string">enabling national networking of scientists</j.0:shortHand>
|
||||||
|
<j.0:flag1Filtering rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</j.0:flag1Filtering>
|
||||||
|
<j.0:imageThumbWidth rdf:datatype="http://www.w3.org/2001/XMLSchema#int">0</j.0:imageThumbWidth>
|
||||||
|
<j.0:logotypeHeight rdf:datatype="http://www.w3.org/2001/XMLSchema#int">0</j.0:logotypeHeight>
|
||||||
|
<j.0:bannerWidth rdf:datatype="http://www.w3.org/2001/XMLSchema#int">0</j.0:bannerWidth>
|
||||||
|
<j.0:rootTab rdf:nodeID="tab1"/>
|
||||||
|
<j.0:displayRank rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</j.0:displayRank>
|
||||||
|
<j.0:logotypeWidth rdf:datatype="http://www.w3.org/2001/XMLSchema#int">0</j.0:logotypeWidth>
|
||||||
|
<j.0:bannerHeight rdf:datatype="http://www.w3.org/2001/XMLSchema#int">0</j.0:bannerHeight>
|
||||||
|
<j.0:copyrightAnchor rdf:datatype="http://www.w3.org/2001/XMLSchema#string">VIVO Project</j.0:copyrightAnchor>
|
||||||
|
<j.0:aboutText rdf:datatype="http://www.w3.org/2001/XMLSchema#string"><p>VIVO is an open source semantic web application originally developed and implemented at Cornell. When installed and populated with content at an institution, it enables the discovery of research and scholarship across disciplines at that institution. VIVO supports browsing and a search function which returns faceted results for rapid retrieval of desired information. Content in any local VIVO installation may be maintained manually or brought into the database in automated ways from local systems of record, such as HR, grants, course, and faculty activity databases.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>See more information on the <a href="http://vivoweb.org">VIVO Project</a>.</p></j.0:aboutText>
|
||||||
|
<j.0:themeDir rdf:datatype="http://www.w3.org/2001/XMLSchema#string">themes/${default-theme}/</j.0:themeDir>
|
||||||
|
</rdf:Description>
|
||||||
|
</rdf:RDF>
|
1
installer/webapp/src/main/webapp/themes/readme
Normal file
1
installer/webapp/src/main/webapp/themes/readme
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add you theme directories here
|
6
pom.xml
6
pom.xml
|
@ -40,7 +40,7 @@
|
||||||
<id>installer</id>
|
<id>installer</id>
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>!installer-dir</name>
|
<name>!vivo-installer-dir</name>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<modules>
|
<modules>
|
||||||
|
@ -51,11 +51,11 @@
|
||||||
<id>external-installer</id>
|
<id>external-installer</id>
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>installer-dir</name>
|
<name>vivo-installer-dir</name>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<modules>
|
<modules>
|
||||||
<module>${installer-dir}</module>
|
<module>${vivo-installer-dir}</module>
|
||||||
</modules>
|
</modules>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
Loading…
Add table
Reference in a new issue