cpee 2.0.19 → 2.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/wfadaptor.css +17 -0
  3. data/cockpit/js/instance.js +0 -1
  4. data/cockpit/js_libs.zip +0 -0
  5. data/cockpit/themes/model/rngs/call.rng +2 -1
  6. data/cockpit/themes/model/rngs/callmanipulate.rng +2 -1
  7. data/cockpit/themes/model/theme.js +1 -1
  8. data/cpee.gemspec +2 -2
  9. data/lib/cpee/controller.rb +6 -3
  10. data/lib/cpee/implementation.rb +23 -8
  11. data/lib/cpee/implementation_notifications.rb +1 -1
  12. data/lib/cpee/persistence.rb +2 -1
  13. data/lib/cpee/redis.rb +57 -0
  14. data/server/routing/end.rb +16 -4
  15. data/server/routing/forward-events.rb +19 -7
  16. data/server/routing/forward-votes.rb +19 -7
  17. data/server/routing/persist.rb +26 -14
  18. data/tools/cpee +5 -5
  19. data/tools/test/README +4 -0
  20. data/tools/test/config.json +3 -0
  21. data/tools/test/contrib/graph_example.svg +1166 -0
  22. data/tools/test/contrib/legend.svg +817 -0
  23. data/tools/test/contrib/symbols.svg +224 -0
  24. data/tools/test/contrib/transformation1.xsl +264 -0
  25. data/tools/test/contrib/transformation2.xsl +10 -0
  26. data/tools/test/contrib/tree_example.svg +788 -0
  27. data/tools/test/css/model.css +24 -0
  28. data/tools/test/css/track.css +60 -0
  29. data/tools/test/css/ui.css +214 -0
  30. data/tools/test/css/wfadaptor.css +422 -0
  31. data/tools/test/edit.html +258 -0
  32. data/tools/test/graph.html +69 -0
  33. data/tools/test/index.html +258 -0
  34. data/tools/test/js/details.js +109 -0
  35. data/tools/test/js/instance.js +1344 -0
  36. data/tools/test/js/model.js +41 -0
  37. data/tools/test/js/parameters.js +82 -0
  38. data/tools/test/js/track.js +18 -0
  39. data/tools/test/js/ui.js +104 -0
  40. data/tools/test/js/wfadaptor.js +763 -0
  41. data/tools/test/js_libs.zip +0 -0
  42. data/tools/test/js_libs/Makefile +2 -0
  43. data/tools/test/js_libs/ansi_up.js +333 -0
  44. data/tools/test/js_libs/console.js +80 -0
  45. data/tools/test/js_libs/custommenu.css +84 -0
  46. data/tools/test/js_libs/custommenu.js +104 -0
  47. data/tools/test/js_libs/experiments1/relaxngui.css +185 -0
  48. data/tools/test/js_libs/experiments1/relaxngui.js +488 -0
  49. data/tools/test/js_libs/experiments1/rngtest9.html +60 -0
  50. data/tools/test/js_libs/experiments1/rngtest9.rng +35 -0
  51. data/tools/test/js_libs/experiments1/rngtest9.xml +8 -0
  52. data/tools/test/js_libs/jquery-2.2.4.min.js +4 -0
  53. data/tools/test/js_libs/jquery-3.2.1.min.js +4 -0
  54. data/tools/test/js_libs/jquery-3.3.1.min.js +2 -0
  55. data/tools/test/js_libs/jquery.browser.js +40 -0
  56. data/tools/test/js_libs/jquery.caret.min.js +10 -0
  57. data/tools/test/js_libs/jquery.cookie.js +117 -0
  58. data/tools/test/js_libs/jquery.min.js +1 -0
  59. data/tools/test/js_libs/jquery.svg.min.js +6 -0
  60. data/tools/test/js_libs/jquery.svgdom.min.js +6 -0
  61. data/tools/test/js_libs/markdown.min.js +1 -0
  62. data/tools/test/js_libs/parsequery.js +21 -0
  63. data/tools/test/js_libs/printf.js +368 -0
  64. data/tools/test/js_libs/relaxngui.css +213 -0
  65. data/tools/test/js_libs/relaxngui.js +543 -0
  66. data/tools/test/js_libs/strftime.min.js +1 -0
  67. data/tools/test/js_libs/tests/dataelements.html +59 -0
  68. data/tools/test/js_libs/tests/dataelements.rng +8 -0
  69. data/tools/test/js_libs/tests/dataelements.xml +3 -0
  70. data/tools/test/js_libs/tests/relaxngui.css +203 -0
  71. data/tools/test/js_libs/tests/relaxngui.js +502 -0
  72. data/tools/test/js_libs/tests/rngtest1.html +66 -0
  73. data/tools/test/js_libs/tests/rngtest1.rng +147 -0
  74. data/tools/test/js_libs/tests/rngtest1.xml +13 -0
  75. data/tools/test/js_libs/tests/rngtest2.html +60 -0
  76. data/tools/test/js_libs/tests/rngtest2.rng +6 -0
  77. data/tools/test/js_libs/tests/rngtest2.xml +3 -0
  78. data/tools/test/js_libs/tests/rngtest3.html +60 -0
  79. data/tools/test/js_libs/tests/rngtest3.rng +23 -0
  80. data/tools/test/js_libs/tests/rngtest3.xml +9 -0
  81. data/tools/test/js_libs/tests/rngtest4.html +60 -0
  82. data/tools/test/js_libs/tests/rngtest4.rng +19 -0
  83. data/tools/test/js_libs/tests/rngtest4.xml +12 -0
  84. data/tools/test/js_libs/tests/rngtest5.html +60 -0
  85. data/tools/test/js_libs/tests/rngtest5.rng +75 -0
  86. data/tools/test/js_libs/tests/rngtest5.xml +40 -0
  87. data/tools/test/js_libs/tests/rngtest6.html +60 -0
  88. data/tools/test/js_libs/tests/rngtest6.rng +24 -0
  89. data/tools/test/js_libs/tests/rngtest6.xml +6 -0
  90. data/tools/test/js_libs/tests/rngtest8.html +60 -0
  91. data/tools/test/js_libs/tests/rngtest8.rng +13 -0
  92. data/tools/test/js_libs/tests/rngtest8.xml +2 -0
  93. data/tools/test/js_libs/tests/rngtest9.html +60 -0
  94. data/tools/test/js_libs/tests/rngtest9.rng +31 -0
  95. data/tools/test/js_libs/tests/rngtest9.xml +8 -0
  96. data/tools/test/js_libs/ui.css +333 -0
  97. data/tools/test/js_libs/ui.html +168 -0
  98. data/tools/test/js_libs/ui.js +177 -0
  99. data/tools/test/js_libs/underscore.min.js +27 -0
  100. data/tools/test/js_libs/util.js +81 -0
  101. data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +358 -0
  102. data/tools/test/js_libs/vkbeautify.js +1 -0
  103. data/tools/test/js_libs/webcomponents.min.js +196 -0
  104. data/tools/test/model.html +192 -0
  105. data/tools/test/rngs/attributes.rng +8 -0
  106. data/tools/test/rngs/dataelements.rng +8 -0
  107. data/tools/test/rngs/endpoints.rng +8 -0
  108. data/tools/test/templates.legacy/Async.xml +46 -0
  109. data/tools/test/templates.legacy/BCO.xml +70 -0
  110. data/tools/test/templates.legacy/BCS.xml +70 -0
  111. data/tools/test/templates.legacy/Centurio.xml +75 -0
  112. data/tools/test/templates.legacy/Concurrent.xml +40 -0
  113. data/tools/test/templates.legacy/Coopis Testset.xml +76 -0
  114. data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +30 -0
  115. data/tools/test/templates.legacy/ICSOC Testset.xml +95 -0
  116. data/tools/test/templates.legacy/Infinity.xml +28 -0
  117. data/tools/test/templates.legacy/Lego Boxer.xml +31 -0
  118. data/tools/test/templates.legacy/Lego Conveyor.xml +31 -0
  119. data/tools/test/templates.legacy/Lego Crane.xml +87 -0
  120. data/tools/test/templates.legacy/Lego Ejector.xml +55 -0
  121. data/tools/test/templates.legacy/Lego Full.xml +142 -0
  122. data/tools/test/templates.legacy/Lego Liddy.xml +40 -0
  123. data/tools/test/templates.legacy/Lego Plate.xml +31 -0
  124. data/tools/test/templates.legacy/Lego Transporter.xml +43 -0
  125. data/tools/test/templates.legacy/Lego_Part_1.xml +85 -0
  126. data/tools/test/templates.legacy/LgLinear.xml +65 -0
  127. data/tools/test/templates.legacy/Linear.xml +77 -0
  128. data/tools/test/templates.legacy/Log.xml +117 -0
  129. data/tools/test/templates.legacy/Mangler 1.xml +87 -0
  130. data/tools/test/templates.legacy/Mangler 2.xml +103 -0
  131. data/tools/test/templates.legacy/Manuel Labels.xml +55 -0
  132. data/tools/test/templates.legacy/Promise.xml +275 -0
  133. data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +83 -0
  134. data/tools/test/templates.legacy/Subprocess.xml +56 -0
  135. data/tools/test/templates.legacy/Syncing P34 1.xml +77 -0
  136. data/tools/test/templates.legacy/Syncing P34 2.xml +77 -0
  137. data/tools/test/templates.legacy/Syncing P34 3.xml +77 -0
  138. data/tools/test/templates.legacy/Syncing P34.xml +77 -0
  139. data/tools/test/templates.legacy/TEST - Bad Loop.xml +173 -0
  140. data/tools/test/templates.legacy/TEST - Wrong Positions.xml +174 -0
  141. data/tools/test/templates.legacy/Take_5.xml +48 -0
  142. data/tools/test/templates.legacy/Update.xml +32 -0
  143. data/tools/test/templates.legacy/Worklist Parallel.xml +104 -0
  144. data/tools/test/templates.legacy/Worklist Test CPEE.xml +40 -0
  145. data/tools/test/templates.legacy/Worklist Test.xml +42 -0
  146. data/tools/test/templates.legacy/Worklist Test2.xml +43 -0
  147. data/tools/test/templates.legacy/convert_cpee2.rb +15 -0
  148. data/tools/test/templates.legacy/convert_preset.rb +32 -0
  149. data/tools/test/templates.legacy/testsets.xml +37 -0
  150. data/tools/test/templates.legacy/transformations.xml +4 -0
  151. data/tools/test/templates/Coopis 2010.xml +76 -0
  152. data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
  153. data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
  154. data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
  155. data/tools/test/templates/Track Test Local.xml +82 -0
  156. data/tools/test/templates/Track Test.xml +82 -0
  157. data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +182 -0
  158. data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +203 -0
  159. data/tools/test/templates/UR-VUE 2020 Solution NN.xml +197 -0
  160. data/tools/test/templates/UR-VUE 2020 Solution View.xml +151 -0
  161. data/tools/test/templates/UR-VUE 2020.xml +26 -0
  162. data/tools/test/templates/Worklist.xml +42 -0
  163. data/tools/test/templates/instantiate.local/Take_Sub.xml +59 -0
  164. data/tools/test/templates/instantiate/Take_Perf.xml +46 -0
  165. data/tools/test/templates/instantiate/Take_Sub.xml +58 -0
  166. data/tools/test/templates/instantiate/Take_X.xml +48 -0
  167. data/tools/test/themes/compact/theme.js +1285 -0
  168. data/tools/test/themes/diana/theme.js +1650 -0
  169. data/tools/test/themes/extended/theme.js +1325 -0
  170. data/tools/test/themes/model/rngs/alternative.rng +1 -0
  171. data/tools/test/themes/model/rngs/call.rng +67 -0
  172. data/tools/test/themes/model/rngs/callmanipulate.rng +72 -0
  173. data/tools/test/themes/model/rngs/choose.rng +1 -0
  174. data/tools/test/themes/model/rngs/critical.rng +1 -0
  175. data/tools/test/themes/model/rngs/escape.rng +1 -0
  176. data/tools/test/themes/model/rngs/group.rng +1 -0
  177. data/tools/test/themes/model/rngs/loop.rng +1 -0
  178. data/tools/test/themes/model/rngs/manipulate.rng +1 -0
  179. data/tools/test/themes/model/rngs/otherwise.rng +1 -0
  180. data/tools/test/themes/model/rngs/parallel.rng +1 -0
  181. data/tools/test/themes/model/rngs/parallel_branch.rng +1 -0
  182. data/tools/test/themes/model/rngs/scripts.rng +7 -0
  183. data/tools/test/themes/model/rngs/stop.rng +1 -0
  184. data/tools/test/themes/model/rngs/terminate.rng +1 -0
  185. data/tools/test/themes/model/theme.js +1268 -0
  186. data/tools/test/themes/packed/theme.js +1286 -0
  187. data/tools/test/themes/preset/rngs/alternative.rng +25 -0
  188. data/tools/test/themes/preset/rngs/call.rng +122 -0
  189. data/tools/test/themes/preset/rngs/callmanipulate.rng +145 -0
  190. data/tools/test/themes/preset/rngs/choose.rng +14 -0
  191. data/tools/test/themes/preset/rngs/closed_loop.rng +62 -0
  192. data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +5 -0
  193. data/tools/test/themes/preset/rngs/closed_loop_control.rng +31 -0
  194. data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +12 -0
  195. data/tools/test/themes/preset/rngs/critical.rng +5 -0
  196. data/tools/test/themes/preset/rngs/escape.rng +1 -0
  197. data/tools/test/themes/preset/rngs/group.rng +3 -0
  198. data/tools/test/themes/preset/rngs/loop.rng +22 -0
  199. data/tools/test/themes/preset/rngs/manipulate.rng +9 -0
  200. data/tools/test/themes/preset/rngs/otherwise.rng +22 -0
  201. data/tools/test/themes/preset/rngs/parallel.rng +21 -0
  202. data/tools/test/themes/preset/rngs/parallel_branch.rng +8 -0
  203. data/tools/test/themes/preset/rngs/scripts.rng +23 -0
  204. data/tools/test/themes/preset/rngs/stop.rng +5 -0
  205. data/tools/test/themes/preset/rngs/terminate.rng +1 -0
  206. data/tools/test/themes/preset/symbols/alternative.svg +5 -0
  207. data/tools/test/themes/preset/symbols/arrow.svg +3 -0
  208. data/tools/test/themes/preset/symbols/call.svg +6 -0
  209. data/tools/test/themes/preset/symbols/callmanipulate.svg +8 -0
  210. data/tools/test/themes/preset/symbols/choose.svg +5 -0
  211. data/tools/test/themes/preset/symbols/choose_exclusive.svg +5 -0
  212. data/tools/test/themes/preset/symbols/choose_inclusive.svg +4 -0
  213. data/tools/test/themes/preset/symbols/closed_loop.svg +5 -0
  214. data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +5 -0
  215. data/tools/test/themes/preset/symbols/closed_loop_control.svg +5 -0
  216. data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +6 -0
  217. data/tools/test/themes/preset/symbols/complex.svg +8 -0
  218. data/tools/test/themes/preset/symbols/critical.svg +4 -0
  219. data/tools/test/themes/preset/symbols/end.svg +3 -0
  220. data/tools/test/themes/preset/symbols/escape.svg +5 -0
  221. data/tools/test/themes/preset/symbols/event_end.svg +3 -0
  222. data/tools/test/themes/preset/symbols/loop.svg +5 -0
  223. data/tools/test/themes/preset/symbols/manipulate.svg +4 -0
  224. data/tools/test/themes/preset/symbols/otherwise.svg +5 -0
  225. data/tools/test/themes/preset/symbols/parallel.svg +5 -0
  226. data/tools/test/themes/preset/symbols/parallel_branch.svg +5 -0
  227. data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +4 -0
  228. data/tools/test/themes/preset/symbols/parallel_branch_event.svg +14 -0
  229. data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +5 -0
  230. data/tools/test/themes/preset/symbols/scripts.svg +4 -0
  231. data/tools/test/themes/preset/symbols/start.svg +3 -0
  232. data/tools/test/themes/preset/symbols/stop.svg +5 -0
  233. data/tools/test/themes/preset/symbols/terminate.svg +4 -0
  234. data/tools/test/themes/preset/theme.js +1287 -0
  235. data/tools/test/track.html +142 -0
  236. metadata +221 -2
@@ -0,0 +1,258 @@
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 http-equiv="Content-Type" content="text/html; charset=utf-8"/>
21
+ <title>CPEE Cockpit</title>
22
+
23
+ <!-- libs, do not modify. When local than load local libs. -->
24
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
25
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
26
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
27
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
28
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
29
+ <script type="text/javascript" src="/js_libs/util.js"></script>
30
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
31
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
32
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
33
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
34
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
35
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
36
+
37
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
38
+
39
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
40
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
41
+
42
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
43
+ <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
44
+
45
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
46
+
47
+ <!-- modelling ui -->
48
+ <script type="text/javascript" src="js/wfadaptor.js"></script>
49
+ <link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
50
+
51
+ <!-- custom stuff, play arround -->
52
+ <script type="text/javascript" src="js/ui.js"></script>
53
+ <script type="text/javascript" src="js/instance.js"></script>
54
+ <script type="text/javascript" src="js/details.js"></script>
55
+ <script type="text/javascript" src="js/parameters.js"></script>
56
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
57
+ <style>
58
+ /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
59
+ /* shit balls, no elegance is left in this world */
60
+ </style>
61
+ </head>
62
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
63
+ <div id='disclaimer' class='hidden'> <!--{{{-->
64
+ <h1>Disclaimer</h1>
65
+
66
+ <p>
67
+ We use reasonable care in creating and presenting the functionality
68
+ found in this demonstrator. It is provided purely for demonstration purposes
69
+ and you should seek further guidance and make independent enquiries
70
+ before relying upon it.
71
+ </p>
72
+
73
+ <p>
74
+ All functionality included in this demonstrator is subject to change
75
+ without notice. We make no representation or warranty whatsoever
76
+ regarding the completeness, accuracy, adequacy, suitability or
77
+ operation of this demonstrator, or of the results it produces.
78
+ </p>
79
+
80
+ <p>
81
+ We assume no responsibility for process instances created with this
82
+ demonstrator and disclaim all liability arising from negligence or
83
+ otherwise in respect of such process instances. We will not be liable
84
+ for any damages (including, without limitation, damages for any
85
+ consequential loss or loss of business opportunities or projects, or
86
+ loss of profits) howsoever arising from use of or inability to use
87
+ this demonstrator, or from any action or omission taken as a result of
88
+ using this demonstrator.
89
+ </p>
90
+
91
+ <p>
92
+ This demonstrator was created in Austria. All liability is excluded to the extent
93
+ permitted by law including any implied terms. Any interpretation of its
94
+ content, claims or disputes (of whatever nature and not limited to contractual
95
+ issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
96
+ under Austrian law.
97
+ </p>
98
+
99
+
100
+ <p>
101
+ All actions performed while using this demonstrator will be logged, including
102
+ the IP address of the user.
103
+ </p>
104
+
105
+ <p>
106
+ <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>
107
+ </p>
108
+ <p>
109
+ <button id='icontinue' disabled='disabled'>Continue</button>
110
+ </p>
111
+ </div> <!--}}}-->
112
+
113
+ <div class='hidden' id='relaxngworker'></div>
114
+
115
+ <div class='menu' id='templates'></div>
116
+ <div class='menu' id='modeltypes'></div>
117
+
118
+ <ui-tabbed id="instance">
119
+ <ui-tabbar>
120
+ <ui-tab class="switch" ></ui-tab>
121
+ <ui-tab class="" data-tab="new" id="tabnew" >New</ui-tab>
122
+ <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
123
+ <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
124
+ <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>
125
+ </ui-tabbar>
126
+ <ui-content>
127
+ <ui-area data-belongs-to-tab="new" id="areanew"> <!--{{{-->
128
+ <table class='x-ui-layout'>
129
+ <tr>
130
+ <td>Resources:</td>
131
+ <td><input name="res-url" type="text" value=""/></td>
132
+ <td></td>
133
+ </tr>
134
+ <tr>
135
+ <td>Engine:</td>
136
+ <td><input name="base-url" type="text" value=""/></td>
137
+ <td><button name="base">create new instance</button></td>
138
+ </tr>
139
+ <tr>
140
+ <td>Instance:</td>
141
+ <td><input name="instance-url" type="text" value=""/></td>
142
+ <td><button name="instance">monitor instance</button></td>
143
+ </tr>
144
+ </table>
145
+ </ui-area> <!--}}}-->
146
+ <ui-area data-belongs-to-tab="instance" id="areainstance" class="inactive"> <!--{{{-->
147
+ <div class='section'>
148
+ <div>
149
+ <form id='fuckchrome'>
150
+ <input type='file' name='testsetfile' id='testsetfile'/>
151
+ </form>
152
+ <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>
153
+ </div>
154
+ <div>
155
+ <input type='file' name='modelfile' id='modelfile'/>
156
+ <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>
157
+ </div>
158
+ </div><div class='section'>
159
+ <a id="savetestsetfile" href="" download=""></a>
160
+ <a id="savesvgfile" href="" download=""></a>
161
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save testset</button>
162
+ <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg graph</button>
163
+ </div><div class='section'>
164
+ <div>
165
+ Current model: <span id='currentmodel'></span>
166
+ </div>
167
+ <div>
168
+ <button title='a testset includes various settings, subscriptions and a model' name="loadmodeltype">set model type</button>
169
+ </div>
170
+ </div>
171
+ </ui-area> <!--}}}-->
172
+ <ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
173
+ <table class='x-ui-compact'>
174
+ <tbody class='debug'>
175
+ <tr>
176
+ <td>Debugging:</td>
177
+ <td><input type="checkbox" name="votecontinue"/></td>
178
+ </tr>
179
+ </tbody>
180
+ <tbody class='exe'>
181
+ <tr>
182
+ <td>State:</td>
183
+ <td id='state'>
184
+ <span id="state_text"></span>
185
+ <span id="state_any" style='display:none'>
186
+ <span> ⇒ </span>
187
+ <button name="state_start" title='start' style='display:none'>Start</button>
188
+ <button name="state_stop" title='stop' style='display:none'>Stop</button>
189
+ <span id="state_extended" style='display:none'>
190
+ <span> / </span>
191
+ <button name="state_replay" title='replay' style='display:none'>Replay</button>
192
+ <span> / </span>
193
+ <button name="state_abandon" title='abandon' style='display:none'>Abandon</button>
194
+ </span>
195
+ </span>
196
+ </td>
197
+ </tr>
198
+ <tr>
199
+ <td>Continue:</td>
200
+ <td id='votes'></td>
201
+ </tr>
202
+ </tbody>
203
+ </table>
204
+ </ui-area> <!--}}}-->
205
+ </ui-content>
206
+ </ui-tabbed>
207
+
208
+ <ui-tabbed class="hidden" id='parameters'>
209
+ <ui-tabbar>
210
+ <ui-tab class="switch" ></ui-tab>
211
+ <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
212
+ <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
213
+ <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
214
+ <ui-behind ><button title='add entry'>New</button></ui-behind>
215
+ </ui-tabbar>
216
+ <ui-content>
217
+ <ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
218
+ <div id="dat_dataelements"></div>
219
+ </ui-area> <!--}}}-->
220
+ <ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
221
+ <table id="dat_endpoints"></table>
222
+ </ui-area> <!--}}}-->
223
+ <ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
224
+ <table id="dat_attributes"></table>
225
+ </ui-area> <!--}}}-->
226
+ </ui-content>
227
+ </ui-tabbed>
228
+
229
+ <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
230
+
231
+ <ui-rest id="main" class="hidden">
232
+ <ui-tabbar>
233
+ <ui-before ></ui-before>
234
+ <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
235
+ <ui-tab class="inactive" data-tab="dsl" id="tabdsl" >Description</ui-tab>
236
+ <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
237
+ <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>
238
+ </ui-tabbar>
239
+ <ui-content>
240
+ <ui-area data-belongs-to-tab="details" id='graphcolumn'>
241
+ <div id='graphgrid'>
242
+ <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>
243
+ </div>
244
+ </ui-area>
245
+ <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
246
+ <ui-area data-belongs-to-tab="details" id="detailcolumn">
247
+ <div id="dat_details" class='x-ui-layout'></div>
248
+ </ui-area>
249
+ <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
250
+ <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
251
+ <div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a></div>
252
+ <table id="dat_log" class="x-ui-layout"></table>
253
+ </ui-area> <!--}}}-->
254
+ </ui-content>
255
+ </ui-rest>
256
+
257
+ </body>
258
+ </html>
@@ -0,0 +1,69 @@
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
+ <title>CPEE Cockpit</title>
23
+
24
+ <!-- libs, do not modify. When local than load local libs. -->
25
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
26
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
27
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
28
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
29
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
30
+ <script type="text/javascript" src="/js_libs/util.js"></script>
31
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
32
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
33
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
34
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
35
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
36
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
37
+
38
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
39
+
40
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
41
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
+
43
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
44
+ <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
45
+
46
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
47
+
48
+ <!-- modelling ui -->
49
+ <script type="text/javascript" src="js/wfadaptor.js"></script>
50
+ <link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
51
+
52
+ <!-- custom stuff, play arround -->
53
+ <script type="text/javascript" src="js/ui.js"></script>
54
+ <script type="text/javascript" src="js/instance.js"></script>
55
+ <script type="text/javascript" src="js/details.js"></script>
56
+ <script type="text/javascript" src="js/parameters.js"></script>
57
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
58
+ </head>
59
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
60
+ <div class='hidden' id='relaxngworker'></div>
61
+ <div id="trackfull">
62
+ <div id='graphcolumn'>
63
+ <div id='graphgrid'>
64
+ <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>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </body>
69
+ </html>
@@ -0,0 +1,258 @@
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 http-equiv="Content-Type" content="text/html; charset=utf-8"/>
21
+ <title>CPEE Cockpit</title>
22
+
23
+ <!-- libs, do not modify. When local than load local libs. -->
24
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
25
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
26
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
27
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
28
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
29
+ <script type="text/javascript" src="/js_libs/util.js"></script>
30
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
31
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
32
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
33
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
34
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
35
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
36
+
37
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
38
+
39
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
40
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
41
+
42
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
43
+ <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
44
+
45
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
46
+
47
+ <!-- modelling ui -->
48
+ <script type="text/javascript" src="js/wfadaptor.js"></script>
49
+ <link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
50
+
51
+ <!-- custom stuff, play arround -->
52
+ <script type="text/javascript" src="js/ui.js"></script>
53
+ <script type="text/javascript" src="js/instance.js"></script>
54
+ <script type="text/javascript" src="js/details.js"></script>
55
+ <script type="text/javascript" src="js/parameters.js"></script>
56
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
57
+ <style>
58
+ /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
59
+ /* shit balls, no elegance is left in this world */
60
+ </style>
61
+ </head>
62
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
63
+ <div id='disclaimer' class='hidden'> <!--{{{-->
64
+ <h1>Disclaimer</h1>
65
+
66
+ <p>
67
+ We use reasonable care in creating and presenting the functionality
68
+ found in this demonstrator. It is provided purely for demonstration purposes
69
+ and you should seek further guidance and make independent enquiries
70
+ before relying upon it.
71
+ </p>
72
+
73
+ <p>
74
+ All functionality included in this demonstrator is subject to change
75
+ without notice. We make no representation or warranty whatsoever
76
+ regarding the completeness, accuracy, adequacy, suitability or
77
+ operation of this demonstrator, or of the results it produces.
78
+ </p>
79
+
80
+ <p>
81
+ We assume no responsibility for process instances created with this
82
+ demonstrator and disclaim all liability arising from negligence or
83
+ otherwise in respect of such process instances. We will not be liable
84
+ for any damages (including, without limitation, damages for any
85
+ consequential loss or loss of business opportunities or projects, or
86
+ loss of profits) howsoever arising from use of or inability to use
87
+ this demonstrator, or from any action or omission taken as a result of
88
+ using this demonstrator.
89
+ </p>
90
+
91
+ <p>
92
+ This demonstrator was created in Austria. All liability is excluded to the extent
93
+ permitted by law including any implied terms. Any interpretation of its
94
+ content, claims or disputes (of whatever nature and not limited to contractual
95
+ issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
96
+ under Austrian law.
97
+ </p>
98
+
99
+
100
+ <p>
101
+ All actions performed while using this demonstrator will be logged, including
102
+ the IP address of the user.
103
+ </p>
104
+
105
+ <p>
106
+ <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>
107
+ </p>
108
+ <p>
109
+ <button id='icontinue' disabled='disabled'>Continue</button>
110
+ </p>
111
+ </div> <!--}}}-->
112
+
113
+ <div class='hidden' id='relaxngworker'></div>
114
+
115
+ <div class='menu' id='templates'></div>
116
+ <div class='menu' id='modeltypes'></div>
117
+
118
+ <ui-tabbed id="instance">
119
+ <ui-tabbar>
120
+ <ui-tab class="switch" ></ui-tab>
121
+ <ui-tab class="" data-tab="new" id="tabnew" >New</ui-tab>
122
+ <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
123
+ <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
124
+ <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>
125
+ </ui-tabbar>
126
+ <ui-content>
127
+ <ui-area data-belongs-to-tab="new" id="areanew"> <!--{{{-->
128
+ <table class='x-ui-layout'>
129
+ <tr>
130
+ <td>Resources:</td>
131
+ <td><input name="res-url" type="text" value=""/></td>
132
+ <td></td>
133
+ </tr>
134
+ <tr>
135
+ <td>Engine:</td>
136
+ <td><input name="base-url" type="text" value=""/></td>
137
+ <td><button name="base">create new instance</button></td>
138
+ </tr>
139
+ <tr>
140
+ <td>Instance:</td>
141
+ <td><input name="instance-url" type="text" value=""/></td>
142
+ <td><button name="instance">monitor instance</button></td>
143
+ </tr>
144
+ </table>
145
+ </ui-area> <!--}}}-->
146
+ <ui-area data-belongs-to-tab="instance" id="areainstance" class="inactive"> <!--{{{-->
147
+ <div class='section'>
148
+ <div>
149
+ <form id='fuckchrome'>
150
+ <input type='file' name='testsetfile' id='testsetfile'/>
151
+ </form>
152
+ <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>
153
+ </div>
154
+ <div>
155
+ <input type='file' name='modelfile' id='modelfile'/>
156
+ <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>
157
+ </div>
158
+ </div><div class='section'>
159
+ <a id="savetestsetfile" href="" download=""></a>
160
+ <a id="savesvgfile" href="" download=""></a>
161
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save testset</button>
162
+ <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg graph</button>
163
+ </div><div class='section'>
164
+ <div>
165
+ Current model: <span id='currentmodel'></span>
166
+ </div>
167
+ <div>
168
+ <button title='a testset includes various settings, subscriptions and a model' name="loadmodeltype">set model type</button>
169
+ </div>
170
+ </div>
171
+ </ui-area> <!--}}}-->
172
+ <ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
173
+ <table class='x-ui-compact'>
174
+ <tbody class='debug'>
175
+ <tr>
176
+ <td>Debugging:</td>
177
+ <td><input type="checkbox" name="votecontinue"/></td>
178
+ </tr>
179
+ </tbody>
180
+ <tbody class='exe'>
181
+ <tr>
182
+ <td>State:</td>
183
+ <td id='state'>
184
+ <span id="state_text"></span>
185
+ <span id="state_any" style='display:none'>
186
+ <span> ⇒ </span>
187
+ <button name="state_start" title='start' style='display:none'>Start</button>
188
+ <button name="state_stop" title='stop' style='display:none'>Stop</button>
189
+ <span id="state_extended" style='display:none'>
190
+ <span> / </span>
191
+ <button name="state_replay" title='replay' style='display:none'>Replay</button>
192
+ <span> / </span>
193
+ <button name="state_abandon" title='abandon' style='display:none'>Abandon</button>
194
+ </span>
195
+ </span>
196
+ </td>
197
+ </tr>
198
+ <tr>
199
+ <td>Continue:</td>
200
+ <td id='votes'></td>
201
+ </tr>
202
+ </tbody>
203
+ </table>
204
+ </ui-area> <!--}}}-->
205
+ </ui-content>
206
+ </ui-tabbed>
207
+
208
+ <ui-tabbed class="hidden" id='parameters'>
209
+ <ui-tabbar>
210
+ <ui-tab class="switch" ></ui-tab>
211
+ <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
212
+ <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
213
+ <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
214
+ <ui-behind ><button title='add entry'>New</button></ui-behind>
215
+ </ui-tabbar>
216
+ <ui-content>
217
+ <ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
218
+ <div id="dat_dataelements"></div>
219
+ </ui-area> <!--}}}-->
220
+ <ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
221
+ <table id="dat_endpoints"></table>
222
+ </ui-area> <!--}}}-->
223
+ <ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
224
+ <table id="dat_attributes"></table>
225
+ </ui-area> <!--}}}-->
226
+ </ui-content>
227
+ </ui-tabbed>
228
+
229
+ <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
230
+
231
+ <ui-rest id="main" class="hidden">
232
+ <ui-tabbar>
233
+ <ui-before ></ui-before>
234
+ <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
235
+ <ui-tab class="inactive" data-tab="dsl" id="tabdsl" >Description</ui-tab>
236
+ <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
237
+ <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>
238
+ </ui-tabbar>
239
+ <ui-content>
240
+ <ui-area data-belongs-to-tab="details" id='graphcolumn'>
241
+ <div id='graphgrid'>
242
+ <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>
243
+ </div>
244
+ </ui-area>
245
+ <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
246
+ <ui-area data-belongs-to-tab="details" id="detailcolumn">
247
+ <div id="dat_details" class='x-ui-layout'></div>
248
+ </ui-area>
249
+ <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
250
+ <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
251
+ <div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a></div>
252
+ <table id="dat_log" class="x-ui-layout"></table>
253
+ </ui-area> <!--}}}-->
254
+ </ui-content>
255
+ </ui-rest>
256
+
257
+ </body>
258
+ </html>