Changes for page Academy

Last modified by Erik Bakker on 2024/09/24 16:12

From version 48.1
edited by Erik Bakker
on 2022/04/25 15:29
Change comment: There is no comment for this version
To version 44.1
edited by Erik Bakker
on 2022/04/21 16:08
Change comment: Added object

Summary

Details

XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,1 +1,0 @@
1 -#xwikicontent {background-color: lightBlue}
Content Type
... ... @@ -1,1 +1,0 @@
1 -CSS
Name
... ... @@ -1,1 +1,0 @@
1 -TestCSSExtension
Parse content
... ... @@ -1,1 +1,0 @@
1 -Yes
Use this extension
... ... @@ -1,1 +1,0 @@
1 -always
XWiki.DocumentSheetBinding[0]
XWiki.GadgetClass[0]
content
... ... @@ -1,0 +1,9 @@
1 +{{velocity}}
2 +#set ($extraParams = '')
3 +#if ($doc.space != 'Main')
4 + #set ($escapedDocumentReference = $services.rendering.escape($services.model.serialize($doc.documentReference,
5 + 'default'), 'xwiki/2.1'))
6 + #set ($extraParams = "root='document:$escapedDocumentReference'")
7 +#end
8 +{{documentTree showTranslations="false" showAttachments="false" compact="true" $extraParams /}}
9 +{{/velocity}}
position
... ... @@ -1,0 +1,1 @@
1 +1,1
title
... ... @@ -1,0 +1,1 @@
1 +#if ($doc.space == 'Main')$services.localization.render('platform.dashboard.wiki.pages')#{else}$services.localization.render('platform.dashboard.space.documents', [$doc.plainTitle])#end
XWiki.GadgetClass[1]
content
... ... @@ -1,0 +1,68 @@
1 +{{html}}
2 +<!DOCTYPE html>
3 +<html>
4 +<head>
5 +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
6 +<style>
7 +* {
8 + box-sizing: border-box;
9 +}
10 +
11 +/* Create two equal columns that floats next to each other */
12 +.column {
13 + float: left;
14 + width: 50px;
15 + padding: 10px;
16 +}
17 +
18 +/* Style the buttons */
19 +.btn {
20 + border: none;
21 + outline: none;
22 + padding: 12px 16px;
23 + background-color: #f1f1f1;
24 + cursor: pointer;
25 +}
26 +
27 +.btn:hover {
28 + background-color: #ddd;
29 +}
30 +
31 +.btn.active {
32 + background-color: #666;
33 + color: white;
34 +}
35 +</style>
36 +</head>
37 +<body>
38 +
39 +
40 +
41 +<div class="row">
42 + <div class="column" style="background-color:#aaa;">
43 + <h2>Column 1</h2>
44 + <p>Some text..</p>
45 + </div>
46 + <div class="column" style="background-color:#bbb;">
47 + <h2>Column 2</h2>
48 + <p>Some text..</p>
49 + </div>
50 +</div>
51 +
52 +<div class="row">
53 + <div class="column" style="background-color:#ccc;">
54 + <h2>Column 3</h2>
55 + <p>Some text..</p>
56 + </div>
57 + <div class="column" style="background-color:#ddd;">
58 + <h2>Column 4</h2>
59 + <p>Some text..</p>
60 + </div>
61 +</div>
62 +
63 +
64 +
65 +</body>
66 +</html>
67 +
68 +{{/html}}
position
... ... @@ -1,0 +1,1 @@
1 +1, 2
title
... ... @@ -1,0 +1,1 @@
1 +$services.localization.render('rendering.macro.html.name')
XWiki.GadgetClass[2]
content
... ... @@ -1,0 +1,4 @@
1 +{{container layoutStyle="columns"}}
2 +(((first column)))
3 +(((second column)))
4 +{{/container}}
position
... ... @@ -1,0 +1,1 @@
1 +1, 3
title
... ... @@ -1,0 +1,1 @@
1 +$services.localization.render('rendering.macro.container.name')