Changes for page Macros
Last modified by Thomas Coelho (local) on 2025/02/13 15:09
From version 2.1
edited by Thomas Coelho (local)
on 2022/05/27 15:18
on 2022/05/27 15:18
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui/14.4]
To version 3.1
edited by Thomas Coelho (local)
on 2025/02/13 15:09
on 2025/02/13 15:09
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui/17.0.0]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -77,33 +77,22 @@ 77 77 78 78 {{velocity}} 79 79 {{html clean="false"}} 80 -< divclass="row">80 +<ul class="card-list two-cols"> 81 81 #foreach ($card in $actionCards) 82 - ## See http://getbootstrap.com/css/#grid-responsive-resets . 83 - #if ($foreach.index > 0 && $foreach.index % 2 == 0) 84 - <div class="clearfix visible-sm-block visible-md-block visible-lg-block"></div> 85 - #end 86 - <div class="col-xs-12 col-sm-6"> 82 + <li class="card"> 87 87 #helpActionCard($card) 88 - </ div>84 + </li> 89 89 #end 90 -</ div>86 +</ul> 91 91 <h3 id="HExamples">Examples</h3> 92 92 <p>Need help or confused with some of our macros? Check out their documentation and find out more about their functionality.</p> 93 -< divclass="row">89 +<ul class="card-list three-cols"> 94 94 #foreach ($card in $exampleCards) 95 - ## See http://getbootstrap.com/css/#grid-responsive-resets . 96 - #if ($foreach.index > 0 && $foreach.index % 2 == 0) 97 - <div class="clearfix visible-sm-block "></div> 98 - #end 99 - #if ($foreach.index > 0 && $foreach.index % 3 == 0) 100 - <div class="clearfix visible-md-block visible-lg-block"></div> 101 - #end 102 - <div class="col-xs-12 col-sm-6 col-md-4"> 91 + <li class="card"> 103 103 #helpExampleCard($card) 104 - </ div>93 + </li> 105 105 #end 106 -</ div>95 +</ul> 107 107 <p><a href="https://extensions.xwiki.org/xwiki/bin/view/Main/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro" class="wikiexternallink">$services.localization.render('help.macros.more')</a></p> 108 108 {{/html}} 109 109 {{/velocity}}