Changes for page Administration Section

Last modified by Ecaterina Moraru on 2013/11/13 12:49

From version 8.1
edited by Ecaterina Moraru
on 2013/11/13 12:49
Change comment: Moved page to http://design.xwiki.org/xwiki/bin/view/Improvements/AdministrationSectionV2
To version 6.1
edited by Sergiu Dumitriu
on 2011/01/09 15:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Improvements.Administration
1 +Standards.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.risherry
1 +xwiki:XWiki.Sergiu
Content
... ... @@ -1,1 +1,287 @@
1 -{{warning}}Moved to [[design.xwiki.org:Improvements.AdministrationSectionV2>>http://design.xwiki.org/xwiki/bin/view/Improvements/AdministrationSectionV2]]{{/warning}}
1 +{{velocity}}
2 +#set ($ok = $xwiki.ssx.use("Improvements.AdministrationCategoryV2"))
3 +#set ($ok = $xwiki.jsfx.use('js/xwiki/editors/dataeditors.js', true))
4 +
5 +#set($adminMap = $util.linkedHashMap)
6 +#set($discard = $adminMap.put('Configuration', ['General', 'Programming']))
7 +#set($discard = $adminMap.put('Look & Feel', ['Presentation', 'Panel Wizard']))
8 +#set($discard = $adminMap.put('Users & Groups', ['Users', 'Groups', 'Rights', 'Registration']))
9 +#set($discard = $adminMap.put('Content', ['Import', 'Export', 'Templates', 'OpenOffice Server']))
10 +#set($discard = $adminMap.put('Applications', ['Annotations', 'Invitation', 'Search']))
11 +
12 +#set($crtCategory = "$!{request.category}")
13 +#set($crtSection = "$!{request.section}")
14 +
15 +#macro(admin_displaySection, $adminMap #section)
16 +#end
17 +
18 +#macro(admin_displayCategory, $adminMap, $category)
19 + #set($sections = $adminMap.get($category))
20 + #if ($category == $crtCategory)
21 + #set($class = 'current')
22 + #elseif ($listtool.contains($sections, $crtSection))
23 + #set($class = 'current-group')
24 + #else
25 + #set($class = '')
26 + #end
27 + <ul class="xclass-title">
28 + <li class="start header $class">
29 + <span class="wikilink"><a href="?category=${category}" class="${category}Icon hasIcon">$msg.get("admin.category.${category}")</a></span>
30 + </li>
31 + </ul>
32 + #foreach ($section in $adminMap.get($category))
33 + #admin_displaySection($adminMap, $section)
34 + #end
35 +#end
36 +
37 +#macro(admin_displayMenu $adminMap)
38 + #foreach ($category in $adminMap.keySet())
39 + #admin_displayCategory($adminMap, $category)
40 + #end
41 +#end
42 +{{/velocity}}
43 +
44 +{{html clean="false"}}
45 +
46 +<div class="adminHeader">
47 +<div id="hierarchy1">
48 + <a href="/xwiki/bin/view/Standards/">Administration</a> <span class="separator">&raquo;</span> <A href="#">Look &amp; Feel</a> <span class="separator">&raquo;</span> <span class="current">Presentation</span>
49 +</div>
50 +
51 +<div id="document-title1"><span>Administration: Presentation</span></div>
52 +</div>
53 +
54 +<div class="partLeft">
55 +<div class="xclass collapsable">
56 + <ul class="xclass-title">
57 + <li class="start header ">
58 + <span class="wikilink"><a href="#" class="configurationIcon hasIcon">Configuration</a></span>
59 + <div class="current-arrow-container">
60 + <div class="current-arrow-top"></div>
61 + <div class="current-arrow-bottom"></div>
62 + </div>
63 + </li>
64 + </ul>
65 + <ul class="xclass-content">
66 + <li>
67 + <span class="wikilink"><a href="#">General</a></span>
68 + </li>
69 + <li>
70 + <span class="wikilink"><a href="#">Programming</a></span>
71 + </li>
72 + </ul>
73 +</div>
74 +<div class="xclass collapsable collapsed">
75 + <ul class="xclass-title">
76 + <li class="start current-group">
77 + <span class="wikilink"><a href="#" class="lookIcon hasIcon">Look &amp; Feel</a></span>
78 + <div class="current-arrow-container">
79 + <div class="current-arrow-top"></div>
80 + <div class="current-arrow-bottom"></div>
81 + </div>
82 + </li>
83 + </ul>
84 + <ul class="xclass-content">
85 + <li class="current">
86 + <span class="wikilink"><a href="#">Presentation</a></span>
87 + </li>
88 + <li>
89 + <span class="wikilink"><a href="#">Panel Wizard</a></span>
90 + </li>
91 + </ul>
92 +</div>
93 +<div class="xclass collapsable collapsed">
94 + <ul class="xclass-title">
95 + <li class="start header">
96 + <span class="wikilink"><a href="#" class="usersIcon hasIcon">Users &amp; Groups</a></span>
97 + <div class="current-arrow-container">
98 + <div class="current-arrow-top"></div>
99 + <div class="current-arrow-bottom"></div>
100 + </div>
101 + </li>
102 + </ul>
103 + <ul class="xclass-content">
104 + <li>
105 + <span class="wikilink"><a href="#">Users</a></span>
106 + </li>
107 + <li>
108 + <span class="wikilink"><a href="#">Groups</a></span>
109 + </li>
110 + <li>
111 + <span class="wikilink"><a href="#">Rights</a></span>
112 + </li>
113 + <li>
114 + <span class="wikilink"><a href="#">Registration</a></span>
115 + </li>
116 + </ul>
117 +</div>
118 +<div class="xclass collapsable collapsed">
119 + <ul class="xclass-title">
120 + <li class="start header">
121 + <span class="wikilink"><a href="#" class="contentIcon hasIcon">Content</a></span>
122 + <div class="current-arrow-container">
123 + <div class="current-arrow-top"></div>
124 + <div class="current-arrow-bottom"></div>
125 + </div>
126 + </li>
127 + </ul>
128 + <ul class="xclass-content">
129 + <li>
130 + <span class="wikilink"><a href="#">Import</a></span>
131 + </li>
132 + <li>
133 + <span class="wikilink"><a href="#">Export</a></span>
134 + </li>
135 + <li>
136 + <span class="wikilink"><a href="#">Templates</a></span>
137 + </li>
138 + <li>
139 + <span class="wikilink"><a href="#">Open Office Server</a></span>
140 + </li>
141 + </ul>
142 +</div>
143 +<div class="xclass collapsable collapsed">
144 + <ul class="xclass-title">
145 + <li class="start header">
146 + <span class="wikilink"><a href="#" class="applicationIcon hasIcon">Applications</a></span>
147 + <div class="current-arrow-container">
148 + <div class="current-arrow-top"></div>
149 + <div class="current-arrow-bottom"></div>
150 + </div>
151 + </li>
152 + </ul>
153 + <ul class="xclass-content">
154 + <li>
155 + <span class="wikilink"><a href="#">Annotations</a></span>
156 + </li>
157 + <li>
158 + <span class="wikilink"><a href="#">Invitation</a></span>
159 + </li>
160 + <li>
161 + <span class="wikilink"><a href="#">Search</a></span>
162 + </li>
163 + </ul>
164 + </div>
165 +</div>
166 +
167 +
168 +<div class="partRight">
169 + <div class="partRightContent">
170 +
171 + <form onsubmit="cancelCancelEdit()" action="/xwiki/bin/saveandcontinue/XWiki/XWikiPreferences" method="post" id="presentation" class="xform">
172 + <div class="header" style="margin-top: 0;">
173 + <h1 style="margin-top: 0 !important;">Header</h1>
174 + <dl>
175 + <dt>
176 + <label class="title" for="XWiki.XWikiPreferences_0_title">Browser Title Bar Text </label>
177 + <span class="xHelpLabel">Type the text you want to be displayed in the browser's title bar</span>
178 + </dt>
179 + <dd>
180 + <input type="text" name="XWiki.XWikiPreferences_0_title" value="$tdoc.getRenderedTitle(&quot;plain/1.0&quot;) ($doc.fullName) - XWiki" id="XWiki.XWikiPreferences_0_title" size="30"/>
181 + </dd>
182 + <dt>
183 + <label class="meta" for="XWiki.XWikiPreferences_0_meta">HTTP Meta Information</label>
184 + </dt>
185 + <dd>
186 + <textarea cols="40" name="XWiki.XWikiPreferences_0_meta" rows="7" id="XWiki.XWikiPreferences_0_meta">Text</textarea>
187 + </dd>
188 + </dl>
189 + </div>
190 + <div class="panels">
191 + <h1>Panels</h1>
192 + <dl>
193 + <dt>
194 + <label class="showLeftPanels" for="XWiki.XWikiPreferences_0_showLeftPanels">Show Left Panels</label>
195 + </dt>
196 + <dd>
197 + <select size="1" name="XWiki.XWikiPreferences_0_showLeftPanels" id="XWiki.XWikiPreferences_0_showLeftPanels"><option label="---" value="">---</option><option label="Yes" value="1">Yes</option><option label="No" value="0" selected="selected">No</option></select>
198 + </dd>
199 + <dt>
200 + <label class="leftPanels" for="XWiki.XWikiPreferences_0_leftPanels">Left Panels </label>
201 + <span class="xHelpLabel">Enumerate the panels you want to display</span>
202 + </dt>
203 + <dd><input type="text" name="XWiki.XWikiPreferences_0_leftPanels" value="" id="XWiki.XWikiPreferences_0_leftPanels" size="60"/>
204 + </dd>
205 + <dt>
206 + <label class="showRightPanels" for="XWiki.XWikiPreferences_0_showRightPanels">Show Right Panels</label>
207 + </dt>
208 + <dd>
209 + <select size="1" name="XWiki.XWikiPreferences_0_showRightPanels" id="XWiki.XWikiPreferences_0_showRightPanels"><option label="---" value="">---</option><option label="Yes" value="1" selected="selected">Yes</option><option label="No" value="0">No</option></select>
210 + </dd>
211 + <dt>
212 + <label class="rightPanels" for="XWiki.XWikiPreferences_0_rightPanels">Right Panels</label>
213 + <span class="xHelpLabel">Enumerate the panels you want to display</span>
214 + </dt>
215 + <dd>
216 + <input type="text" name="XWiki.XWikiPreferences_0_rightPanels" value="Panels.QuickLinks,Panels.MyRecentModifications" id="XWiki.XWikiPreferences_0_rightPanels" size="60"/>
217 + </dd>
218 + </dl>
219 + </div>
220 + <div class="footer">
221 + <h1>Footer</h1>
222 + <dl>
223 + <dt>
224 + <label class="webcopyright" for="XWiki.XWikiPreferences_0_webcopyright">Copyright</label>
225 + <span class="xHelpLabel">Type the copyright notice that will appear in the footer</span>
226 + </dt>
227 + <dd>
228 + <input type="text" name="XWiki.XWikiPreferences_0_webcopyright" value="This wiki is licensed under a &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by/2.0/&quot;&gt;Creative Commons 2.0&lt;/a&gt; license" id="XWiki.XWikiPreferences_0_webcopyright" size="60"/>
229 + </dd>
230 + <dt>
231 + <label class="version" for="XWiki.XWikiPreferences_0_version">Version</label>
232 + <span class="xHelpLabel">Type the version information that will appear in the footer</span>
233 + </dt>
234 + <dd>
235 + <input type="text" name="XWiki.XWikiPreferences_0_version" value="XWiki Enterprise $xwiki.getVersion() - &lt;a onclick=&quot;openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation', '_blank'); return false;&quot; href=&quot;http://www.xwiki.org/xwiki/bin/view/Main/Documentation&quot;&gt;Documentation&lt;/a&gt;" id="XWiki.XWikiPreferences_0_version" size="30"/>
236 + </dd>
237 + </dl>
238 + </div>
239 + <div class="skin">
240 + <h1>Skin</h1>
241 + <dl>
242 + <dt>
243 + <span class="buttonwrapper"><a href="/xwiki/bin/view/Standards/FormsSkin">Customize</a></span>
244 + <label class="skin" for="XWiki.XWikiPreferences_0_skin">Skin</label>
245 + <span class="xHelpLabel">Currently used Skin</span>
246 + </label>
247 + </dt>
248 + <dd>
249 + <input type="text" name="XWiki.XWikiPreferences_0_skin" value="Standards.FormsSkin" id="XWiki.XWikiPreferences_0_skin" size="20"/>
250 + </dd>
251 + <dt>
252 + <span class="buttonwrapper"><a href="/xwiki/bin/inline/ColorThemes/DefaultColorTheme">Customize</a></span>
253 + <label class="colorTheme" for="XWiki.XWikiPreferences_0_colorTheme">Color theme</label>
254 + <span class="xHelpLabel">Currently used Color Theme</span>
255 + </label>
256 + </dt>
257 + <dd>
258 + <select size="1" name="XWiki.XWikiPreferences_0_colorTheme" id="XWiki.XWikiPreferences_0_colorTheme"><option label="Bordo" value="ColorThemes.Bordo">Bordo</option><option label="Peach" value="ColorThemes.Peach">Peach</option><option label="Default color theme" value="ColorThemes.DefaultColorTheme" selected="selected">Default color theme</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="Inner Dark" value="ColorThemes.InnerDark">Inner Dark</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="Blue Sky" value="ColorThemes.BlueSky">Blue Sky</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="$msg.get(&quot;xe.home.title&quot;)" value="Main.WebHome">$msg.get("xe.home.title")</option><option label="Nightfall" value="ColorThemes.Nightfall">Nightfall</option><option label="Nature" value="ColorThemes.Nature">Nature</option></select>
259 + <dd>
260 + <input type="hidden" value="" name="XWiki.XWikiPreferences_0_colorTheme"/>
261 + </dd>
262 + <dt>
263 + <label class="stylesheet" for="XWiki.XWikiPreferences_0_stylesheet">Default Stylesheet </label>
264 + </dt>
265 + <dd>
266 + <input type="text" name="XWiki.XWikiPreferences_0_stylesheet" value="style.css" id="XWiki.XWikiPreferences_0_stylesheet" size="30"/>
267 + </dd>
268 + <dt>
269 + <label class="stylesheets" for="XWiki.XWikiPreferences_0_stylesheets">Other Stylesheets </label>
270 + </dt>
271 + <dd>
272 + <input type="text" name="XWiki.XWikiPreferences_0_stylesheets" value="style.css" id="XWiki.XWikiPreferences_0_stylesheets" size="30"/>
273 + </dd>
274 + </dl>
275 + </div>
276 + <div class="bottombuttons">
277 + <p class="admin-buttons">
278 + <span class="buttonwrapper"><input type="submit" value="Save" name="formactionsac" class="button"/></span>
279 + </p>
280 + </div>
281 +</form>
282 +
283 +
284 + </div>
285 +</div>
286 +<div class="clearfloats"></div>
287 +{{/html}}