Changes for page Features

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

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

Summary

Details

Page properties
Content
... ... @@ -1,13 +1,20 @@
1 1  {{velocity filter="html"}}
2 2  #macro(displayFeatures $map)
3 -(%class='table-responsive'%)(((
3 +(%class='row'%)(((
4 4   #foreach ($item in $map)
5 5   #if ($foreach.count % 2 == 1)
6 - $nl
6 + (%class="clearfix"%)((()))
7 7   #end
8 - |(%class='featureIcon'%)[[image:$item['icon']]]|(%class='featureDescription'%)(((
9 - $item['link']$nl
10 - $item['description']
8 + (%class="col-xs-12 col-sm-6"%)(((
9 + (%class="row"%)(((
10 + (%class='col-xs-4 featureIcon'%)(((
11 + [[image:$item['icon']]]
12 + )))
13 + (%class='col-xs-8 featureDescription'%)(((
14 + $item['link']$nl
15 + $item['description']
16 + )))
17 + )))
11 11   )))
12 12   #end
13 13  )))
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