source: extensions/net.sf.basedb.skincollection/trunk/META-INF/extensions.xml @ 6227

Last change on this file since 6227 was 6227, checked in by Nicklas Nordborg, 2 years ago

Changes for future release Skin collection 1.3

File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<extensions xmlns="http://base.thep.lu.se/extensions.xsd">
3  <about safe-scripts="1">
4    <name>Skin collection</name>
5    <description>
6      A collection of skins for BASE.
7    </description>
8    <version>1.3-dev</version>
9    <min-base-version>3.18.1</min-base-version>
10    <copyright>BASE development team</copyright>
11    <email>basedb-users@lists.sourceforge.net</email>
12    <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.skincollection</url>
13  </about>
14
15  <extension
16    id="net.sf.basedb.skincollection.gold-skin"
17    extends="net.sf.basedb.clients.web.global-skin"
18    >
19    <about disabled="1">
20      <name>Gold</name>
21      <description>
22        Makes BASE a golden application!
23      </description>
24    </about>
25    <action-factory>
26      <factory-class>
27        net.sf.basedb.clients.web.extensions.skin.FixedSkinActionFactory
28      </factory-class>
29      <parameters>
30        <id>net.sf.basedb.skincollection.gold</id>
31        <stylesheet>~/gold/skin.css</stylesheet>
32      </parameters>
33    </action-factory>
34  </extension>
35 
36  <extension
37    id="net.sf.basedb.skincollection.test-server"
38    extends="net.sf.basedb.clients.web.global-skin"
39    >
40    <about disabled="1">
41      <name>Test server</name>
42      <description>
43        Adds a semi-transparent background with the text "Test server"
44        written diagonally across the entire screen.
45      </description>
46    </about>
47    <action-factory>
48      <factory-class>
49        net.sf.basedb.clients.web.extensions.skin.FixedSkinActionFactory
50      </factory-class>
51      <parameters>
52        <id>net.sf.basedb.skincollection.test-server</id>
53        <stylesheet>~/test-server/skin.css</stylesheet>
54      </parameters>
55    </action-factory>
56  </extension>
57 
58  <extension
59    id="net.sf.basedb.skincollection.server-id"
60    extends="net.sf.basedb.clients.web.global-skin"
61    >
62    <about disabled="1">
63      <name>Server ID</name>
64      <description>
65        A skin that adds a small notice in a corner with the "Server ID".
66        The default text is the server name and root context path
67        (eg. base.server.com/base-3.4), but it can be configured by a server
68        admin. If combined with the "Test server" skin, the notice will
69        use more prominent colors.
70      </description>
71    </about>
72    <action-factory>
73      <factory-class>
74        net.sf.basedb.clients.web.extensions.skin.FixedSkinActionFactory
75      </factory-class>
76      <parameters>
77        <id>net.sf.basedb.skincollection.server-id</id>
78        <script>~/server-id/skin.js</script>
79        <stylesheet>~/server-id/skin.css</stylesheet>
80        <!-- placeholder for text which can be configured in the options dialog -->
81        <data-text></data-text>
82      </parameters>
83    </action-factory>
84  </extension>
85
86  <extension
87    id="net.sf.basedb.skincollection.options"
88    extends="net.sf.basedb.clients.web.menu.extensions"
89    >
90    <index>99</index>
91    <about>
92      <name>Skin options</name>
93      <description>
94        A dialog for setting some configuration options.
95      </description>
96    </about>
97    <action-factory>
98      <factory-class>
99        net.sf.basedb.clients.web.extensions.menu.PermissionMenuItemFactory
100      </factory-class>
101      <parameters>
102        <id>skin-options</id>
103        <title>Skin options&amp;hellip;</title>
104        <tooltip>Configure the skin collection</tooltip>
105        <icon>~/options/config.png</icon>
106        <item>SETTING</item>
107        <visible-permission>WRITE</visible-permission>
108        <data-url>~/options/options.jsp?ID=$SESSION-ID$</data-url>
109        <data-popup>SkinOptions, 600, 400</data-popup>
110      </parameters>
111    </action-factory>
112  </extension>
113
114</extensions>
Note: See TracBrowser for help on using the repository browser.