-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1447 lines (1262 loc) · 51.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML>
<html class="no-js" lang="en">
<head>
<title>Publish Web</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="libs/css/jquery/jquery.ui.css" type="text/css" />
<link rel="stylesheet" href="libs/css/app.css" type="text/css" />
<script type="text/javascript" src="libs/js/app/app.bizagi.min.js"></script>
</head>
<body class="off-canvas hide-extras">
<!-- *****************************************************************************
process-viewer
@author: UX-Team
@version: 0.1.0
@url: http://www.bizagi.com
@date: Feb 09, 2016 5:02 PM
***************************************************************************** /
-->
<div class="biz-ex-wrapper row"></div>
<div class="alert-box biz-ex-supported">
<p id="biz-ex-support"></p>
<a href="http://www.google.com/intl/es-419/chrome/" title="Chrome" target="_blank"><span class="biz-ex-iconbrowser-chrome"></span></a>
<a href="http://www.mozilla.org/en-US/firefox/new/" title="Firefox" target="_blank"><span class="biz-ex-iconbrowser-firefox"></span></a>
<a href="http://windows.microsoft.com/en-us/internet-explorer/download-ie" title="IE 9+" target="_blank"><span class="biz-ex-iconbrowser-ie"></span></a>
</div>
<script type="text/javascript" src="libs/js/app/app.ie8detect.js"></script>
<script src="key.json.js"></script>
<script id="json" src="libs/js/json/configuration.json.js"></script>
<script id="initialization">
switch (window.location.protocol) {
case 'http:':
case 'https:':
window.isLocal = false;
break;
case 'file:':
window.isLocal = true;
break;
default:
window.isLocal = false;
}
if (!PublishWebAttributes) {
PublishWebAttributes = {
useTheme: false
}
}
if (PublishWebAttributes.useTheme) {
var lessScript = document.createElement('script');
lessScript.id = 'responsive-polyfill';
lessScript.src = 'libs/js/app/less-1.4.1.min.js';
document.write(lessScript.outerHTML);
}
if (IsIE8Browser()) {
var polyfillEventListener = document.createElement('script');
polyfillEventListener.id = 'eventListener-polyfill';
polyfillEventListener.src = 'libs/js/app/ie8/addEventListener.min.js';
document.write(polyfillEventListener.outerHTML);
var modifiedKineticJs = document.createElement('script');
modifiedKineticJs.id = 'kinetic-ie8';
modifiedKineticJs.src = 'libs/js/app/ie8/kinetic.min.js';
document.write(modifiedKineticJs.outerHTML);
var jQueryScriptForIE8 = document.createElement('script');
jQueryScriptForIE8.id = 'jquery-ie8';
jQueryScriptForIE8.src = 'libs/js/app/ie8/jquery.min.js';
document.write(jQueryScriptForIE8.outerHTML);
} else {
var jQueryScriptForModernBrowsers = document.createElement('script');
jQueryScriptForModernBrowsers.id = 'jquery-modern-browsers';
jQueryScriptForModernBrowsers.src = 'libs/js/app/jquery.min.js';
document.write(jQueryScriptForModernBrowsers.outerHTML);
var kineticJs = document.createElement('script');
kineticJs.id = 'kinetic';
kineticJs.src = 'libs/js/app/kinetic.min.js';
document.write(kineticJs.outerHTML);
}
</script>
<script src="libs/js/app/process-viewer.libraries.min.js"></script>
<script src="libs/js/app/process-viewer.plugins.min.js"></script>
<script src="libs/js/app/process-viewer.min.js"></script>
<!--
@name: Zoomer Template
@view: Bizagi.App.Views.DiagramView
@description: Diagram Process / Zoom Plugin Markup
-->
<script type="text/x-jquery-tmpl" id="ZoomerViewTmpl">
<div class="zoom-container" data-zoomcontainer>
<div data-zoomcontent draggable="true">
</div>
<div class="cf zoom-control" data-zoomcontrol>
<div class="zoom-options">
<a href="#" class="zoom-icon-zoomexpand btn btn-default zoom-inline" data-zoomexpand><i class=" zoom-inline biz-ex-icon-zoomexpand"></i></a>
</div>
<div class="zoom-slider-container">
<div class="zoom-slider zoom-inline" data-zoomslider></div>
<div class="zoom-slider-percent zoom-inline" data-zoompercent></div>
</div>
</div>
<div class="zoom-pane-preview" data-zoompanepanel></div>
<div class="zoom-pane-icon biz-ex-icon-pane-panel" data-zoomiconpanepanel></div>
</div>
</script>
<!--
@name: Carousel ( Recursive Function for SubProcess Images )
@view: Bizagi.App.Views.NavigationView
@role: recursive section
@function: Bizagi.Util.renderSubPagesRecursive(idTemplate, data)
-->
<script type="text/x-jquery-tmpl" id="CarouselSubProcessViewTmpl">
<!-- carousel -->
{{tmpl(this.data) Bizagi.Util.getTemplate("CarouselSubPagesLI")}}
{{html Bizagi.Util.renderSubPagesRecursive('CarouselSubProcessTmpl',this.data, true)}}
</script>
<!--
@name: Navigation View ( Iterate Image Section )
@view: Bizagi.App.Views.NavigationView
@role: Image Process Iteration
-->
<script type="text/x-jquery-tmpl" id="CarouselSubProcessTmplList">
{{if subPages}}
{{each subPages}}
{{tmpl($value) Bizagi.Util.getTemplate("CarouselSubPagesLI")}}
{{/each}}
{{/if}}
</script>
<script type="text/x-jquery-tmpl" id="CarouselSubPagesLI">
<li class="biz-ex-carousel-columns">
<a href="diagram/${id}" class="biz-ex-navigate biz-ex-navigate-carousel">
<figure class="biz-ex-diagram">
<img src="${Bizagi.Util.serializeResourceURL(image)}" alt="${name}" class="absolute-center"/>
</figure>
<div class="biz-figure-data">
<h4 class="truncate-text">${name}</h4>
{{if isSubprocessPage}}
<span>${Bizagi.Util.getResource('subProcess')}</span>
{{/if}}
</div>
</a>
</li>
</script>
<!--
@name: Container Template
@view: General Layout
-->
<script type="text/x-jquery-tmpl" id="ContainerTmpl">
<section id="sidebar" role="complementary">
<nav id="sideMenu" role="navigation">
<ul id="sideMainNav" class="nav-bar">
</ul>
</nav>
<div class="biz-gradien-scroll"></div>
</section>
<div class="biz-ex-layout row">
<div class="large-3 columns biz-ex-navigation-left hide-for-small"></div>
<div class="large-9 columns biz-ex-diagram-update-panel" id="updatePanelDiagram"></div>
</div>
</script>
<!--
@name: Diagram View
@view: Bizagi.App.Views.DiagramView
@description: Diagram Process / SubProcess visualization
-->
<script type="text/x-jquery-tmpl" id="DiagramViewTmpl">
<div class='biz-ex-diagram-view'>
{{if properties}}
<div class="biz-ex-diagram-data">
<dl class="biz-ex-dialog-details">
{{if author}}
<dt class="biz-ex-dialog-process-title">${Bizagi.Util.getResource('author')}</dt>
<dd class="biz-ex-dialog-line">${author}</dd>
{{/if}}
<dt class="biz-ex-dialog-process-title"><a href="#dialog/element/${id}" class="biz-ex-more-info biz-ex-navigate" data-css="biz-ex-attributes">${Bizagi.Util.getResource('checkAttributes')}</a></dt>
</dl>
</div>
{{/if}}
<div id="biz-ex-diagram-view-zoom" class="biz-ex-diagram-view-zoom">
{{tmpl(this.data) 'ZoomerViewTmpl'}}
</div>
</div>
</script>
<!--
@name: Diagram View
@view: Bizagi.App.Views.DiagramView
@description: Diagram Process / SubProcess visualization
-->
<script type="text/x-jquery-tmpl" id="ActionsTmpl">
{{if presentationAction}}
<span class="biz-ex-mark-action"></span>
{{/if}}
<ul class="biz-ex-element-actions">
{{if presentationAction}}
{{if presentationAction.type === 'image'}}
<li class="biz-ex-element-action">
<a href="${Bizagi.Util.serializeResourceURL(presentationAction.value)}" class="biz-ex-action-file biz-ex-icon-file" data-action="image"></a>
</li>
{{/if}}
{{if presentationAction.type === 'text'}}
<li class="biz-ex-element-action">
<a href="#dialog/text/${id}" class="biz-ex-action-text biz-ex-icon-text" data-action="text" data-text="${presentationAction.value}"></a>
</li>
{{/if}}
{{if presentationAction.type === 'url'}}
<li class="biz-ex-element-action">
<a href="${Bizagi.Util.serializeResourceURL(presentationAction.value)}" class="biz-ex-action-url biz-ex-icon-url" data-action="url"></a>
</li>
{{/if}}
{{if presentationAction.type === 'table'}}
<li class="biz-ex-element-action">
<a href="#dialog/table/${id}" class="biz-ex-action-url biz-ex-icon-url" data-action="table" data-table="${presentationAction.value}"></a>
</li>
{{/if}}
{{if presentationAction.type === 'resource'}}
<li class="biz-ex-element-action">
<a href="#dialog/resource/${id}" class="biz-ex-action-url biz-ex-icon-url" data-action="resource" data-resource="${Bizagi.Util.serializeResourceURL(presentationAction.value)}"></a>
</li>
{{/if}}
{{if presentationAction.type === 'fileLinked'}}
<li class="biz-ex-element-action">
<a href="${Bizagi.Util.serializeResourceURL(presentationAction.value)}" class="biz-ex-action-url biz-ex-icon-url" data-action="fileLinked" title="${Bizagi.Util.serializeResourceURL(presentationAction.value)}"></a>
</li>
{{/if}}
{{/if}}
{{if isPublished}}
<li class="biz-ex-element-action">
<a href="diagram/${id}" class="biz-ex-action-go-process biz-ex-icon-go-process biz-ex-navigate"></a>
</li>
{{/if}}
{{if pageElementRef}}
{{if elementType === 'LinkIntermediate'}}
<li class="biz-ex-element-action">
<a href="#element/${idDiagram}/${pageElementRef}" class="biz-ex-action-link-element biz-ex-icon-link-element biz-ex-navigate">${pageElementRef}</a>
</li>
{{/if}}
{{/if}}
{{if properties}}
{{each properties}}
{{if processPageRef}}
<li class="biz-ex-element-action">
<a href="diagram/${pageRef}" class="biz-ex-action-go-process biz-ex-icon-go-process biz-ex-navigate"></a>
</li>
{{/if}}
{{/each}}
{{/if}}
</ul>
</script>
<!--
@name: Diagram View
@view: Bizagi.App.Views.DiagramView
@description: Diagram Process / SubProcess visualization
-->
<script type="text/x-jquery-tmpl" id="ActionsProcessTmpl">
{{if presentationAction}}
<span class="biz-ex-mark-action"></span>
{{/if}}
<ul class="biz-ex-element-actions">
{{if pa}}
{{if presentationAction}}
{{if presentationAction.type === 'image'}}
<li class="biz-ex-element-action">
<a href="${Bizagi.Util.serializeResourceURL(presentationAction.value)}" class="biz-ex-action-file biz-ex-icon-file" data-action="image"></a>
</li>
{{/if}}
{{if presentationAction.type === 'text'}}
<li class="biz-ex-element-action">
<a href="#dialog/text/${id}" class="biz-ex-action-text biz-ex-icon-text" data-action="text" data-text="${presentationAction.value}"></a>
</li>
{{/if}}
{{if presentationAction.type === 'url'}}
<li class="biz-ex-element-action">
<a href="${Bizagi.Util.serializeResourceURL(presentationAction.value)}" class="biz-ex-action-url biz-ex-icon-url" data-action="url"></a>
</li>
{{/if}}
{{if presentationAction.type === 'table'}}
<li class="biz-ex-element-action">
<a href="#dialog/table/${id}" class="biz-ex-action-url biz-ex-icon-url" data-action="table" data-table="${presentationAction.value}"></a>
</li>
{{/if}}
{{if presentationAction.type === 'resource'}}
<li class="biz-ex-element-action">
<a href="#dialog/resource/${id}" class="biz-ex-action-url biz-ex-icon-url" data-action="resource" data-resource="${Bizagi.Util.serializeResourceURL(presentationAction.value)}"></a>
</li>
{{/if}}
{{if presentationAction.type === 'fileLinked'}}
<li class="biz-ex-element-action">
<a href="${Bizagi.Util.serializeResourceURL(presentationAction.value)}" class="biz-ex-action-url biz-ex-icon-url" data-action="fileLinked" title="${Bizagi.Util.serializeResourceURL(presentationAction.value)}"></a>
</li>
{{/if}}
{{/if}}
{{else}}
{{if isPublished}}
<li class="biz-ex-element-action">
<a href="diagram/${id}" class="biz-ex-action-go-process biz-ex-icon-go-process biz-ex-navigate"></a>
</li>
{{/if}}
{{if pageElementRef}}
{{if elementType === 'LinkIntermediate'}}
<li class="biz-ex-element-action">
<a href="#element/${idDiagram}/${pageElementRef}" class="biz-ex-action-link-element biz-ex-icon-link-element biz-ex-navigate">${pageElementRef}</a>
</li>
{{/if}}
{{/if}}
{{if properties}}
{{each properties}}
{{if processPageRef}}
<li class="biz-ex-element-action">
<a href="diagram/${pageRef}" class="biz-ex-action-go-process biz-ex-icon-go-process biz-ex-navigate"></a>
</li>
{{/if}}
{{/each}}
{{/if}}
{{/if}}
</ul>
</script>
<!--
@name: Dialog View
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmpl">
<div id="myModal" class="reveal-modal biz-ex-height-modal">
<div id="updateDialogContent">
</div>
<div class="biz-ex-action-button">
<a class="close-reveal-modal"><i class="biz-ex-icon-close"></i></a>
<a class="expand-reveal-modal"><i class="biz-ex-icon-expand"></i></a>
</div>
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplImages">
<header class="biz-ex-dialog-header">
<h2 class="biz-ex-dialog-name"> </h2>
</header>
<div class="biz-ex-dialog-content ">
<div class="biz-ex-show-resource align-center">
<img src="${Bizagi.Util.serializeResourceURL(image)}" class="biz-ex-image-resource"/>
</div>
<a href="${Bizagi.Util.serializeResourceURL(image)}" target="_blank" class="biz-ex-image-resource-link">${Bizagi.Util.getResource('linktoimage')}</a>
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplText">
<header class="biz-ex-dialog-header">
<h2 class="biz-ex-dialog-name"> </h2>
</header>
<div class="biz-ex-dialog-content ">
<div class="biz-ex-show-resource-text">
<p>{{html Bizagi.Util.preserveHTML(text)}}</p>
</div>
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplTextDescription">
<header class="biz-ex-dialog-header">
<h2 class="biz-ex-dialog-name">${Bizagi.Util.getResource('details')}</h2>
</header>
<div class="biz-ex-dialog-content ">
<div class="biz-ex-show-resource-text">
{{if description}}
<h6 class="biz-ex-resource-section">${Bizagi.Util.getResource('description')}</h6>
<div class="biz-ex-p">{{html description}}</div>
{{/if}}
{{if mainProcessDescription}}
<h6 class="biz-ex-resource-section">${Bizagi.Util.getResource('mainPoolDescription')}</h6>
<div class="biz-ex-p">{{html mainProcessDescription}}</div>
{{/if}}
{{if mainProcessProperties}}
<h6 class="biz-ex-resource-section">${Bizagi.Util.getResource('mainPoolProperties')}</h6>
<div class="biz-ex-dialog-content biz-ex-dialog-properties">
<div class="content biz-ex-content-properties">
{{if mainProcessProperties}}
{{if mainProcessProperties.length}}
{{if PublishWebAttributes.subNavigation}}
<div data-magellan-expedition="fixed">
<dl class="sub-nav">
{{each mainProcessProperties}}
<dd data-magellan-arrival="${Bizagi.Util.serializeNames(name)}">
<a href="#${Bizagi.Util.serializeNames(name)}">
${name}
</a>
</dd>
{{/each}}
</dl>
</div>
{{/if}}
{{tmpl(mainProcessProperties) Bizagi.Util.getTemplate("PropertiesViewTmpl")}}
{{else}}
{{tmpl(this.data) Bizagi.Util.getTemplate("empty")}}
{{/if}}
{{else}}
{{tmpl(this.data) Bizagi.Util.getTemplate("empty")}}
{{/if}}
</div>
</div>
{{/if}}
</div>
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplHTML">
<header class="biz-ex-dialog-header">
<h2 class="biz-ex-dialog-name">${name}</h2>
</header>
<div class="biz-ex-dialog-content ">
<div class="biz-ex-show-resource-text">
<p>{{html Bizagi.Util.preserveHTML(text)}}</p>
</div>
</div>
</script>
<script type="text/x-jquery-tmpl" id="DialogViewTmplPerformers">
<h2 class="biz-ex-performer-header biz-ex-dialog-name">${name}</h2>
<ul class="biz-ex-performers">
{{each elements}}
<li class="biz-ex-performer">
<h3 class="biz-ex-performer-title"><span class="biz-ex-performer-tag">${name}</span> ${rol}</h3>
{{if description}}
<p class="biz-ex-performer-description">${description}</p>
{{/if}}
</li>
{{/each}}
</ul>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplProperties">
<header class="biz-ex-dialog-header">
<h1 class="biz-ex-title-process">${nameDiagram}</h1>
<h2 class="biz-ex-dialog-name">${name}</h2>
<dl class="biz-ex-dialog-properties">
{{if performers}}
<dt class="biz-ex-dialog-process-title">
${Bizagi.Util.getResource('performer')}
</dt>
<dd>
<div class="biz-ex-performers-list-as-contact">
{{tmpl(Bizagi.Util.renderPerformers(performers, 10)) "DialogViewTmplPropertiesPerformers"}}
</div>
</dd>
{{/if}}
{{if description}}
{{if !Bizagi.Util.validateLength(description)}}
<dt class="biz-ex-dialog-process-title">
${Bizagi.Util.getResource('description')}
</dt>
<dd class="biz-ex-dialog-description">
{{tmpl(Bizagi.Util.renderDescriptionPreview(description, PublishWebAttributes.maxLenghtDescription)) "DialogViewTmplPropertiesDescription"}}
</dd>
{{/if}}
{{/if}}
{{if presentationAction }}
<dt class="biz-ex-dialog-process-title" data-pa="${this.data.pa = true}">
${Bizagi.Util.getResource('presentationAction')}
</dt>
<dd class="biz-ex-dialog-presentation">
{{tmpl(this.data) Bizagi.Util.getTemplate("ActionsProcessTmpl")}}
</dd>
{{/if}}
{{if this.data.elementType}}
<dt class="biz-ex-dialog-process-title" data-pa="${this.data.pa = false}">
{{if this.data.elementType === "CallActivity"}}
${Bizagi.Util.getResource('process')}
{{else}}
${Bizagi.Util.getResource('subProcess')}
{{/if}}
</dt>
<dd class="biz-ex-dialog-presentation">
{{tmpl(this.data) Bizagi.Util.getTemplate("ActionsProcessTmpl")}}
</dd>
{{/if}}
</dl>
</header>
<div class="biz-ex-dialog-content biz-ex-dialog-properties">
<div class="content biz-ex-content-properties">
{{if properties}}
{{if properties.length}}
{{if PublishWebAttributes.subNavigation}}
<div data-magellan-expedition="fixed">
<dl class="sub-nav">
{{each properties}}
<dd data-magellan-arrival="${Bizagi.Util.serializeNames(name)}">
<a href="#${Bizagi.Util.serializeNames(name)}">
${name}
</a>
</dd>
{{/each}}
</dl>
</div>
{{/if}}
{{tmpl(properties) Bizagi.Util.getTemplate("PropertiesViewTmpl")}}
{{/if}}
{{/if}}
{{if elementType}}
{{if Bizagi.Util.validateForValidTasks(elementType)}}
{{if pageElements}}
<div class="biz-ex-pageElements">
{{each pageElements}}
<div class="biz-ex-pageElement">
<a name="${Bizagi.Util.serializeNames(name)}"></a>
<h5 class="biz-ex-property-title" data-magellan-destination="${Bizagi.Util.serializeNames(name)}">
{{if elementType}}<i class="biz-ex-result-icon biz-ex-icon-${elementType}"></i>{{/if}}${name}
</h5>
{{if properties}}
{{tmpl(properties) Bizagi.Util.getTemplate("PropertiesViewTmpl")}}
{{/if}}
</div>
{{/each}}
</div>
{{/if}}
{{/if}}
{{else}}
<!-- DRAGON-12111 : Participant properties are not exported to Web -->
{{if elements}}
{{if elements.length}}
{{each elements}}
{{tmpl(properties) Bizagi.Util.getTemplate("PropertiesViewTmpl")}}
{{/each}}
{{/if}}
{{/if}}
<!-- / -->
{{/if}}
{{if Bizagi.Util.validateForEmpty(this.data)}}
{{tmpl(this.data) Bizagi.Util.getTemplate("empty")}}
{{/if}}
</div>
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="empty">
{{if description}}
<!-- Has Description -->
{{else}}
<div class="alert-box biz-ex-alert-message">
${Bizagi.Util.getResource('emptyElement')}
</div>
{{/if}}
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplPropertiesPerformers">
<div class="biz-ex-collapsible">
{{if isLarge}}
{{if hidden}}
<a href="#more" class="biz-ex-badge biz-ex-more">${Bizagi.Util.getResource('more')}</a>
{{/if}}
<div class="biz-ex-is-collapsible">
{{each showed}}
<span class="biz-ex-performer-tag">${$value.name}</span>
{{/each}}
</div>
{{if hidden}}
<div class="biz-ex-is-extended biz-ex-is-hidden">
<a href="#less" class="biz-ex-badge biz-ex-less">${Bizagi.Util.getResource('less')}</a>
<div>
{{each showed}}
<span class="biz-ex-performer-tag">${$value.name}</span>
{{/each}}
{{each hidden}}
<span class="biz-ex-performer-tag">${$value.name}</span>
{{/each}}
</div>
</div>
{{/if}}
{{else}}
<div>
{{each showed}}
<span class="biz-ex-performer-tag">${$value.name}</span>
{{/each}}
</div>
{{/if}}
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplPropertiesDescription">
{{if isLarge}}
<div class="biz-ex-collapsible">
{{else}}
<div class="biz-ex-collapsible biz-max-wrapper">
{{/if}}
{{if isLarge}}
<div class="biz-ex-is-collapsible">
${descriptionSummary}
<div class="biz-ex-badge biz-ex-expand-description biz-ex-expand-button">
<a href="dialog/expand/description" class="biz-ex-navigate"> ${Bizagi.Util.getResource('expand')} </a>
</div>
</div>
{{if descriptionComplete}}
<div class="biz-ex-is-extended biz-ex-is-hidden">
<a href="" class="biz-ex-badge biz-ex-less">${Bizagi.Util.getResource('less')}</a>
<div>
{{html descriptionComplete}}
</div>
</div>
{{/if}}
{{else}}
<div class="biz-ex-is-collapsible biz-max-height">
{{html descriptionComplete}}
</div>
{{/if}}
</div>
</script>
<!--
@name: Dialog View Container
@view: Bizagi.App.Views.DialogView
-->
<script type="text/x-jquery-tmpl" id="DialogViewTmplSubProcess">
<header class="biz-ex-dialog-header">
<h2 class="biz-ex-dialog-name">${name}</h2>
<dl class="biz-ex-dialog-details">
<dt class="biz-ex-dialog-line">${Bizagi.Util.getResource('process')}</dt>
<dt class="biz-ex-dialog-process-title">${Bizagi.Util.getResource('contain')}</dt>
<dd class="biz-ex-dialog-line">${Bizagi.Util.getSubProcesses(this.data)} ${Bizagi.Util.getResource('subProcess')}</dd>
<dt class="biz-ex-dialog-process-title">${Bizagi.Util.getResource('author')}</dt>
<dd>${author}</dd>
</dl>
{{if properties}}
<div class="biz-ex-tabs-overview">
<a href="#panel1" class="biz-ex-more-info" data-css="biz-ex-overview">${Bizagi.Util.getResource('checkOverview')}</a>
<a href="#panel2" class="biz-ex-more-info" data-css="biz-ex-attributes">${Bizagi.Util.getResource('checkAttributes')}</a>
</div>
{{/if}}
</header>
<div class="biz-ex-dialog-content">
<div class="section-container auto" data-section>
<section class="active bix-ex-section-overview-n-carousel">
<p class="title biz-ex-more-info-diagram biz-ex-is-hidden" data-section-title><a href="#panel1">Section 1</a></p>
<div class="content">
<div class="row">
<figure class="biz-ex-diagram biz-ex-diagram-process large-6 columns">
<div class="biz-ex-image-wrapper">
<a href="diagram/${id}" class="biz-ex-image-border biz-ex-navigate">
<img src="${Bizagi.Util.serializeResourceURL(image)}" alt="${name}" class="biz-ex-diagram-image absolute-center"/>
</a>
</div>
</figure>
<div class="biz-ex-figure-collection large-6 columns">
<div class="biz-ex-carousel">
<div class="biz-ex-carousel-back">
{{if Bizagi.Util.getSubProcesses(this.data) > 4 }}
<span class="biz-ex-icon-back biz-ex-icon-carousel"></span>
{{/if}}
</div>
<div class="row biz-ex-row">
<div class="biz-ex-carousel-container large-12 columns">
<ul>
{{if subPages }}
{{each subPages}}
{{tmpl($value) Bizagi.Util.getTemplate("CarouselSubProcessViewTmpl")}}
{{/each}}
{{/if}}
</ul>
</div>
</div>
<div class="biz-ex-carousel-next">
{{if Bizagi.Util.getSubProcesses(this.data) > 4 }}
<span class="biz-ex-icon-next biz-ex-icon-carousel"></span>
{{/if}}
</div>
</div>
</div>
</div>
</div>
</section>
<section calss="bix-ex-section-attributes ">
<p class="title biz-ex-more-info-properties biz-ex-is-hidden" data-section-title><a href="#panel2">Section 2</a></p>
<div class="content row">
{{if PublishWebAttributes.subNavigation}}
<div data-magellan-expedition="fixed">
<dl class="sub-nav">
{{each properties}}
<dd data-magellan-arrival="${Bizagi.Util.serializeNames(name)}">
<a href="#${Bizagi.Util.serializeNames(name)}">
${name}
</a>
</dd>
{{/each}}
</dl>
</div>
{{/if}}
{{if properties}}
{{tmpl(properties) Bizagi.Util.getTemplate("PropertiesViewTmpl")}}
{{/if}}
</div>
</section>
</div>
</div>
</script>
<!--
@name: Diagram View
@view: Bizagi.App.Views.ErrorView
@description: Fires when ID diagram not exist
-->
<script type="text/x-jquery-tmpl" id="ErrorViewTmpl">
<div class='biz-ex-error-view'>
<h3>${Bizagi.Util.getResource('errorPage')} </h3>
<div class='biz-ex-box-process'>${message} ${id}</div>
</div>
</script>
<!--
@name: GUID View
@view: Bizagi.App.Views.TableView
-->
<script type="text/x-jquery-tmpl" id="GuidViewTmpl">
<div class='row biz-ex-guid-view'>
{{each pages}}
{{tmpl($value) "GuidViewRecursiveTmpl"}}
{{if subPages}}
{{tmpl(Bizagi.Util.getSubProcessesObject($value)) "GuidViewRecursiveTmpl"}}
{{/if}}
{{/each}}
</div>
</script>
<script type="text/x-jquery-tmpl" id="GuidViewRecursiveTmpl">
<div class="large-6 columns biz-ex-guid-element">
<div class="biz-ex-guid-wrapper">
<div class="biz-ex-guid-img">
<img src="${Bizagi.Util.serializeResourceURL(image)}" alt="${name}" />
</div>
<div class="biz-ex-guid-body">
<p class="biz-ex-guid"><strong>#diagram/${id}</strong></p>
<p class="biz-ex-guid-name">${name}</p>
</div>
</div>
</div>
</script>
<!--
@name: Header View Template
@view: Bizagi.App.Views.HeaderView
-->
<script type="text/x-jquery-tmpl" id="HeaderViewTmpl">
<div class="large-3 columns biz-ex-logo">
<a class="show-for-small button sidebar-button" id="sidebarButton" href="#sidebar">
<img src="libs/img/biz-ex-icon-menu.png" />
</a>
<a href="list/" class="biz-ex-navigate biz-ex-logo-navigate">
<i class="biz-ex-logo-img"></i>
</a>
</div>
<div class="large-9 columns biz-ex-top-nav">
<a class="biz-ex-back-process"></a>
<div class="large-7 columns biz-ex-navigation-data">
<h1 class="biz-ex-title-process">
<a href="list/" class="biz-ex-navigate" title="${Bizagi.Util.getResource('home')}">${process}</a>
</h1>
<h2 class="biz-ex-title-diagram" title="${name}">${name}</h2>
{{if PublishWebAttributes.showPublishDate}}
<p class="biz-ex-time"><time datetime="${publishDate}">${publishDate}</time></p>
{{/if}}
</div>
<nav class="hide-for-small large-5 columns">
<ul class="cf biz-ex-user-options">
{{if PublishWebAttributes.showPerformersList}}
<li>
<a href="dialog/performers" class="biz-ex-icon-performers biz-ex-navigate" title="${Bizagi.Util.getResource('performers')}"></a>
</li>
{{/if}}
<li>
<a href="fullscreen" class="biz-ex-icon-fullscreen biz-ex-navigate" title="${Bizagi.Util.getResource('fullscreen')}"></a>
</li>
{{if !Bizagi.AppModel.personalized}}
<li>
<a href="http://www.bizagi.com/" target="_blank" class="biz-ex-bizagi" >${Bizagi.Util.getResource('visitBizagi')}</a>
</li>
{{/if}}
</ul>
</nav>
</div>
</script>
<script type="text/x-jquery-tmpl" id="AlertViewTmpl">
<div data-alert class="alert-box biz-ex-alert">
<p class="biz-ex-alert-content">{{html message}}</p>
</div>
</script>
<!--
@name: Navigation View Template
@view: Bizagi.App.Views.NavigationView
@role: Principal
-->
<script type="text/x-jquery-tmpl" id="NavigationViewTmpl">
<nav id="menu" role="navigation">
<ul id="mainNav" class="nav-bar">
{{each pages}}
<li class="biz-ex-sub-page">
<a href="diagram/${id}" class="biz-ex-navigate" title="${name}">
<div class="truncate-text biz-ex-name biz-ex-menu">${name}</div>
{{if Bizagi.Util.getSubProcesses($value) >= 1}}
<div class="biz-ex-ind-container">
<i class="biz-ex-icon-plus"></i>
</div>
{{/if}}
</a>
{{if subPages}}
<div class="biz-ex-subPages">
{{html Bizagi.Util.renderSubPagesRecursive('NavigationSubViewTmpl',{subPages:subPages})}}
</div>
{{/if}}
</li>
{{/each}}
</ul>
</nav>
<div class="biz-gradien-scroll"></div>
</script>
<!--
@name: Navigation View Template
@view: Bizagi.App.Views.NavigationView
@role: Clone from Proncipal Menu (for Devices)
-->
<script type="text/x-jquery-tmpl" id="CloneNavigationViewTmpl">
{{each pages}}
<li class="biz-ex-sub-page">
<a href="diagram/${id}" class="biz-ex-navigate" title="${name}">
<div class="truncate-text biz-ex-name biz-ex-menu">${name}</div>
{{if Bizagi.Util.getSubProcesses($value) > 1}}
<div class="biz-ex-icon-plus"></div>
{{/if}}
</a>
{{if subPages}}
<div class="biz-ex-subPages">
{{html Bizagi.Util.renderSubPagesRecursive('NavigationSubViewTmpl',{subPages:subPages})}}
</div>
{{/if}}
</li>
{{/each}}
</script>
<!--
@name: Navigation View ( Iterate section )
@view: Bizagi.App.Views.NavigationView
@role: Diagram Link Iteration
-->
<script type="text/x-jquery-tmpl" id="NavigationSubViewTmpl">
{{if subPages}}
<ul>
{{each subPages}}
<li class="biz-ex-sub-page">
<a href="diagram/${id}" class="biz-ex-navigate" title="${$value.name}">
<div class="truncate-text biz-ex-name biz-ex-menu">${$value.name}</div>
</a>
<div class="biz-ex-subPages"></div>
</li>
{{/each}}
</ul>
{{/if}}
</script>
<!--
@name: Navigation View ( Iterate Image Section )
@view: Bizagi.App.Views.NavigationView
@role: Image Process Iteration
-->
<script type="text/x-jquery-tmpl" id="NavigationSubProcessTmpl">
{{if subPages}}
<ul>
{{each subPages}}
<li>
<a href="diagram/${id}" class="biz-ex-navigate" title="${name}">
<figure class="biz-ex-diagram large-4 columns">
<img src="${Bizagi.Util.serializeResourceURL(image)}" alt="${name}"/>
</figure>
</a>
<div class="biz-ex-subPages"></div>
</li>
{{/each}}
</ul>
{{/if}}
</script>
<!--
@name: Properties View
-->
<script type="text/x-jquery-tmpl" id="PropertiesViewTmpl">
<div class="biz-ex-property">