Von Version < 23.1 >
bearbeitet von XIMA Admin
am 05.03.2020, 21:33
Auf Version < 25.1 >
bearbeitet von gru
am 11.03.2020, 11:56
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -FORMCYCLE V6 Hilfe
1 +FORMCYCLE Hilfe
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.ximaadmin
1 +XWiki.gru
Inhalt
... ... @@ -1,98 +1,47 @@
1 -{{include reference="Help.Code.VelocityMacros"/}}
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 +}])
2 2  
3 -{{velocity output="false"}}
4 -#macro (MainMenuCard $data)
5 - #set ($documentationURL = $NULL)
6 - #if ($data.documentation)
7 - #set ($externalDocumentation = $data.documentation.contains('://'))
8 - #if ($externalDocumentation)
9 - #set ($documentationURL = $data.documentation)
10 - #else
11 - #set ($documentationURL = $xwiki.getURL($data.documentation))
12 - #end
13 - #end
14 - #set ($examplesURL = $NULL)
15 - #if ($data.examples)
16 - #if ($data.examples.startsWith('/'))
17 - ## Relative internal URL
18 - #set ($examplesURL = $data.examples)
19 - #else
20 - ## Page reference
21 - #set ($examplesURL = $xwiki.getURL($data.examples))
22 - #end
23 - #set ($url = $examplesURL)
24 - #else
25 - #set ($url = $documentationURL)
26 - #end
27 - <div class="well">
28 - #if ($data.icon)
29 - <span class="icon $data.icon" style="color:#504e4c"></span>
30 - #end
31 - #if ($data.iconfc)
32 - ##{{ficon name="$data.iconfc" size="1em"/}} title="$title"
33 - <span class="ico-fc-$data.iconfc" style="font-size:3em"></span>
34 - #end
35 - <h6>
36 - <a href="$!url">
37 - $escapetool.xml($data.title)
38 - </a>
39 - </h6>
40 - #if ($data.description)
41 - <p class="noitems" style="height:4em">
42 - $data.description
43 - </p>
44 - #end
45 - #if (($data.examples && $data.documentation) || !$data.thumbnail)
46 - <ul class="noitems">
47 - #if ($data.examples)
48 - <li>
49 - <a href="$examplesURL">$services.localization.render('help.example.label')</a>
50 - </li>
51 - #end
52 - #if ($data.documentation)
53 - <li>
54 - <a href="$documentationURL"#if ($externalDocumentation) class="wikiexternallink"#end>
55 - ##ervices.localization.render('help.more.label')
56 - Mehr erfahren
57 - </a>
58 - </li>
59 - #end
60 - </ul>
61 - #end
62 - #if ($data.thumbnail)
63 - <a href="$!url">
64 - #set ($attachmentReference = $services.model.resolveAttachment($data.thumbnail))
65 - <img src="$xwiki.getURL($attachmentReference)" class="thumbnail"
66 - alt="$escapetool.xml($attachmentReference.name)" />
67 - </a>
68 - #end
69 - </div>
70 -#end
71 -
72 -#macro (display4Cards $cards)
73 - <div class="row">
74 - #foreach ($card in $cards)
75 - ## See http://getbootstrap.com/css/#grid-responsive-resets .
76 - #if ($foreach.index > 0 && $foreach.index % 2 == 0)
77 - <div class="clearfix visible-sm-block "></div>
78 - #end
79 - #if ($foreach.index > 0 && $foreach.index % 3 == 0)
80 - <div class="clearfix visible-md-block"></div>
81 - #end
82 - #if ($foreach.index > 0 && $foreach.index % 4 == 0)
83 - <div class="clearfix visible-lg-block"></div>
84 - #end
85 - <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 card-main">
86 - #MainMenuCard($card)
87 - ##helpExampleCard($card)
88 - </div>
89 - #end
90 - </div>
91 -#end
92 -
93 -##'icon': 'fa fa-support',
94 -##square-edit-outline
95 -#set ($howToCards = [{
44 +#set ($smallCards = [{
96 96   'iconfc': 'square-edit-outline',
97 97   'title': 'Formulardesigner',
98 98   'description': 'Arbeiten mit dem Formulardesigner',
... ... @@ -112,11 +112,24 @@
112 112   'title': 'Workflow',
113 113   'description': 'Formulardaten verarbeiten',
114 114   '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'
115 115  }])
116 -{{/velocity}}
117 117  
118 -{{velocity}}
119 -{{html clean="false"}}
120 -#display4Cards($howToCards)
76 +{{html}}
77 +##$jsontool.serialize(${mainCards})<br>
78 +##$jsontool.serialize($mainCards)<br>
121 121  {{/html}}
80 +
81 +{{MainMenuTiles cards='$jsontool.serialize($mainCards)' /}}
82 +
83 +{{MainMenuTiles cards='$jsontool.serialize($smallCards)' type="small" /}}
122 122  {{/velocity}}
Copyright 2000-2024