Changes for page Features

Last modified by Lucas Charpentier (Sereza7) on 2024/03/26

From version 9.1
edited by Ecaterina Moraru (Valica)
on 2017/09/20
Change comment: There is no comment for this version
To version 9.5
edited by Ecaterina Moraru (Valica)
on 2017/09/20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,14 +1,23 @@
1 1  {{velocity filter="html"}}
2 2  #macro(displayFeatures $map)
3 +(%class='row'%)(((
3 3   #foreach ($item in $map)
4 4   #if ($foreach.count % 2 == 1)
5 - $nl
6 + (%class="clearfix"%)((()))
6 6   #end
7 - |(%class='featureIcon'%)[[image:$item['icon']]]|(%class='featureDescription'%)(((
8 - $item['link']$nl
9 - $item['description']
8 + (%class="col-xs-12 col-sm-6"%)(((
9 + (%class="row"%)(((
10 + (%class='col-xs-1 featureIcon'%)(((
11 + [[image:$item['icon']]]
12 + )))
13 + (%class='col-xs-11 featureDescription'%)(((
14 + $item['link']$nl
15 + $item['description']
16 + )))
17 + )))
10 10   )))
11 11   #end
20 +)))
12 12  #end
13 13  {{/velocity}}
14 14  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,3 +1,7 @@
1 1  .featureIcon img {
2 2   min-width: 24px;
3 3  }
4 +
5 +.table-responsive {
6 + border: 0;
7 +}

Get Connected