... |
... |
@@ -1,84
+1,54 @@ |
1 |
|
-{{velocity}} |
2 |
|
-#set ($mainCards = [{ |
3 |
|
- 'iconfc': 'square-edit-outline', |
4 |
|
- 'title': 'Formulardesigner', |
5 |
|
- 'description': 'Arbeiten mit dem Formulardesigner', |
6 |
|
- 'documentation': "Formcycle.FormDesigner" |
7 |
|
-}, { |
8 |
|
- 'iconfc': 'wrench', |
9 |
|
- 'title': 'Verwaltung', |
10 |
|
- 'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateien, Templates und vieles mehr', |
11 |
|
- 'documentation': 'Formcycle.UserInterface' |
12 |
|
-}, { |
13 |
|
- 'iconfc': 'inbox', |
14 |
|
- 'title': 'Posteingang', |
15 |
|
- 'description': 'Formulardaten organisieren', |
16 |
|
- 'documentation': 'Formcycle.Inbox' |
17 |
|
-}, { |
18 |
|
- 'iconfc': 'workflow-fill', |
19 |
|
- 'title': 'Workflow', |
20 |
|
- 'description': 'Formulardaten verarbeiten', |
21 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
22 |
|
-}, { |
23 |
|
- 'icon': 'fa fa-play-circle', |
24 |
|
- 'title': 'Einführungsvideos', |
25 |
|
- 'description': 'Kurze Videos zum Vorstellen einzelner FORMCYCLE-Funktionen; ggf. Titel "Schnelleinstieg"', |
26 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
27 |
|
-}, { |
28 |
|
- 'iconfc': 'puzzle', |
29 |
|
- 'title': 'Tutorials', |
30 |
|
- 'description': 'Formulardaten verarbeiten', |
31 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
32 |
|
-}, { |
33 |
|
- 'iconfc': 'form', |
34 |
|
- 'title': 'Beispiele', |
35 |
|
- 'description': 'Beispiele für Formulareinbindungen und Formulare', |
36 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
37 |
|
-}, { |
38 |
|
- 'iconfc': 'comment-question-outline', |
39 |
|
- 'title': 'FAQ', |
40 |
|
- 'description': 'Häufig gestellte Fragen', |
41 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
42 |
|
-}]) |
|
1 |
+{{include reference="Help.Code.VelocityMacros"/}} |
43 |
43 |
|
44 |
|
-#set ($smallCards = [{ |
45 |
|
- 'iconfc': 'square-edit-outline', |
|
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', |
46 |
46 |
'title': 'Formulardesigner', |
47 |
47 |
'description': 'Arbeiten mit dem Formulardesigner', |
48 |
48 |
'documentation': "Formcycle.FormDesigner" |
49 |
49 |
}, { |
50 |
|
- 'iconfc': 'wrench', |
|
30 |
+ 'icon': 'fa fa-play-circle', |
51 |
51 |
'title': 'Verwaltung', |
52 |
|
- 'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateien, Templates und vieles mehr', |
|
32 |
+ 'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateienn, Templates und vieles mehr', |
53 |
53 |
'documentation': 'Formcycle.UserInterface' |
54 |
54 |
}, { |
55 |
|
- 'iconfc': 'inbox', |
|
35 |
+ 'icon': 'fa fa-play-circle', |
56 |
56 |
'title': 'Posteingang', |
57 |
57 |
'description': 'Formulardaten organisieren', |
58 |
58 |
'documentation': 'Formcycle.Inbox' |
59 |
59 |
}, { |
60 |
|
- 'iconfc': 'workflow-fill', |
|
40 |
+ 'icon': 'fa fa-play-circle', |
61 |
61 |
'title': 'Workflow', |
62 |
62 |
'description': 'Formulardaten verarbeiten', |
63 |
63 |
'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
64 |
|
-}, { |
65 |
|
- 'icon': 'fa fa-play-circle', |
66 |
|
- 'title': 'Einführungsvideos', |
67 |
|
- 'description': 'Kurze Videos zum Vorstellen einzelner FORMCYCLE-Funktionen; ggf. Titel "Schnelleinstieg"', |
68 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
69 |
|
-}, { |
70 |
|
- 'iconfc': 'puzzle', |
71 |
|
- 'title': 'Tutorials', |
72 |
|
- 'description': 'Formulardaten verarbeiten', |
73 |
|
- 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' |
74 |
74 |
}]) |
75 |
75 |
|
76 |
|
-{{html}} |
77 |
|
-##$jsontool.serialize(${mainCards})<br> |
78 |
|
-##$jsontool.serialize($mainCards)<br> |
79 |
|
-{{/html}} |
|
46 |
+{{/velocity}} |
80 |
80 |
|
81 |
|
-{{MainMenuTiles cards='$jsontool.serialize($mainCards)' /}} |
|
48 |
+{{velocity}} |
82 |
82 |
|
83 |
|
-{{MainMenuTiles cards='$jsontool.serialize($smallCards)' type="small" /}} |
|
50 |
+ |
|
51 |
+{{html clean="false"}} |
|
52 |
+#display4Cards($howToCards) |
|
53 |
+{{/html}} |
84 |
84 |
{{/velocity}} |