... |
... |
@@ -2,23 +2,13 @@ |
2 |
2 |
|
3 |
3 |
{{velocity output="false"}} |
4 |
4 |
#macro (display4Cards $cards) |
5 |
|
- <div class="row"> |
|
5 |
+ <ul class="card-list"> |
6 |
6 |
#foreach ($card in $cards) |
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"> |
|
7 |
+ <li class='card'> |
18 |
18 |
#helpExampleCard($card) |
19 |
|
- </div> |
|
9 |
+ </li> |
20 |
20 |
#end |
21 |
|
- </div> |
|
11 |
+ </ul> |
22 |
22 |
#end |
23 |
23 |
|
24 |
24 |
#set ($howToCards = [{ |