Adapt branding, use latest connect snapshot
[gpl/argeo-suite.git] / org.argeo.suite.web / META-INF / spring / ui.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4         xmlns:util="http://www.springframework.org/schema/util"
5         xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
6          http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
7
8         <!-- Main entry point for the CMS -->
9         <bean id="about" parent="app" init-method="init" destroy-method="destroy">
10                 <property name="workspace" value="main" />
11                 <property name="header" ref="headerManager" />
12                 <property name="pages">
13                         <map>
14                                 <entry key="">
15                                         <bean class="org.argeo.suite.web.DefaultMainPage">
16                                                 <property name="peopleService" ref="peopleService" />
17                                                 <property name="peopleIconPaths" ref="peopleEntityIcons" />
18                                                 <property name="nodeFileSystemProvider" ref="nodeFileSystemProvider" />
19                                         </bean>
20                                 </entry>
21                                 <entry key="people" value-ref="people.mainPage" />
22                                 <entry key="wiki">
23                                         <bean class="org.argeo.cms.text.WikiPage" />
24                                 </entry>
25                                 <entry key="browse">
26                                         <bean class="org.argeo.cms.maintenance.Browse" />
27                                 </entry>
28                         </map>
29                 </property>
30                 <property name="branding">
31                         <map>
32                                 <entry key="*">
33                                         <map>
34                                                 <entry value="org.argeo.cms.Theme" key="org.eclipse.rap.rwt.webclient.themeId" />
35                                                 <entry key="org.eclipse.rap.rwt.webclient.additionalHeaders">
36                                                         <value><![CDATA[
37         <style type='text/css'>
38                 a:link, a:visited { color: #333333;  text-decoration:none;  }
39                 a:hover { text-decoration:underline; }
40         </style>
41         <meta property="og:title" content="Argeo Suite" />
42         <meta property="og:description" content="Distributed Java Applications" />
43         <meta property="og:type" content="website" />
44         <meta property="og:url" content="https://www.argeo.org/" />
45 ]]></value>
46                                                 </entry>
47                                         </map>
48                                 </entry>
49                                 <entry key="">
50                                         <map>
51                                                 <entry value="Argeo Suite" key="org.eclipse.rap.rwt.webclient.pageTitle" />
52                                                 <entry value="theme/argeo-classic/icons/favicon.ico" key="org.eclipse.rap.rwt.webclient.favicon" />
53                                         </map>
54                                 </entry>
55                                 <entry key="people">
56                                         <map>
57                                                 <entry value="Contacts" key="org.eclipse.rap.rwt.webclient.pageTitle" />
58                                                 <entry value="org.argeo.cms.Theme" key="org.eclipse.rap.rwt.webclient.themeId" />
59                                                 <entry value="theme/argeo-classic/icons/people/people.gif"
60                                                         key="org.eclipse.rap.rwt.webclient.favicon" />
61                                                 <entry key="org.eclipse.rap.rwt.webclient.additionalHeaders">
62                                                         <value><![CDATA[
63                                 <style type='text/css'>
64                                         a:link, a:visited { color: #333333; text-decoration:none; }
65                                         a:hover { text-decoration:underline;}
66                                 </style>
67 ]]></value>
68                                                 </entry>
69                                         </map>
70                                 </entry>
71                         </map>
72                 </property>
73                 <property name="styleSheets">
74                         <map>
75                                 <entry key="org.argeo.cms.Theme">
76                                         <list>
77                                                 <value>theme/argeo-classic/argeo-classic.css</value>
78                                                 <value>theme/argeo-classic/people-classic.css</value>
79                                                 <value>theme/argeo-classic/documents-classic.css</value>
80                                                 <value>theme/argeo-classic/maintenance-classic.css</value>
81                                         </list>
82                                 </entry>
83                         </map>
84                 </property>
85         </bean>
86 </beans>