... |
... |
@@ -1,1
+1,52 @@ |
1 |
|
-TODO |
|
1 |
+{{include reference="Help.Code.VelocityMacros"/}} |
|
2 |
+ |
|
3 |
+{{velocity output="false"}} |
|
4 |
+#macro (display4Cards $cards) |
|
5 |
+ <div class="row"> |
|
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 card-main"> |
|
18 |
+ #helpExampleCard($card) |
|
19 |
+ </div> |
|
20 |
+ #end |
|
21 |
+ </div> |
|
22 |
+#end |
|
23 |
+ |
|
24 |
+#set ($howToCards = [{ |
|
25 |
+ 'icon': 'fa fa-support', |
|
26 |
+ 'title': 'Formulardesigner', |
|
27 |
+ 'description': 'Arbeiten mit dem Formulardesigner', |
|
28 |
+ 'documentation': "Formcycle.FormDesigner" |
|
29 |
+}, { |
|
30 |
+ 'icon': 'fa fa-play-circle', |
|
31 |
+ 'title': 'Verwaltung', |
|
32 |
+ 'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateien, Templates und vieles mehr', |
|
33 |
+ 'documentation': 'Formcycle.UserInterface' |
|
34 |
+}, { |
|
35 |
+ 'icon': 'fa fa-play-circle', |
|
36 |
+ 'title': 'Posteingang', |
|
37 |
+ 'description': 'Formulardaten organisieren', |
|
38 |
+ 'documentation': 'Formcycle.Inbox' |
|
39 |
+}, { |
|
40 |
+ 'icon': 'fa fa-play-circle', |
|
41 |
+ 'title': 'Workflow', |
|
42 |
+ 'description': 'Formulardaten verarbeiten', |
|
43 |
+ 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
|
44 |
+}]) |
|
45 |
+ |
|
46 |
+{{/velocity}} |
|
47 |
+ |
|
48 |
+{{velocity}} |
|
49 |
+{{html clean="false"}} |
|
50 |
+#display4Cards($howToCards) |
|
51 |
+{{/html}} |
|
52 |
+{{/velocity}} |