Von Version < 28.7 >
bearbeitet von gru
am 12.03.2020, 15:05
Auf Version < 23.1 >
bearbeitet von XIMA Admin
am 05.03.2020, 21:33
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -FORMCYCLE Hilfe
1 +FORMCYCLE V6 Hilfe
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.gru
1 +XWiki.ximaadmin
Inhalt
... ... @@ -1,5 +1,98 @@
1 -{{velocity}}
2 -#set ($mainCards = [{
1 +{{include reference="Help.Code.VelocityMacros"/}}
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 = [{
3 3   'iconfc': 'square-edit-outline',
4 4   'title': 'Formulardesigner',
5 5   'description': 'Arbeiten mit dem Formulardesigner',
... ... @@ -19,779 +19,11 @@
19 19   'title': 'Workflow',
20 20   'description': 'Formulardaten verarbeiten',
21 21   'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
22 -}, {
23 - 'icon': 'fa fa-download',
24 - 'title': 'Installation',
25 - 'description': 'FORMCYCLE installieren oder aktualisieren',
26 - 'documentation': 'Formcycle.Installation'
27 -}, {
28 - 'icon': 'fa fa-play-circle',
29 - 'title': 'Einführungsvideos',
30 - 'description': 'Kurze Videos zum Vorstellen einzelner FORMCYCLE-Funktionen; ggf. Titel "Schnelleinstieg"',
31 - 'documentation': 'https://formcycle.eu/de/features'
32 -}, {
33 - 'iconfc': 'puzzle',
34 - 'title': 'Anwendungsfälle',
35 - 'description': 'Formulardaten verarbeiten',
36 - 'documentation': 'doc:Examples.WebHome'
37 -}, {
38 - 'iconfc': 'form',
39 - 'title': 'Beispiele',
40 - 'description': 'Beispiele für Formulareinbindungen und Formulare',
41 - 'documentation': 'doc:Examples.WebHome'
42 42  }])
43 -
44 -#set ($smallCards = [{
45 - 'iconfc': 'comment-faq-outline',
46 - 'title': 'Häufig gestellte Fragen',
47 - 'description': 'Häufig gestellte Fragen',
48 - 'documentation': "https://faq.formcycle.eu/"
49 -}, {
50 - 'iconfc': 'puzzle',
51 - 'title': 'Plugin-Dokumentation',
52 - 'description': 'Dokumentation der für FORMCYCLE verfügbaren Plugins',
53 - 'documentation': 'Formcycle.PluginDocumentation'
54 -}, {
55 - 'iconfc': 'action-change-status',
56 - 'title': 'Einbindung externer Systeme',
57 - 'description': 'Einbindung von FORMCYCLE in CMS/DMS-Systeme',
58 - 'documentation': 'Formcycle.CMSExtension'
59 -}, {
60 - 'icon': 'fa fa-share-square',
61 - 'title': 'Daten extern weiterverarbeiten',
62 - 'description': 'Mit FORMCYCLE erfasste Daten an andere Systeme weiterleiten',
63 - 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
64 -}, {
65 - 'icon': 'fa fa-cloud',
66 - 'title': 'FORM.CLOUD',
67 - 'description': 'Informationen zur XIMA FORM.CLOUD',
68 - 'documentation': 'doc:FORMCLOUD.WebHome'
69 -}, {
70 - 'icon': 'fa fa-list',
71 - 'title': 'Release Notes',
72 - 'description': 'Release Notes und Download der aktuellen Version',
73 - 'documentation': 'doc:Blog.WebHome'
74 -}])
75 -
76 -{{html}}
77 -##$jsontool.serialize(${mainCards})<br>
78 -##$jsontool.serialize($mainCards)<br>
79 -{{/html}}
80 -
81 -{{MainMenuTiles cards='$jsontool.serialize($mainCards)' /}}
82 -
83 -{{MainMenuTiles cards='$jsontool.serialize($smallCards)' type="small" /}}
84 -
85 85  {{/velocity}}
86 86  
87 87  {{velocity}}
88 -{{html wiki="false" clean="false"}}
89 -
90 -
91 -
92 -<style>
93 -.jqcloud{font:10px Helvetica,Arial,sans-serif;line-height:normal;overflow:hidden;position:relative}.jqcloud-word{margin:0;padding:0}.jqcloud-word.w1{color:#aab5f0;font-size:100%}.jqcloud-word.w2{color:#9ce;font-size:150%}.jqcloud-word.w3{color:#a0ddff;font-size:200%}.jqcloud-word.w4{color:#90c5f0;font-size:250%}.jqcloud-word.w5{color:#90a0dd;font-size:300%}.jqcloud-word.w6{color:#90c5f0;font-size:350%}.jqcloud-word.w7{color:#39d;font-size:400%}.jqcloud-word.w8{color:#0cf;font-size:450%}.jqcloud-word.w9{color:#0cf;font-size:500%}.jqcloud-word.w10{color:#0cf;font-size:550%}.jqcloud-word a{color:inherit;font-size:inherit;text-decoration:none}.jqcloud-word a:hover{color:#0cf}
94 -.jqcloud span {
95 - -moz-user-select: -moz-none;
96 - -khtml-user-select: none;
97 - -webkit-user-select: none;
98 - -ms-user-select: none;
99 - user-select: none;
100 - background-color: #eaeaef;
101 - border-radius: 10px;
102 - padding: 0px 4px 0px 4px;
103 -}
104 -.jqcloud span.jqHighlight {
105 - color: #0cf !important;
106 -}
107 -.jQButton {
108 - color: #fff;
109 - background-color: #3480AD;/*#f0f0f3*/
110 - text-align: center;
111 - display: inline-block;
112 - border-radius: 4px;
113 - padding: 4px 10px 4px 10px;
114 - font-size: 15px
115 - margin: auto;
116 - margin-bottom: 5px;
117 - -moz-user-select: -moz-none;
118 - -khtml-user-select: none;
119 - -webkit-user-select: none;
120 - -ms-user-select: none;
121 - user-select: none;
122 -}
123 -.jQButton[active=false] {
124 - background-color: #a7a7a7;
125 -}
126 -.jQButton:hover {
127 - background-color: #0cf;
128 -}
129 -.jQButton[active=false]:hover {
130 - background-color: #676767;
131 -}
132 -.jQButton .jQButton-icon::before {
133 - font-family: "FontAwesome";
134 - font-size: 14px;
135 - font-weight: 400;
136 - content: "\f046";
137 -}
138 -.jQButton[active=false] .jQButton-icon::before {
139 - content: "\f096";
140 -}
141 -</style>
142 -
143 -<script>
144 -require(['jquery'],function(XjQ) {
145 -'use strict';
146 -
147 -/*
148 - * Plugin class
149 - */
150 -var jQCloud = function(element, word_array, options) {
151 - this.Xelement = XjQ(element);
152 -
153 - this.word_array = word_array || [];
154 - this.options = options;
155 -
156 - this.sizeGenerator = null;
157 - this.colorGenerator = null;
158 -
159 - // Data used internally
160 - this.data = {
161 - placed_words: [],
162 - timeouts: {},
163 - namespace: null,
164 - step: null,
165 - angle: null,
166 - aspect_ratio: null,
167 - max_weight: null,
168 - min_weight: null,
169 - sizes: [],
170 - colors: []
171 - };
172 -
173 - this.initialize();
174 -};
175 -
176 -jQCloud.DEFAULTS = {
177 - width: 100,
178 - height: 100,
179 - center: { x: 0.5, y: 0.5 },
180 - steps: 10,
181 - delay: null,
182 - shape: 'elliptic',
183 - classPattern: 'w{n}',
184 - encodeURI: true,
185 - removeOverflowing: true,
186 - afterCloudRender: null,
187 - autoResize: false,
188 - colors: null,
189 - fontSize: null,
190 - template: null
191 -};
192 -
193 -jQCloud.prototype = {
194 - initialize: function() {
195 - // Set/Get dimensions
196 - if (this.options.width) {
197 - this.Xelement.width(this.options.width);
198 - }
199 - else {
200 - this.options.width = this.Xelement.width();
201 - }
202 - if (this.options.height) {
203 - this.Xelement.height(this.options.height);
204 - }
205 - else {
206 - this.options.height = this.Xelement.height();
207 - }
208 -
209 - // Default options value
210 - this.options = XjQ.extend(true, {}, jQCloud.DEFAULTS, this.options);
211 -
212 - // Ensure delay
213 - if (this.options.delay === null) {
214 - this.options.delay = this.word_array.length > 50 ? 10 : 0;
215 - }
216 -
217 - // Backward compatibility
218 - if (this.options.center.x > 1) {
219 - this.options.center.x = this.options.center.x / this.options.width;
220 - this.options.center.y = this.options.center.y / this.options.height;
221 - }
222 -
223 - // Create colorGenerator function from options
224 - // Direct function
225 - if (typeof this.options.colors == 'function') {
226 - this.colorGenerator = this.options.colors;
227 - }
228 - // Array of sizes
229 - else if (XjQ.isArray(this.options.colors)) {
230 - var cl = this.options.colors.length;
231 - if (cl > 0) {
232 - // Fill the sizes array to X items
233 - if (cl < this.options.steps) {
234 - for (var i = cl; i < this.options.steps; i++) {
235 - this.options.colors[i] = this.options.colors[cl - 1];
236 - }
237 - }
238 -
239 - this.colorGenerator = function(weight) {
240 - return this.options.colors[this.options.steps - weight];
241 - };
242 - }
243 - }
244 -
245 - // Create sizeGenerator function from options
246 - // Direct function
247 - if (typeof this.options.fontSize == 'function') {
248 - this.sizeGenerator = this.options.fontSize;
249 - }
250 - // Object with 'from' and 'to'
251 - else if (XjQ.isPlainObject(this.options.fontSize)) {
252 - this.sizeGenerator = function(width, height, weight) {
253 - var max = width * this.options.fontSize.from,
254 - min = width * this.options.fontSize.to;
255 - return Math.round(min + (max - min) * 1.0 / (this.options.steps - 1) * (weight - 1)) + 'px';
256 - };
257 - }
258 - // Array of sizes
259 - else if (XjQ.isArray(this.options.fontSize)) {
260 - var sl = this.options.fontSize.length;
261 - if (sl > 0) {
262 - // Fill the sizes array to X items
263 - if (sl < this.options.steps) {
264 - for (var j = sl; j < this.options.steps; j++) {
265 - this.options.fontSize[j] = this.options.fontSize[sl - 1];
266 - }
267 - }
268 -
269 - this.sizeGenerator = function(width, height, weight) {
270 - return this.options.fontSize[this.options.steps - weight];
271 - };
272 - }
273 - }
274 -
275 - this.data.angle = Math.random() * 6.28;
276 - this.data.step = (this.options.shape === 'rectangular') ? 18.0 : 2.0;
277 - this.data.aspect_ratio = this.options.width / this.options.height;
278 - this.clearTimeouts();
279 -
280 - // Namespace word ids to avoid collisions between multiple clouds
281 - this.data.namespace = (this.Xelement.attr('id') || Math.floor((Math.random() * 1000000)).toString(36)) + '_word_';
282 -
283 - this.Xelement.addClass('jqcloud');
284 -
285 - // Container's CSS position cannot be 'static'
286 - if (this.Xelement.css('position') === 'static') {
287 - this.Xelement.css('position', 'relative');
288 - }
289 -
290 - // Delay execution so that the browser can render the page before the computatively intensive word cloud drawing
291 - this.createTimeout(XjQ.proxy(this.drawWordCloud, this), 10);
292 -
293 - // Attach window resize event
294 - if (this.options.autoResize) {
295 - XjQ(window).on('resize.' + this.data.namespace, throttle(this.resize, 50, this));
296 - }
297 - },
298 -
299 - // Helper function to keep track of timeouts so they can be destroyed
300 - createTimeout: function(callback, time) {
301 - var timeout = setTimeout(XjQ.proxy(function() {
302 - delete this.data.timeouts[timeout];
303 - callback();
304 - }, this), time);
305 - this.data.timeouts[timeout] = true;
306 - },
307 -
308 - // Destroy all timeouts
309 - clearTimeouts: function() {
310 - XjQ.each(this.data.timeouts, function(key) {
311 - clearTimeout(key);
312 - });
313 - this.data.timeouts = {};
314 - },
315 -
316 - // Pairwise overlap detection
317 - overlapping: function(a, b) {
318 - if (Math.abs(2.0 * a.left + a.width - 2.0 * b.left - b.width) < a.width + b.width) {
319 - if (Math.abs(2.0 * a.top + a.height - 2.0 * b.top - b.height) < a.height + b.height) {
320 - return true;
321 - }
322 - }
323 - return false;
324 - },
325 -
326 - // Helper function to test if an element overlaps others
327 - hitTest: function(elem) {
328 - // Check elements for overlap one by one, stop and return false as soon as an overlap is found
329 - for (var i = 0, l = this.data.placed_words.length; i < l; i++) {
330 - if (this.overlapping(elem, this.data.placed_words[i])) {
331 - return true;
332 - }
333 - }
334 - return false;
335 - },
336 -
337 - // Initialize the drawing of the whole cloud
338 - drawWordCloud: function() {
339 - var i, l;
340 -
341 - this.Xelement.children('[id^="' + this.data.namespace + '"]').remove();
342 -
343 - if (this.word_array.length === 0) {
344 - return;
345 - }
346 -
347 - // Make sure every weight is a number before sorting
348 - for (i = 0, l = this.word_array.length; i < l; i++) {
349 - this.word_array[i].weight = parseFloat(this.word_array[i].weight, 10);
350 - }
351 -
352 - // Sort word_array from the word with the highest weight to the one with the lowest
353 - this.word_array.sort(function(a, b) {
354 - return b.weight - a.weight;
355 - });
356 -
357 - // Kepp trace of bounds
358 - this.data.max_weight = this.word_array[0].weight;
359 - this.data.min_weight = this.word_array[this.word_array.length - 1].weight;
360 -
361 - // Generate colors
362 - this.data.colors = [];
363 - if (this.colorGenerator) {
364 - for (i = 0; i < this.options.steps; i++) {
365 - this.data.colors.push(this.colorGenerator(i + 1));
366 - }
367 - }
368 -
369 - // Generate font sizes
370 - this.data.sizes = [];
371 - if (this.sizeGenerator) {
372 - for (i = 0; i < this.options.steps; i++) {
373 - this.data.sizes.push(this.sizeGenerator(this.options.width, this.options.height, i + 1));
374 - }
375 - }
376 -
377 - // Iterate drawOneWord on every word, immediately or with delay
378 - if (this.options.delay > 0) {
379 - this.drawOneWordDelayed();
380 - }
381 - else {
382 - for (i = 0, l = this.word_array.length; i < l; i++) {
383 - this.drawOneWord(i, this.word_array[i]);
384 - }
385 -
386 - if (typeof this.options.afterCloudRender === 'function') {
387 - this.options.afterCloudRender.call(this.Xelement);
388 - }
389 - }
390 - },
391 -
392 - // Function to draw a word, by moving it in spiral until it finds a suitable empty place
393 - drawOneWord: function(index, word) {
394 - var word_id = this.data.namespace + index,
395 - word_selector = '#' + word_id,
396 -
397 - // option.shape == 'elliptic'
398 - angle = this.data.angle,
399 - radius = 0.0,
400 -
401 - // option.shape == 'rectangular'
402 - steps_in_direction = 0.0,
403 - quarter_turns = 0.0,
404 -
405 - weight = Math.floor(this.options.steps / 2),
406 - word_span,
407 - word_size,
408 - word_style;
409 -
410 - // Create word attr object
411 - //word.attr = XjQ.extend({}, word.html, { id: word_id });
412 - word.attr = XjQ.extend({}, word.html, { id: word_id, group: (word.group ? word.group : "") });
413 -
414 - // Linearly map the original weight to a discrete scale from 1 to 10
415 - // Only if weights are different
416 - if (this.data.max_weight != this.data.min_weight) {
417 - weight = Math.round((word.weight - this.data.min_weight) * 1.0 * (this.options.steps - 1) / (this.data.max_weight - this.data.min_weight)) + 1;
418 - }
419 - word_span = XjQ('<span>').attr(word.attr);
420 -
421 - word_span.addClass('jqcloud-word');
422 -
423 - // Apply class
424 - if (this.options.classPattern) {
425 - word_span.addClass(this.options.classPattern.replace('{n}', weight));
426 - }
427 -
428 - // Apply color
429 - if (this.data.colors.length) {
430 - word_span.css('color', this.data.colors[weight - 1]);
431 - }
432 -
433 - // Apply color from word property
434 - if (word.color) {
435 - word_span.css('color', word.color);
436 - }
437 -
438 - // Apply size
439 - if (this.data.sizes.length) {
440 - word_span.css('font-size', this.data.sizes[weight - 1]);
441 - }
442 -
443 - //Render using template function if provided.
444 - if (this.options.template) {
445 - word_span.html(this.options.template(word));
446 - } else if (word.link) {
447 - // Append link if word.link attribute was set
448 - // If link is a string, then use it as the link href
449 - if (typeof word.link === 'string') {
450 - word.link = { href: word.link };
451 - }
452 -
453 - if (this.options.encodeURI) {
454 - word.link.href = encodeURI(word.link.href).replace(/'/g, '%27');
455 - }
456 -
457 - word_span.append(XjQ('<a>').attr(word.link).text(word.text));
458 - }
459 - else {
460 - word_span.text(word.text);
461 - }
462 -
463 - // Bind handlers to words
464 - if (word.handlers) {
465 - word_span.on(word.handlers);
466 - }
467 -
468 - this.Xelement.append(word_span);
469 -
470 - word_size = {
471 - width: word_span.outerWidth(),
472 - height: word_span.outerHeight()
473 - };
474 - word_size.left = this.options.center.x * this.options.width - word_size.width / 2.0;
475 - word_size.top = this.options.center.y * this.options.height - word_size.height / 2.0;
476 -
477 - // Save a reference to the style property, for better performance
478 - word_style = word_span[0].style;
479 - word_style.position = 'absolute';
480 - word_style.left = word_size.left + 'px';
481 - word_style.top = word_size.top + 'px';
482 -
483 - while (this.hitTest(word_size)) {
484 - // option shape is 'rectangular' so move the word in a rectangular spiral
485 - if (this.options.shape === 'rectangular') {
486 - steps_in_direction++;
487 -
488 - if (steps_in_direction * this.data.step > (1 + Math.floor(quarter_turns / 2.0)) * this.data.step * ((quarter_turns % 4 % 2) === 0 ? 1 : this.data.aspect_ratio)) {
489 - steps_in_direction = 0.0;
490 - quarter_turns++;
491 - }
492 -
493 - switch (quarter_turns % 4) {
494 - case 1:
495 - word_size.left += this.data.step * this.data.aspect_ratio + Math.random() * 2.0;
496 - break;
497 - case 2:
498 - word_size.top -= this.data.step + Math.random() * 2.0;
499 - break;
500 - case 3:
501 - word_size.left -= this.data.step * this.data.aspect_ratio + Math.random() * 2.0;
502 - break;
503 - case 0:
504 - word_size.top += this.data.step + Math.random() * 2.0;
505 - break;
506 - }
507 - }
508 - // Default settings: elliptic spiral shape
509 - else {
510 - radius += this.data.step;
511 - angle += (index % 2 === 0 ? 1 : -1) * this.data.step;
512 -
513 - word_size.left = this.options.center.x * this.options.width - (word_size.width / 2.0) + (radius * Math.cos(angle)) * this.data.aspect_ratio;
514 - word_size.top = this.options.center.y * this.options.height + radius * Math.sin(angle) - (word_size.height / 2.0);
515 - }
516 - word_style.left = word_size.left + 'px';
517 - word_style.top = word_size.top + 'px';
518 - }
519 -
520 - // Don't render word if part of it would be outside the container
521 - if (this.options.removeOverflowing && (
522 - word_size.left < 0 || word_size.top < 0 ||
523 - (word_size.left + word_size.width) > this.options.width ||
524 - (word_size.top + word_size.height) > this.options.height
525 - )
526 - ) {
527 - word_span.remove();
528 - return;
529 - }
530 -
531 - // Save position for further usage
532 - this.data.placed_words.push(word_size);
533 -
534 - if (typeof word.afterWordRender === 'function') {
535 - word.afterWordRender.call(word_span);
536 - }
537 - },
538 -
539 - // Draw one word then recall the function after a delay
540 - drawOneWordDelayed: function(index) {
541 - index = index || 0;
542 -
543 - // if not visible then do not attempt to draw
544 - if (!this.Xelement.is(':visible')) {
545 - this.createTimeout(XjQ.proxy(function() {
546 - this.drawOneWordDelayed(index);
547 - }, this), 10);
548 -
549 - return;
550 - }
551 -
552 - if (index < this.word_array.length) {
553 - this.drawOneWord(index, this.word_array[index]);
554 -
555 - this.createTimeout(XjQ.proxy(function() {
556 - this.drawOneWordDelayed(index + 1);
557 - }, this), this.options.delay);
558 - }
559 - else {
560 - if (typeof this.options.afterCloudRender == 'function') {
561 - this.options.afterCloudRender.call(this.Xelement);
562 - }
563 - }
564 - },
565 -
566 - // Destroy any data and objects added by the plugin
567 - destroy: function() {
568 - if (this.options.autoResize) {
569 - XjQ(window).off('resize.' + this.data.namespace);
570 - }
571 -
572 - this.clearTimeouts();
573 - this.Xelement.removeClass('jqcloud');
574 - this.Xelement.removeData('jqcloud');
575 - this.Xelement.children('[id^="' + this.data.namespace + '"]').remove();
576 - },
577 -
578 - // Update the list of words
579 - update: function(word_array) {
580 - this.word_array = word_array;
581 - this.data.placed_words = [];
582 -
583 - this.clearTimeouts();
584 - this.drawWordCloud();
585 - },
586 -
587 - resize: function() {
588 - var new_size = {
589 - width: this.Xelement.width(),
590 - height: this.Xelement.height()
591 - };
592 -
593 - if (new_size.width != this.options.width || new_size.height != this.options.height) {
594 - this.options.width = new_size.width;
595 - this.options.height = new_size.height;
596 - this.data.aspect_ratio = this.options.width / this.options.height;
597 -
598 - this.update(this.word_array);
599 - }
600 - },
601 -};
602 -
603 -/*
604 - * Apply throttling to a callback
605 - * @param callback {function}
606 - * @param delay {int} milliseconds
607 - * @param context {object|null}
608 - * @return {function}
609 - */
610 -function throttle(callback, delay, context) {
611 - var state = {
612 - pid: null,
613 - last: 0
614 - };
615 -
616 - return function() {
617 - var elapsed = new Date().getTime() - state.last,
618 - args = arguments,
619 - that = this;
620 -
621 - function exec() {
622 - state.last = new Date().getTime();
623 - return callback.apply(context || that, Array.prototype.slice.call(args));
624 - }
625 -
626 - if (elapsed > delay) {
627 - return exec();
628 - }
629 - else {
630 - clearTimeout(state.pid);
631 - state.pid = setTimeout(exec, delay - elapsed);
632 - }
633 - };
634 -}
635 -
636 -/*
637 - * jQuery plugin
638 - */
639 -XjQ.fn.jQCloud = function(word_array, option) {
640 - var args = arguments;
641 -
642 - return this.each(function() {
643 - var Xthis = XjQ(this),
644 - data = Xthis.data('jqcloud');
645 -
646 - if (!data && word_array === 'destroy') {
647 - // Don't even try to initialize when called with 'destroy'
648 - return;
649 - }
650 - if (!data) {
651 - var options = typeof option === 'object' ? option : {};
652 - Xthis.data('jqcloud', (data = new jQCloud(this, word_array, options)));
653 - }
654 - else if (typeof word_array === 'string') {
655 - data[word_array].apply(data, Array.prototype.slice.call(args, 1));
656 - }
657 - });
658 -};
659 -
660 -XjQ.fn.jQCloud.defaults = {
661 - set: function(options) {
662 - XjQ.extend(true, jQCloud.DEFAULTS, options);
663 - },
664 - get: function(key) {
665 - var options = jQCloud.DEFAULTS;
666 - if (key) {
667 - options = options[key];
668 - }
669 - return XjQ.extend(true, {}, options);
670 - }
671 -};
672 -
673 -var jQwords = [
674 - {text: "Druckvorschau", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
675 - {text: "Link im Formular", weight: 6, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
676 - {text: "Kalenderwidget anpassen", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
677 - {text: "Optionale Daten einer Auswahl mitspeichern (col Attribute)", weight: 4, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
678 - {text: "Aktion vor Absenden ausführen", weight: 5, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
679 - {text: "Absenden ohne Speichern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
680 - {text: "Eigene Formularfeld-Validatoren (Regex)", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
681 - {text: "Wiederholende Felder (dynamic) im JS adressieren", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
682 - {text: "Events an dynamic Felder anhängen", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
683 - {text: "[Richtext-Editor (Ticket #4227)]", weight: 3, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
684 - {text: "Vorbelegung von Daten im Formular (extern)", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
685 - {text: "intiale Vorbelegung von Daten in Feldern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
686 - {text: "Formularfelder mit LDAP-Daten vorbelegen (Ticket 3701)", weight: 3, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
687 - {text: "Formulareingaben zurücksetzen", weight: 7, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
688 - {text: "Formulardaten lokal speichern und später wieder laden (Ticket #3964)", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
689 - {text: "Formular zwischenspeichern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
690 - {text: "Labeltext zur Laufzeit manipulieren (Ticket #3493)", weight: 5, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
691 - {text: "Mehrfachbedingungen im Designer", weight: 7, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
692 - {text: "zusätzliches JS und CSS in allen Formularen", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
693 - {text: "mehrseitige Formulare", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
694 - {text: "responive / mobile Ansicht", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
695 - {text: "andere Schriftart einbinden / Design ändern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
696 - {text: "Java-Script API", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
697 -
698 - {text: "Datenquellen für Auswahllisten hinterlegen", weight: 8, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
699 - {text: "Datenquellen in Auswahllisten anhand von Parametern hinterlegen", weight: 6, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
700 - {text: "Leerer erster Eintrag bei SQL-Datenquelle (Ticket #4068)", weight: 5, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
701 -
702 - {text: "Mehrfachbedingungen im Workflow", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
703 - {text: "Automatisiertes Löschen nach bestimmten Zeitraum", weight: 9, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
704 - {text: "Exportmöglichkeiten von Daten", weight: 6, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
705 - {text: "E-Mail Aktionen abhängig von Eingaben (Bedingungen) durchführen", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
706 - {text: "Bedingtes Einblenden von Elementen", weight: 7, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
707 - {text: "Mehrstufigen Workflow (Beispiel)", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
708 - {text: "Statuswechsel", weight: 10, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
709 - {text: "Vorgangs-ID im Druck (Word-Fill) anzeigen (Ticket #3813)", weight: 5, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
710 - {text: "iCal Datei erzeugen", weight: 3, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
711 - {text: "aktuelles Datum in der Verarbeitung", weight: 6, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
712 - {text: "Laufende Nummer aus Nummernkreis erzeugen (Ticket #3249)", weight: 3, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
713 - {text: "E-Mail-Versand", weight: 10, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
714 -
715 - {text: "Migrationsmöglichkeiten in Webseite", weight: 6, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
716 - {text: "Abschlussseite in Webseite anzeigen (inline)", weight: 5, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
717 - {text: "Generierte Dateien auf Abschlussseite anzeigen", weight: 7, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
718 - {text: "Benutzerdefinierte Abschlussseite", weight: 9, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
719 - {text: "Referenznummer (Ticket #3866)", weight: 5, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
720 -
721 - {text: "Vorgänge löschen", weight: 9, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
722 - {text: "Filtermöglichkeiten", weight: 8, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
723 - {text: "Stauswechsel im Postfach ermöglichen (notwendige Einstellungen)", weight: 6.5, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
724 - {text: "Postfach exportieren", weight: 7, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
725 - {text: "Berechtigungen/Sichtbarkeiten für Benutzer festlegen", weight: 6, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
726 -
727 - {text: "Update FORMCYCLE", weight: 4, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
728 - {text: "Zugriffseinschränkung - Möglichkeiten", weight: 3, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
729 - {text: "I-Frame automatisch Höhe anpassen", weight: 5, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
730 - {text: "Daten aus Formular werden nicht gespeichert (Disablede Felder)", weight: 6, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
731 - {text: "Double Opt-In", weight: 7, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
732 - {text: "[Übersicht von Lösungen bei Problemen mit z.B. DB (Ticket #3714, #3057)]", weight: 6, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
733 - {text: "[Tomcat Zugriff HTTPS - Zertifikat-Einrichtung (Ticket #3295)]", weight: 5, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
734 - {text: "Beispiele für Print CSS / Erläuterung was das PDF Print Plugin macht", weight: 7, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'},
735 -];
736 -##http://mistic100.github.io/jQCloud/demo.html#handlers
737 -XjQ('#jQArea').jQCloud(jQwords, {
738 - classPattern: null,
739 - colors: ["#176694", "#3480AD", "#5398c1", "#76b2d6", "#7ca2b9", "#889fad", "#8e979c", "#929596", "#babbbb"],
740 - fontSize: ['16px','15px','15px','14px','14px','13px','13px','12px','12px'],
741 - //width: 500,
742 - height: 500
743 -});
744 -
745 -var jQButtons = XjQ('.jQButton');
746 -
747 -jQButtons.click(function() {
748 - if (XjQ(this).attr('active') == 'true') {
749 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagInvisible);
750 - XjQ(this).attr('active', 'false');
751 - } else {
752 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagVisible);
753 - XjQ(this).attr('active', 'true');
754 - }
755 -});
756 -function jQTagVisible() {
757 - XjQ(this).css('display', 'block');
758 -}
759 -function jQTagInvisible() {
760 - XjQ(this).css('display', 'none');
761 -}
762 -
763 -jQButtons.hover(function() {
764 - console.log("hover",XjQ(this));
765 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagHighlighted);
766 -}, function() {
767 - console.log("unhover",XjQ(this));
768 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagNotHighlighted);
769 -});
770 -function jQTagHighlighted() {
771 - XjQ(this).addClass('jqHighlight');
772 -}
773 -function jQTagNotHighlighted() {
774 - XjQ(this).removeClass('jqHighlight');
775 -}
776 -});
777 -</script>
778 -
779 -<div class="row">
780 - <div class="d-none d-md-block col-lg-12 card-main">
781 - <div class="well" >
782 - <div id="jQButtons">
783 - <div id="jQBtn1" class="jQButton" group="Designer" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Designer</div>
784 - <div id="jQBtn1" class="jQButton" group="Datenquellen" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Datenquellen</div>
785 - <div id="jQBtn1" class="jQButton" group="Statusverarbeitung" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Statusverarbeitung</div>
786 - <div id="jQBtn1" class="jQButton" group="Abschlusseite" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Abschlusseite</div>
787 - <div id="jQBtn1" class="jQButton" group="Posteingang" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Posteingang</div>
788 - <div id="jQBtn1" class="jQButton" group="Anderes" active="true"><span class="jQButton-icon"></span>&nbsp;&nbsp;Anderes</div>
789 - </div>
790 - <div id="jQArea">
791 - </div>
792 - </div>
793 - </div>
794 -</div>
795 -
119 +{{html clean="false"}}
120 +#display4Cards($howToCards)
796 796  {{/html}}
797 797  {{/velocity}}
Copyright 2000-2024