| ... |
... |
@@ -2,13 +2,23 @@ |
| 2 |
2 |
|
| 3 |
3 |
{{velocity output="false"}} |
| 4 |
4 |
#macro (display4Cards $cards) |
| 5 |
|
- <ul class="card-list"> |
|
5 |
+ <div class="row"> |
| 6 |
6 |
#foreach ($card in $cards) |
| 7 |
|
- <li class='card'> |
|
7 |
+ ## See http://getbootstrap.com/css/#grid-responsive-resets . |
|
8 |
+ #if ($foreach.index > 0 && $foreach.index % 2 == 0) |
|
9 |
+ <div class="clearfix visible-sm-block "></div> |
|
10 |
+ #end |
|
11 |
+ #if ($foreach.index > 0 && $foreach.index % 3 == 0) |
|
12 |
+ <div class="clearfix visible-md-block"></div> |
|
13 |
+ #end |
|
14 |
+ #if ($foreach.index > 0 && $foreach.index % 4 == 0) |
|
15 |
+ <div class="clearfix visible-lg-block"></div> |
|
16 |
+ #end |
|
17 |
+ <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3"> |
| 8 |
8 |
#helpExampleCard($card) |
| 9 |
|
- </li> |
|
19 |
+ </div> |
| 10 |
10 |
#end |
| 11 |
|
- </ul> |
|
21 |
+ </div> |
| 12 |
12 |
#end |
| 13 |
13 |
|
| 14 |
14 |
#set ($howToCards = [{ |
| ... |
... |
@@ -54,8 +54,8 @@ |
| 54 |
54 |
#set ($featureCards = [{ |
| 55 |
55 |
'icon': 'fa fa-pencil', |
| 56 |
56 |
'title': $services.localization.render('help.edit.title'), |
| 57 |
|
- 'description': $services.localization.render('help.edit.description',["<a href='https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/PageEditing' class='wikiexternallink'>",'</a>',"<a href='$xwiki.getURL('XWiki.XWikiSyntax')'>"]), |
| 58 |
|
- 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/PageEditing', |
|
67 |
+ 'description': $services.localization.render('help.edit.description',["<a href='https://platform.xwiki.org/xwiki/bin/view/Features/PageEditing' class='wikiexternallink'>",'</a>',"<a href='$xwiki.getURL('XWiki.XWikiSyntax')'>"]), |
|
68 |
+ 'documentation': 'https://platform.xwiki.org/xwiki/bin/view/Features/PageEditing', |
| 59 |
59 |
'examples': $xwiki.getURL('Sandbox.WebHome', 'edit', 'editor=wysiwyg') |
| 60 |
60 |
}, { |
| 61 |
61 |
'icon': 'fa fa-file-text-o', |
| ... |
... |
@@ -79,19 +79,19 @@ |
| 79 |
79 |
'icon': 'fa fa-sitemap', |
| 80 |
80 |
'title': $services.localization.render('help.organization.title'), |
| 81 |
81 |
'description': $services.localization.render('help.organization.description'), |
| 82 |
|
- 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/ContentOrganization/', |
|
92 |
+ 'documentation': 'https://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/', |
| 83 |
83 |
'examples': $xwiki.getURL('Main.AllDocs', 'view', 'view=tree') |
| 84 |
84 |
}, { |
| 85 |
85 |
'icon': 'fa fa-history', |
| 86 |
86 |
'title': $services.localization.render('help.history.title'), |
| 87 |
87 |
'description': $services.localization.render('help.history.description'), |
| 88 |
|
- 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/VersionControl', |
|
98 |
+ 'documentation': 'https://platform.xwiki.org/xwiki/bin/view/Features/VersionControl', |
| 89 |
89 |
'examples': $historyURL |
| 90 |
90 |
}, { |
| 91 |
91 |
'icon': 'fa fa-download', |
| 92 |
92 |
'title': $services.localization.render('help.import.title'), |
| 93 |
93 |
'description': $services.localization.render('help.import.description'), |
| 94 |
|
- 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Imports' |
|
104 |
+ 'documentation': 'https://platform.xwiki.org/xwiki/bin/view/Features/Imports' |
| 95 |
95 |
}]) |
| 96 |
96 |
{{/velocity}} |
| 97 |
97 |
|