cpee 2.1.93 → 2.1.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/{resources-label.css → extended_columns-label.css} +4 -0
  3. data/cockpit/css/ui.css +2 -1
  4. data/cockpit/css/wfadaptor.css +8 -11
  5. data/cockpit/david.html +292 -0
  6. data/cockpit/edit.html +16 -7
  7. data/cockpit/graph.html +3 -3
  8. data/cockpit/index.html +15 -7
  9. data/cockpit/js/extended_columns.js +233 -0
  10. data/cockpit/js/instance.js +33 -161
  11. data/cockpit/js/wfadaptor.js +25 -14
  12. data/cockpit/llm.html +3 -3
  13. data/cockpit/llm_alternative.html +3 -3
  14. data/cockpit/model.html +2 -2
  15. data/cockpit/only_llm.html +16 -7
  16. data/cockpit/templates/Coopis 2010.xml +11 -4
  17. data/cockpit/templates/Frames.xml +78 -10
  18. data/cockpit/templates/Track Test.xml +1 -1
  19. data/cockpit/themes/base.js +11 -7
  20. data/cockpit/themes/control/rngs/call.rng +8 -0
  21. data/cockpit/themes/control/rngs/callmanipulate.rng +9 -1
  22. data/cockpit/themes/control/rngs/loop.rng +7 -0
  23. data/cockpit/themes/control/rngs/manipulate.rng +7 -0
  24. data/cockpit/themes/dataflow/rngs/call.rng +8 -0
  25. data/cockpit/themes/dataflow/rngs/callmanipulate.rng +9 -1
  26. data/cockpit/themes/dataflow/rngs/loop.rng +7 -0
  27. data/cockpit/themes/dataflow/rngs/manipulate.rng +7 -0
  28. data/cockpit/themes/dataflow/theme.js +4 -4
  29. data/cockpit/themes/default/rngs/call.rng +8 -0
  30. data/cockpit/themes/default/rngs/callmanipulate.rng +9 -1
  31. data/cockpit/themes/default/rngs/loop.rng +7 -0
  32. data/cockpit/themes/default/rngs/manipulate.rng +7 -0
  33. data/cockpit/themes/extended/rngs/call.rng +8 -0
  34. data/cockpit/themes/extended/rngs/callmanipulate.rng +9 -1
  35. data/cockpit/themes/extended/rngs/loop.rng +7 -0
  36. data/cockpit/themes/extended/rngs/manipulate.rng +7 -0
  37. data/cockpit/themes/packed/rngs/call.rng +8 -0
  38. data/cockpit/themes/packed/rngs/callmanipulate.rng +9 -1
  39. data/cockpit/themes/packed/rngs/loop.rng +7 -0
  40. data/cockpit/themes/packed/rngs/manipulate.rng +7 -0
  41. data/cockpit/themes/preset/rngs/call.rng +8 -0
  42. data/cockpit/themes/preset/rngs/callmanipulate.rng +9 -1
  43. data/cockpit/themes/preset/rngs/loop.rng +7 -0
  44. data/cockpit/themes/preset/rngs/manipulate.rng +7 -0
  45. data/cockpit/themes/presetaltid/rngs/call.rng +8 -0
  46. data/cockpit/themes/presetaltid/rngs/callmanipulate.rng +9 -1
  47. data/cockpit/themes/presetaltid/rngs/loop.rng +7 -0
  48. data/cockpit/themes/presetaltid/rngs/manipulate.rng +7 -0
  49. data/cockpit/themes/presetaltid/theme.js +3 -3
  50. data/cockpit/themes/presetid/rngs/call.rng +8 -0
  51. data/cockpit/themes/presetid/rngs/callmanipulate.rng +9 -1
  52. data/cockpit/themes/presetid/rngs/loop.rng +7 -0
  53. data/cockpit/themes/presetid/rngs/manipulate.rng +7 -0
  54. data/cockpit/themes/reduced/rngs/call.rng +8 -0
  55. data/cockpit/themes/reduced/rngs/callmanipulate.rng +9 -1
  56. data/cockpit/themes/reduced/rngs/loop.rng +7 -0
  57. data/cockpit/themes/reduced/rngs/manipulate.rng +7 -0
  58. data/cockpit/track.html +3 -3
  59. data/cpee.gemspec +1 -1
  60. data/lib/cpee/implementation.rb +25 -38
  61. data/server/executionhandlers/ruby/connection.rb +6 -2
  62. data/server/routing/end.pid +1 -1
  63. data/server/routing/forward-events-00.pid +1 -1
  64. data/server/routing/forward-events-01.pid +1 -0
  65. data/server/routing/forward-events-02.pid +1 -0
  66. data/server/routing/forward-events-03.pid +1 -0
  67. data/server/routing/forward-events-04.pid +1 -0
  68. data/server/routing/forward-events-05.pid +1 -0
  69. data/server/routing/forward-events-06.pid +1 -0
  70. data/server/routing/forward-votes.pid +1 -1
  71. data/server/routing/persist.pid +1 -1
  72. metadata +11 -4
  73. data/cockpit/js/resources.js +0 -64
  74. /data/cockpit/css/{resources-svg.css → extended_columns-svg.css} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf5b0ca7b67e6dbadba9928fa0eda969239240a09d0ea58294f7a066e8588899
4
- data.tar.gz: e062395a4e937c3911a65631cdef394adebfc69595af72b6fdb2a2e99965479d
3
+ metadata.gz: 98ec380ca615921ed8c2652802995ab97de7b8a34f34c6a503f60b8f5758dfb9
4
+ data.tar.gz: b761b0623adf0bb79ccc6506ad5b26c7993b39b4585a88c8311a41172cab8ccb
5
5
  SHA512:
6
- metadata.gz: fb94ceeb111ba2e7bef92d1916699280192502b15f270d0a80b72b15ffb2d55d650b6ee62e34780ae2caf02193e662eaaa4550bd9f6fefb0663e87c24fc3c9c6
7
- data.tar.gz: d107315d6c39cb2f61dbbe7e85efdfc5d1d8b2f9319932376a3fb85d1cf7a6ce569bbd95c887a4201d904ca344da9434b33489c832ead6e44b8beeb34e95ce20
6
+ metadata.gz: be8645a1acd70db7c3089eefc5208aaf0dda70818f74b10a4ac6a58d2ee77e26755d8952379b533a8d953f2664d130f11469759d640e0d0fe2e3d2feb6a37223
7
+ data.tar.gz: 9952f614f80c02377ee78942725d292f4956849e6edfa6b669f784a735e13301874bffc756539436a885b7d69a5bc9d0d26865703428f41084a9fcccc918103d
@@ -1,3 +1,7 @@
1
+ svg.displaylabel {
2
+ pointer-events: none;
3
+ }
4
+
1
5
  svg.displaylabel .displaylabel {
2
6
  fill: var(--wfadaptor-background);
3
7
  fill-opacity:1;
data/cockpit/css/ui.css CHANGED
@@ -107,7 +107,8 @@ ui-tabbed ui-tabbar ui-behind button {
107
107
  #areainstance div.section:nth-child(1) button[name=loadtestsetfile] { white-space: normal; width: 10em; height: 3.5em; margin-left: 0.2em; }
108
108
  #areainstance div.section:nth-child(1) button[name=loadmodelfile] { white-space: normal; width: 10em; height: 2em; margin-top: 0.2em; }
109
109
 
110
- #areainstance div.section:nth-child(2) button { white-space: normal; width: 6em; height: 5.7em; vertical-align: middle; margin: 0; padding: 0; }
110
+ #areainstance div.section:nth-child(2) button[name=savebpmnfile] { white-space: normal; width: 7em; height: 2em; margin-top: 0.2em; }
111
+ #areainstance div.section:nth-child(2) button { white-space: normal; width: 7em; height: 3.5em; vertical-align: middle; margin: 0; padding: 0; }
111
112
 
112
113
  #areainstance div.section:nth-child(3) { overflow-y: scroll; overflow-x: hidden; display: flex; flex-direction: column; flex-wrap: wrap; justify-content: flex-start; align-content: flex-start; }
113
114
  #areainstance div.section:nth-child(3) strong { margin:0; padding:0; white-space: normal; font-size: 0.7em; }
@@ -26,12 +26,6 @@
26
26
  --wfadaptor-label: #e4e4e4;
27
27
  --wfadaptor-mark: #d4d4d4;
28
28
 
29
- /*--wfadaptor-selected: #f57900;*/
30
- /*--wfadaptor-hover: #f57900;*/
31
-
32
- /*--wfadaptor-selected: #4ee7d1;*/
33
- /*--wfadaptor-hover: #4ee7d1;*/
34
-
35
29
  --wfadaptor-selected: #000000;
36
30
  --wfadaptor-selected-text: #f57900;
37
31
  --wfadaptor-hover: #000000;
@@ -46,12 +40,20 @@ svg {
46
40
  display:inline;
47
41
  margin:0;
48
42
  padding:0;
43
+ font-family: adawaita-sans;
44
+ user-select: none;
49
45
  }
50
46
 
51
47
  svg .duration {
52
48
  stroke: var(--wfadaptor-label);
53
49
  }
54
50
 
51
+ /*
52
+ svg [style*='--custom-color'] {
53
+ fill: url(#custom-gradient);
54
+ }
55
+ */
56
+
55
57
  svg rect.group {
56
58
  fill: var(--wfadaptor-highlight);
57
59
  fill-opacity: 0.2;
@@ -298,7 +300,6 @@ svg text.super {
298
300
  fill: var(--wfadaptor-base);
299
301
  fill-opacity:1;
300
302
  stroke:none;
301
- font-family: adawaita-sans;
302
303
  }
303
304
  svg tspan.exec {
304
305
  fill: var(--wfadaptor-exec-active-text);
@@ -309,7 +310,6 @@ svg tspan.exec {
309
310
  stroke-linecap:round;
310
311
  stroke-linejoin:round;
311
312
  paint-order: stroke markers fill;
312
- font-family: adawaita-sans;
313
313
  }
314
314
  svg tspan.active {
315
315
  fill: var(--wfadaptor-exec-active-text);
@@ -320,7 +320,6 @@ svg tspan.active {
320
320
  stroke-linecap:round;
321
321
  stroke-linejoin:round;
322
322
  paint-order: stroke markers fill;
323
- font-family: adawaita-sans;
324
323
  }
325
324
  svg tspan.vote {
326
325
  fill: var(--wfadaptor-exec-vote-text);
@@ -331,7 +330,6 @@ svg tspan.vote {
331
330
  stroke-linecap:round;
332
331
  stroke-linejoin:round;
333
332
  paint-order: stroke markers fill;
334
- font-family: adawaita-sans;
335
333
  }
336
334
  svg tspan.colon {
337
335
  display: none;
@@ -363,7 +361,6 @@ svg text.label.standalone {
363
361
  stroke-linecap:round;
364
362
  stroke-linejoin:round;
365
363
  paint-order: stroke markers fill;
366
- font-family: adawaita-sans;
367
364
  }
368
365
  svg text.label.rotate {
369
366
  transform: translateY(10px) rotate(-30deg);
@@ -0,0 +1,292 @@
1
+ <!--
2
+ This file is part of CPEE.
3
+
4
+ CPEE is free software: you can redistribute it and/or modify it under the terms
5
+ of the GNU General Public License as published by the Free Software Foundation,
6
+ either version 3 of the License, or (at your option) any later version.
7
+
8
+ CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
11
+
12
+ You should have received a copy of the GNU General Public License along with
13
+ CPEE (file COPYING in the main directory). If not, see
14
+ <http://www.gnu.org/licenses/>.
15
+ -->
16
+
17
+ <!DOCTYPE html>
18
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
19
+ <head>
20
+ <meta charset="utf-8"/>
21
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
22
+ <link rel="icon" type="image/png" href="/favicon.png">
23
+ <title>CPEE Cockpit</title>
24
+
25
+ <!-- libs, do not modify. When local than load local libs. -->
26
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
27
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
28
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
29
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
30
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
31
+ <script type="text/javascript" src="/js_libs/util.js"></script>
32
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
33
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
34
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
35
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
36
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
37
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
38
+
39
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
40
+
41
+ <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
43
+
44
+ <script type="text/javascript" src="https://lehre.bpm.in.tum.de/~ge64teg/bachelor-thesis/build-bpmn.js"></script>
45
+
46
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
47
+ <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
48
+
49
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
50
+
51
+ <!-- modelling ui -->
52
+ <script type="text/javascript" src="js/wfadaptor.js"></script>
53
+ <link rel="stylesheet" href="css/wfadaptor.css" type="text/css" data-include-export="true"/>
54
+
55
+ <!-- custom stuff, play arround -->
56
+ <script type="text/javascript" src="js/ui.js"></script>
57
+ <script type="text/javascript" src="js/instance.js"></script>
58
+ <script type="text/javascript" src="js/details.js"></script>
59
+ <script type="text/javascript" src="js/parameters.js"></script>
60
+ <script type="text/javascript" src="js/extended_columns.js"></script>
61
+ <script type="text/javascript" src="js/modifiers.js"></script>
62
+ <script type="text/javascript" src="themes/base.js"></script>
63
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
64
+ <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
65
+ <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
66
+ <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
67
+ <style>
68
+ /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
69
+ /* shit balls, no elegance is left in this world */
70
+ </style>
71
+ </head>
72
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
73
+ <div id='disclaimer' class='hidden'> <!--{{{-->
74
+ <h1>Disclaimer</h1>
75
+
76
+ <p>
77
+ We use reasonable care in creating and presenting the functionality
78
+ found in this demonstrator. It is provided purely for demonstration purposes
79
+ and you should seek further guidance and make independent enquiries
80
+ before relying upon it.
81
+ </p>
82
+
83
+ <p>
84
+ All functionality included in this demonstrator is subject to change
85
+ without notice. We make no representation or warranty whatsoever
86
+ regarding the completeness, accuracy, adequacy, suitability or
87
+ operation of this demonstrator, or of the results it produces.
88
+ </p>
89
+
90
+ <p>
91
+ We assume no responsibility for process instances created with this
92
+ demonstrator and disclaim all liability arising from negligence or
93
+ otherwise in respect of such process instances. We will not be liable
94
+ for any damages (including, without limitation, damages for any
95
+ consequential loss or loss of business opportunities or projects, or
96
+ loss of profits) howsoever arising from use of or inability to use
97
+ this demonstrator, or from any action or omission taken as a result of
98
+ using this demonstrator.
99
+ </p>
100
+
101
+ <p>
102
+ This demonstrator is hosted in Austria. All liability is excluded to the extent
103
+ permitted by law including any implied terms. Any interpretation of its
104
+ content, claims or disputes (of whatever nature and not limited to contractual
105
+ issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
106
+ under Austrian law.
107
+ </p>
108
+
109
+ <p>
110
+ All actions performed while using this demonstrator will be logged, including
111
+ the IP address of the user.
112
+ </p>
113
+
114
+ <p>
115
+ <input id='iagree' type='checkbox'/><label for='iagree'><strong>OK, I Agree with this terms. I will be a happy person, and do no evil.</strong></label>
116
+ </p>
117
+ <p>
118
+ <button id='icontinue' disabled='disabled'>Continue</button>
119
+ </p>
120
+ </div> <!--}}}-->
121
+
122
+ <div class='hidden' id='relaxngworker'></div>
123
+
124
+ <div class='menu' id='templates'></div>
125
+ <div class='menu' id='modeltypes'></div>
126
+
127
+ <template id="label">
128
+ <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
129
+ <g transform="translate(1 %%1) rotate(-%%2)">
130
+ <rect class="displaylabel" width="200" height="14" x="8" y="0" rx="5" ry="5"/>
131
+ <path class="displaylabel" d="M10,13 0,13 8,8"/>
132
+ <path class="displaylabelinner" d="M10,11.5 8.5,11.5 8.5,9.5 10,9.5"/>
133
+ <text class="label" x="18" y="10">aaaa</text>
134
+ </g>
135
+ </svg>
136
+ </template>
137
+
138
+ <ui-tabbed id="instance">
139
+ <ui-tabbar>
140
+ <ui-tab class="switch" ></ui-tab>
141
+ <ui-tab class="" data-tab="new" id="tabnew" >New</ui-tab>
142
+ <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
143
+ <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
144
+ <ui-behind ><a style='display:none' target='_blank' id='current-instance'></a><a style='display:none' target='_blank' id='current-instance-properties'>P</a><a style='display:none' target='_blank' id='current-instance-subscriptions'>S</a><a style='display:none' target='_blank' id='current-instance-callbacks'>C</a></ui-behind>
145
+ <ui-last ><a class="logo" href=".."></a></ui-last>
146
+ </ui-tabbar>
147
+ <ui-content>
148
+ <ui-area data-belongs-to-tab="new" id="areanew"> <!--{{{-->
149
+ <table class='x-ui-layout'>
150
+ <tr>
151
+ <td>Resources:</td>
152
+ <td><input name="res-url" type="text" value=""/></td>
153
+ <td></td>
154
+ </tr>
155
+ <tr>
156
+ <td>Engine:</td>
157
+ <td><input name="base-url" type="text" value=""/></td>
158
+ <td><button name="base">create new instance</button></td>
159
+ </tr>
160
+ <tr>
161
+ <td>Instance:</td>
162
+ <td><input name="instance-url" type="text" value=""/></td>
163
+ <td><button name="instance">monitor instance</button></td>
164
+ </tr>
165
+ </table>
166
+ </ui-area> <!--}}}-->
167
+ <ui-area data-belongs-to-tab="instance" id="areainstance" class="inactive"> <!--{{{-->
168
+ <div>
169
+ <div class='section'>
170
+ <div>
171
+ <form id='fuckchrome'>
172
+ <input type='file' name='testsetfile' id='testsetfile'/>
173
+ </form>
174
+ <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
175
+ </div>
176
+ <div>
177
+ <input type='file' name='modelfile' id='modelfile'/>
178
+ <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current instance for the type of model' name="loadmodelfile">load model</button>
179
+ </div>
180
+ </div><div class='section'>
181
+ <div>
182
+ <a id="savetestsetfile" href="" download=""></a>
183
+ <a id="savesvgfile" href="" download=""></a>
184
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
185
+ <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
186
+ </div>
187
+ <div>
188
+ <a id="savebpmnfile" href="" download=""></a>
189
+ <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
190
+ </div>
191
+ </div><div class='section' id='modifiers'>
192
+ <template id="item">
193
+ <div>
194
+ <div class='title'><strong></strong></div>
195
+ <div class='select'><select></select></div>
196
+ <div class='additional'></div>
197
+ </div>
198
+ </template>
199
+ </div>
200
+ </div>
201
+ </ui-area> <!--}}}-->
202
+ <ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
203
+ <table class='x-ui-compact'>
204
+ <tbody class='debug'>
205
+ <tr>
206
+ <td>Debugging:</td>
207
+ <td><input type="checkbox" name="votecontinue"/></td>
208
+ </tr>
209
+ </tbody>
210
+ <tbody class='exe'>
211
+ <tr>
212
+ <td>State:</td>
213
+ <td id='state'>
214
+ <span id="state_text"></span>
215
+ <span id="state_any" style='display:none'>
216
+ <span> ⇒ </span>
217
+ <button name="state_start" title='start' style='display:none'>Start</button>
218
+ <button name="state_stop" title='stop' style='display:none'>Stop</button>
219
+ <span id="state_extended" style='display:none'>
220
+ <span> / </span>
221
+ <button name="state_abandon" title='abandon' style='display:none'>Abandon</button>
222
+ </span>
223
+ </span>
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <td>Continue:</td>
228
+ <td id='votes'></td>
229
+ </tr>
230
+ </tbody>
231
+ </table>
232
+ </ui-area> <!--}}}-->
233
+ </ui-content>
234
+ </ui-tabbed>
235
+
236
+ <ui-tabbed class="hidden" id='parameters'>
237
+ <ui-tabbar>
238
+ <ui-tab class="switch" ></ui-tab>
239
+ <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Objects</ui-tab>
240
+ <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
241
+ <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
242
+ <ui-behind ></ui-behind>
243
+ </ui-tabbar>
244
+ <ui-content>
245
+ <ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
246
+ <button title='add entry'><span>New</span></button>
247
+ <div id="dat_dataelements"></div>
248
+ </ui-area> <!--}}}-->
249
+ <ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
250
+ <button title='add entry'><span>New</span></button>
251
+ <div id="dat_endpoints"></div>
252
+ </ui-area> <!--}}}-->
253
+ <ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
254
+ <button title='add entry'><span>New</span></button>
255
+ <div id="dat_attributes"></div>
256
+ </ui-area> <!--}}}-->
257
+ </ui-content>
258
+ </ui-tabbed>
259
+
260
+ <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
261
+
262
+ <ui-rest id="main" class="hidden">
263
+ <ui-tabbar>
264
+ <ui-before ></ui-before>
265
+ <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
266
+ <ui-tab class="inactive" data-tab="dsl" id="tabdsl" >Description</ui-tab>
267
+ <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
268
+ <ui-behind ><a style='display:none' target='_blank' id='current-track'>T</a><a style='display:none' target='_blank' id='current-graph'>G</a></ui-behind>
269
+ </ui-tabbar>
270
+ <ui-content>
271
+ <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
272
+ <div id="modelling">
273
+ <div id='graphgrid'>
274
+ <div class="resource-label" style="display: none"></div>
275
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' width='1' height='1'></svg>
276
+ </div>
277
+ </div>
278
+ </ui-area>
279
+ <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
280
+ <ui-area data-belongs-to-tab="details" id="detailcolumn">
281
+ <div id="dat_details" class='x-ui-layout'></div>
282
+ </ui-area>
283
+ <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
284
+ <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
285
+ <div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
286
+ <table id="dat_log" class="x-ui-layout"></table>
287
+ </ui-area> <!--}}}-->
288
+ </ui-content>
289
+ </ui-rest>
290
+
291
+ </body>
292
+ </html>
data/cockpit/edit.html CHANGED
@@ -19,6 +19,7 @@
19
19
  <head>
20
20
  <meta charset="utf-8"/>
21
21
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
22
+ <link rel="icon" type="image/png" href="/favicon.png">
22
23
  <title>CPEE Cockpit</title>
23
24
 
24
25
  <!-- libs, do not modify. When local than load local libs. -->
@@ -40,6 +41,8 @@
40
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
41
42
  <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
43
 
44
+ <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
45
+
43
46
  <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
44
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
45
48
 
@@ -54,13 +57,13 @@
54
57
  <script type="text/javascript" src="js/instance.js"></script>
55
58
  <script type="text/javascript" src="js/details.js"></script>
56
59
  <script type="text/javascript" src="js/parameters.js"></script>
57
- <script type="text/javascript" src="js/resources.js"></script>
60
+ <script type="text/javascript" src="js/extended_columns.js"></script>
58
61
  <script type="text/javascript" src="js/edit.js"></script>
59
62
  <script type="text/javascript" src="js/modifiers.js"></script>
60
63
  <script type="text/javascript" src="themes/base.js"></script>
61
64
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
62
- <link rel="stylesheet" href="css/resources-label.css" type="text/css"/>
63
- <link rel="stylesheet" href="css/resources-svg.css" type="text/css" data-include-export="true"/>
65
+ <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
66
+ <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
64
67
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
65
68
  <style>
66
69
  /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
@@ -174,10 +177,16 @@
174
177
  <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current instance for the type of model' name="loadmodelfile">load model</button>
175
178
  </div>
176
179
  </div><div class='section'>
177
- <a id="savetestsetfile" href="" download=""></a>
178
- <a id="savesvgfile" href="" download=""></a>
179
- <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
180
- <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg<br>graph</button>
180
+ <div>
181
+ <a id="savetestsetfile" href="" download=""></a>
182
+ <a id="savesvgfile" href="" download=""></a>
183
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
184
+ <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
185
+ </div>
186
+ <div>
187
+ <a id="savebpmnfile" href="" download=""></a>
188
+ <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
189
+ </div>
181
190
  </div><div class='section' id='modifiers'>
182
191
  <template id="item">
183
192
  <div>
data/cockpit/graph.html CHANGED
@@ -55,11 +55,11 @@
55
55
  <script type="text/javascript" src="js/details.js"></script>
56
56
  <script type="text/javascript" src="js/parameters.js"></script>
57
57
  <script type="text/javascript" src="js/modifiers.js"></script>
58
- <script type="text/javascript" src="js/resources.js"></script>
58
+ <script type="text/javascript" src="js/extended_columns.js"></script>
59
59
  <script type="text/javascript" src="themes/base.js"></script>
60
60
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
61
- <link rel="stylesheet" href="css/resources-label.css" type="text/css"/>
62
- <link rel="stylesheet" href="css/resources-svg.css" type="text/css" data-include-export="true"/>
61
+ <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
62
+ <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
63
63
  <link rel="stylesheet" href="css/graph.css" type="text/css"/>
64
64
  </head>
65
65
  <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
data/cockpit/index.html CHANGED
@@ -41,6 +41,8 @@
41
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
42
  <script type="text/javascript" src="/js_libs/custommenu.js"></script>
43
43
 
44
+ <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
45
+
44
46
  <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
45
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
46
48
 
@@ -55,12 +57,12 @@
55
57
  <script type="text/javascript" src="js/instance.js"></script>
56
58
  <script type="text/javascript" src="js/details.js"></script>
57
59
  <script type="text/javascript" src="js/parameters.js"></script>
58
- <script type="text/javascript" src="js/resources.js"></script>
60
+ <script type="text/javascript" src="js/extended_columns.js"></script>
59
61
  <script type="text/javascript" src="js/modifiers.js"></script>
60
62
  <script type="text/javascript" src="themes/base.js"></script>
61
63
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
62
- <link rel="stylesheet" href="css/resources-label.css" type="text/css"/>
63
- <link rel="stylesheet" href="css/resources-svg.css" type="text/css" data-include-export="true"/>
64
+ <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
65
+ <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
64
66
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
65
67
  <style>
66
68
  /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
@@ -176,10 +178,16 @@
176
178
  <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current instance for the type of model' name="loadmodelfile">load model</button>
177
179
  </div>
178
180
  </div><div class='section'>
179
- <a id="savetestsetfile" href="" download=""></a>
180
- <a id="savesvgfile" href="" download=""></a>
181
- <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
182
- <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg<br>graph</button>
181
+ <div>
182
+ <a id="savetestsetfile" href="" download=""></a>
183
+ <a id="savesvgfile" href="" download=""></a>
184
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
185
+ <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
186
+ </div>
187
+ <div>
188
+ <a id="savebpmnfile" href="" download=""></a>
189
+ <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
190
+ </div>
183
191
  </div><div class='section' id='modifiers'>
184
192
  <template id="item">
185
193
  <div>