cpee 2.0.22 → 2.0.27

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 (117) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/CPEE.xml +8 -0
  3. data/cockpit/Signavio.xml +8 -0
  4. data/cockpit/css/model.css +2 -0
  5. data/cockpit/css/replay.css +55 -0
  6. data/cockpit/css/ui.css +30 -5
  7. data/cockpit/edit.html +260 -0
  8. data/cockpit/graph.html +3 -3
  9. data/cockpit/index.html +11 -8
  10. data/cockpit/js/details.js +0 -1
  11. data/cockpit/js/edit.js +32 -0
  12. data/cockpit/js/instance.js +52 -52
  13. data/cockpit/js/model.js +6 -36
  14. data/cockpit/js/parameters.js +9 -4
  15. data/cockpit/js/replay.js +40 -0
  16. data/cockpit/js/ui.js +7 -0
  17. data/cockpit/model.html +8 -4
  18. data/cockpit/replay.html +53 -0
  19. data/cockpit/templates/Coopis 2010.xml +1 -1
  20. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +1 -1
  21. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +1 -1
  22. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +1 -1
  23. data/cockpit/templates/Track Test Local.xml +6 -2
  24. data/cockpit/templates/Track Test.xml +5 -1
  25. data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +5 -1
  26. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +8 -4
  27. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +8 -4
  28. data/cockpit/templates/UR-VUE 2020 Solution View.xml +8 -4
  29. data/cockpit/templates/UR-VUE 2020.xml +8 -4
  30. data/cockpit/templates/instantiate.local/Take_Sub.xml +1 -1
  31. data/cockpit/themes/compact/rngs/call.rng +93 -41
  32. data/cockpit/themes/compact/rngs/callmanipulate.rng +113 -40
  33. data/cockpit/themes/compact/theme.js +57 -25
  34. data/cockpit/themes/{diana → control}/rngs/alternative.rng +0 -0
  35. data/cockpit/themes/control/rngs/call.rng +174 -0
  36. data/cockpit/themes/control/rngs/callmanipulate.rng +218 -0
  37. data/cockpit/themes/{diana → control}/rngs/choose.rng +0 -0
  38. data/cockpit/themes/{diana → control}/rngs/closed_loop.rng +0 -0
  39. data/cockpit/themes/{diana → control}/rngs/closed_loop_cancel.rng +0 -0
  40. data/cockpit/themes/{diana → control}/rngs/closed_loop_control.rng +0 -0
  41. data/cockpit/themes/{diana → control}/rngs/closed_loop_measuring.rng +0 -0
  42. data/cockpit/themes/{diana → control}/rngs/critical.rng +0 -0
  43. data/cockpit/themes/{diana → control}/rngs/escape.rng +0 -0
  44. data/cockpit/themes/{diana → control}/rngs/group.rng +0 -0
  45. data/cockpit/themes/{diana → control}/rngs/loop.rng +0 -0
  46. data/cockpit/themes/{diana → control}/rngs/manipulate.rng +0 -0
  47. data/cockpit/themes/{diana → control}/rngs/otherwise.rng +0 -0
  48. data/cockpit/themes/{diana → control}/rngs/parallel.rng +0 -0
  49. data/cockpit/themes/{diana → control}/rngs/parallel_branch.rng +0 -0
  50. data/cockpit/themes/{diana → control}/rngs/scripts.rng +0 -0
  51. data/cockpit/themes/{diana → control}/rngs/stop.rng +0 -0
  52. data/cockpit/themes/{diana → control}/rngs/terminate.rng +0 -0
  53. data/cockpit/themes/{diana → control}/symbols/alternative.svg +0 -0
  54. data/cockpit/themes/{diana → control}/symbols/arrow.svg +0 -0
  55. data/cockpit/themes/{diana → control}/symbols/call.svg +0 -0
  56. data/cockpit/themes/{diana → control}/symbols/callmanipulate.svg +0 -0
  57. data/cockpit/themes/{diana → control}/symbols/choose.svg +0 -0
  58. data/cockpit/themes/{diana → control}/symbols/choose_exclusive.svg +0 -0
  59. data/cockpit/themes/{diana → control}/symbols/choose_inclusive.svg +0 -0
  60. data/cockpit/themes/{diana → control}/symbols/closed_loop.svg +0 -0
  61. data/cockpit/themes/{diana → control}/symbols/closed_loop_cancel.svg +0 -0
  62. data/cockpit/themes/{diana → control}/symbols/closed_loop_control.svg +0 -0
  63. data/cockpit/themes/{diana → control}/symbols/closed_loop_measuring.svg +0 -0
  64. data/cockpit/themes/{diana → control}/symbols/complex.svg +0 -0
  65. data/cockpit/themes/{diana → control}/symbols/critical.svg +0 -0
  66. data/cockpit/themes/{diana → control}/symbols/end.svg +0 -0
  67. data/cockpit/themes/{diana → control}/symbols/escape.svg +0 -0
  68. data/cockpit/themes/{diana → control}/symbols/event_end.svg +0 -0
  69. data/cockpit/themes/{diana → control}/symbols/loop.svg +0 -0
  70. data/cockpit/themes/{diana → control}/symbols/manipulate.svg +0 -0
  71. data/cockpit/themes/{diana → control}/symbols/otherwise.svg +0 -0
  72. data/cockpit/themes/{diana → control}/symbols/parallel.svg +0 -0
  73. data/cockpit/themes/{diana → control}/symbols/parallel_branch.svg +0 -0
  74. data/cockpit/themes/{diana → control}/symbols/parallel_branch_compact.svg +0 -0
  75. data/cockpit/themes/{diana → control}/symbols/parallel_branch_event.svg +0 -0
  76. data/cockpit/themes/{diana → control}/symbols/parallel_branch_normal.svg +0 -0
  77. data/cockpit/themes/{diana → control}/symbols/scripts.svg +0 -0
  78. data/cockpit/themes/{diana → control}/symbols/start.svg +0 -0
  79. data/cockpit/themes/{diana → control}/symbols/stop.svg +0 -0
  80. data/cockpit/themes/{diana → control}/symbols/terminate.svg +0 -0
  81. data/cockpit/themes/{diana → control}/theme.js +74 -28
  82. data/cockpit/themes/default/rngs/call.rng +93 -41
  83. data/cockpit/themes/default/rngs/callmanipulate.rng +113 -40
  84. data/cockpit/themes/default/theme.js +1318 -0
  85. data/cockpit/themes/extended/rngs/call.rng +93 -41
  86. data/cockpit/themes/extended/rngs/callmanipulate.rng +113 -40
  87. data/cockpit/themes/extended/theme.js +50 -19
  88. data/cockpit/themes/model/rngs/call.rng +21 -20
  89. data/cockpit/themes/model/rngs/callmanipulate.rng +23 -22
  90. data/cockpit/themes/model/theme.js +51 -20
  91. data/cockpit/themes/packed/rngs/call.rng +93 -41
  92. data/cockpit/themes/packed/rngs/callmanipulate.rng +113 -40
  93. data/cockpit/themes/packed/theme.js +50 -19
  94. data/cockpit/themes/preset/rngs/call.rng +93 -41
  95. data/cockpit/themes/preset/rngs/callmanipulate.rng +113 -40
  96. data/cockpit/themes/preset/theme.js +49 -18
  97. data/cockpit/track.html +3 -10
  98. data/cockpit/transformations.xml +4 -0
  99. data/cpee.gemspec +3 -3
  100. data/lib/callbacks.xml +5 -0
  101. data/lib/cpee/controller.rb +30 -28
  102. data/lib/cpee/implementation_callbacks.rb +60 -0
  103. data/lib/cpee/implementation_notifications.rb +6 -2
  104. data/server/handlerwrappers/default.rb +17 -5
  105. data/server/resources/notifications/logging/subscription.xml +6 -0
  106. data/server/resources/transformation_dslx.xsl +1 -1
  107. data/server/routing/end.pid +1 -0
  108. data/server/routing/end.rb +1 -0
  109. data/server/routing/forward-events.pid +1 -0
  110. data/server/routing/forward-votes.pid +1 -0
  111. data/server/routing/forward-votes.rb +6 -5
  112. data/server/routing/persist.pid +1 -0
  113. data/server/routing/persist.rb +4 -4
  114. data/server/server.pid +1 -0
  115. metadata +66 -52
  116. data/cockpit/themes/diana/rngs/call.rng +0 -122
  117. data/cockpit/themes/diana/rngs/callmanipulate.rng +0 -145
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 001f8172eabd2426b900761279863e156c083d58623a0733dcdd001c3b3b144d
4
- data.tar.gz: 98d86f914a8e00e7f4aa8b5445840c9907baf39bace7f37ff68632b4e495eff8
3
+ metadata.gz: 44ef719fa35fa14f6f1c3f9cdb6c8b0d0b6b08a9e563775ea90ab82505806525
4
+ data.tar.gz: c09f5f5664fc8fd142ad18f28ed568365d5ca32038e71ce1d24359a84490110b
5
5
  SHA512:
6
- metadata.gz: 9f6fef9322177e35e2bea86b1a0ab094cd974208c39aeaece16ecf8ee824397b26452ff83e53def9c590429246d4226c523605477b3cfef9a723ecb13849f390
7
- data.tar.gz: 4f0ccb6e4905098702d38a64572dbaf0c28ce35fcfa3ab3305d785a27c7337231ab2b48208572e20e7b1e72716848b48d1eeec4c4afb19236e4ccce09c06afac
6
+ metadata.gz: f1cd047646eab030a19024e713b493c56e59beb77fdc9f157398697e9614d16d6f72db5daf161e4607776812fc17f3bd54517d3241ab1a98c891473734661985
7
+ data.tar.gz: '08ba18a7c1bfb8bd227da6e6cc671c69773d62c479c1b8a8a5a26326ae931f8d780074c8c3a61d006cc28169d326b5c190db0c3a7aff282d274ac62b7b739f36'
data/cockpit/CPEE.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0"?>
2
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
3
+ <transformation>
4
+ <description type='copy'/>
5
+ <dataelements type='none'/>
6
+ <endpoints type='none'/>
7
+ </transformation>
8
+ </testset>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0"?>
2
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
3
+ <transformation>
4
+ <description type='rest'>http://localhost:9295/bpmn2/</description>
5
+ <dataelements type='rest'>http://localhost:9295/bpmn2/</dataelements>
6
+ <endpoints type='rest'>http://localhost:9295/bpmn2/</endpoints>
7
+ </transformation>
8
+ </testset>
@@ -22,3 +22,5 @@
22
22
 
23
23
  #areamodel div.section:nth-child(4) div { white-space: normal; vertical-align: middle; margin: 0; padding: 0; }
24
24
  #areamodel div.section:nth-child(4) button[name=loadmodeltype] { white-space: normal; width: 10em; height: 2em; }
25
+
26
+ #model ui-content { height: 5em; }
@@ -0,0 +1,55 @@
1
+ body {
2
+ -webkit-user-select: none;
3
+ -moz-user-select: -moz-none;
4
+ -ms-user-select: none;
5
+ user-select: none;
6
+ font-family: sans-serif;
7
+ font-size: 1em;
8
+ padding: 0;
9
+ margin: 0;
10
+ }
11
+
12
+ #replayer {
13
+ display: flex;
14
+ flex-direction: column;
15
+ flex-wrap: nowrap;
16
+ align-items: stretch;
17
+ height: 100vh;
18
+ }
19
+
20
+ #replay {
21
+ width: 100%;
22
+ display: flex;
23
+ flex-direction: row;
24
+ flex-wrap: nowrap;
25
+ align-items: stretch;
26
+ padding: 1em 0;
27
+ flex: 0 0 auto;
28
+ }
29
+
30
+ #replay span {
31
+ flex: 0 0 auto;
32
+ margin-left: 1em;
33
+ align-self: center;
34
+ }
35
+ #replay input {
36
+ margin: 0em 1em;
37
+ flex: 1 1 auto;
38
+ }
39
+ #replay button {
40
+ margin-right: 1em;
41
+ flex: 0 0 auto;
42
+ }
43
+
44
+ #content {
45
+ width: 100%;
46
+ align-self: center;
47
+ flex: 1 1 auto;
48
+ }
49
+
50
+ iframe {
51
+ border: 0 none;
52
+ padding: 0;
53
+ margin: 0;
54
+ overflow: scroll;
55
+ }
data/cockpit/css/ui.css CHANGED
@@ -74,6 +74,7 @@ body {
74
74
 
75
75
  #instance ui-content { height: 7em; }
76
76
 
77
+ #areanew td:nth-child(2) { padding-top: 0.4em; padding-bottom: 0.4em; }
77
78
  #areanew td:nth-child(1) { width: 7em; padding-right: 1em; }
78
79
  #areanew td:nth-child(3) { width: 16em; padding-left: 1em; }
79
80
  #areanew input {
@@ -106,13 +107,26 @@ ui-tabbed ui-tabbar ui-behind button {
106
107
  content: "|";
107
108
  }
108
109
 
109
- #parameters ui-content { height: 8.5em; min-height: 1.7em; }
110
+ #parameters ui-content { height: 8.5em; min-height: 2.7em; }
110
111
 
111
- #areadataelements { height: 100%; overflow-x: hidden; overflow-y: scroll; }
112
+ #areadataelements, #areaendpoints, #areaattributes {
113
+ display: flex;
114
+ flex-direction: row;
115
+ align-items: flex-start;
116
+ height: 100%;
117
+ }
118
+ #areadataelements > button, #areaendpoints > button, #areaattributes > button {
119
+ height: 100%;
120
+ padding: 0;
121
+ margin-right: 0.5em;
122
+ }
123
+ #areadataelements > button span, #areaendpoints > button span, #areaattributes > button span {
124
+ display: inline-block;
125
+ transform: rotate(-90deg);
126
+ }
127
+ #areadataelements.inactive, #areaendpoints.inactive, #areaattributes.inactive { display: none; }
112
128
  #areadataelements button.relaxngui_control { display: none; }
113
- #areaendpoints { height: 100%; overflow-x: hidden; overflow-y: scroll; }
114
129
  #areaendpoints button.relaxngui_control { display: none; }
115
- #areaattributes { height: 100%; overflow-x: hidden; overflow-y: scroll; }
116
130
  #areaattributes button.relaxngui_control { display: none; }
117
131
 
118
132
  #areainstance input[type=file] { display: none; }
@@ -121,10 +135,12 @@ ui-tabbed ui-tabbar ui-behind button {
121
135
  #areainstance div.section:nth-child(2) { border-left: 1px solid var(--x-ui-border-color); padding: 0 0.5em; white-space: nowrap; }
122
136
  #areainstance div.section:nth-child(3) { border-left: 1px solid var(--x-ui-border-color); padding: 0 0 0 0.5em; white-space: nowrap; }
123
137
 
138
+ #areainstance div.section:nth-child(1) > div:nth-child(2) { white-space: normal; text-align: right; }
139
+
124
140
  #areainstance div.section:nth-child(1) div { white-space: normal; vertical-align: middle; margin: 0; padding: 0; }
125
141
  #areainstance div.section:nth-child(1) button { white-space: normal; vertical-align: middle; margin: 0; padding: 0; }
126
- #areainstance div.section:nth-child(1) div:nth-child(2) { white-space: normal; text-align: right; }
127
142
  #areainstance div.section:nth-child(1) button[name=loadtestset] { white-space: normal; width: 10em; height: 3.5em; }
143
+ #areainstance div.section:nth-child(1) button[name=save] { white-space: normal; width: 10em; height: 3.5em; margin-left: 0.2em; }
128
144
  #areainstance div.section:nth-child(1) button[name=loadtestsetfile] { white-space: normal; width: 10em; height: 3.5em; margin-left: 0.2em; }
129
145
  #areainstance div.section:nth-child(1) button[name=loadmodelfile] { white-space: normal; width: 10em; height: 2em; margin-top: 0.2em; }
130
146
 
@@ -152,6 +168,9 @@ ui-tabbed ui-tabbar ui-behind button {
152
168
  margin:0;
153
169
  padding:0;
154
170
  width: 100%;
171
+ height: 100%;
172
+ overflow-x: hidden;
173
+ overflow-y: scroll;
155
174
  }
156
175
 
157
176
  #dat_dataelements {
@@ -161,6 +180,9 @@ ui-tabbed ui-tabbar ui-behind button {
161
180
  margin:0;
162
181
  padding:0;
163
182
  width: 100%;
183
+ height: 100%;
184
+ overflow-x: hidden;
185
+ overflow-y: scroll;
164
186
  }
165
187
  #dat_attributes {
166
188
  border-collapse:collapse;
@@ -169,6 +191,9 @@ ui-tabbed ui-tabbar ui-behind button {
169
191
  margin:0;
170
192
  padding:0;
171
193
  width: 100%;
194
+ height: 100%;
195
+ overflow-x: hidden;
196
+ overflow-y: scroll;
172
197
  }
173
198
 
174
199
  #areadsl div { padding: 0 1em; }
data/cockpit/edit.html ADDED
@@ -0,0 +1,260 @@
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/uidash.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/uidash.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
+ <script type="text/javascript" src="js/edit.js"></script>
57
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
58
+ <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
59
+ <style>
60
+ /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
61
+ /* shit balls, no elegance is left in this world */
62
+ </style>
63
+ </head>
64
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
65
+ <div id='disclaimer' class='hidden'> <!--{{{-->
66
+ <h1>Disclaimer</h1>
67
+
68
+ <p>
69
+ We use reasonable care in creating and presenting the functionality
70
+ found in this demonstrator. It is provided purely for demonstration purposes
71
+ and you should seek further guidance and make independent enquiries
72
+ before relying upon it.
73
+ </p>
74
+
75
+ <p>
76
+ All functionality included in this demonstrator is subject to change
77
+ without notice. We make no representation or warranty whatsoever
78
+ regarding the completeness, accuracy, adequacy, suitability or
79
+ operation of this demonstrator, or of the results it produces.
80
+ </p>
81
+
82
+ <p>
83
+ We assume no responsibility for process instances created with this
84
+ demonstrator and disclaim all liability arising from negligence or
85
+ otherwise in respect of such process instances. We will not be liable
86
+ for any damages (including, without limitation, damages for any
87
+ consequential loss or loss of business opportunities or projects, or
88
+ loss of profits) howsoever arising from use of or inability to use
89
+ this demonstrator, or from any action or omission taken as a result of
90
+ using this demonstrator.
91
+ </p>
92
+
93
+ <p>
94
+ This demonstrator was created in Austria. All liability is excluded to the extent
95
+ permitted by law including any implied terms. Any interpretation of its
96
+ content, claims or disputes (of whatever nature and not limited to contractual
97
+ issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
98
+ under Austrian law.
99
+ </p>
100
+
101
+
102
+ <p>
103
+ All actions performed while using this demonstrator will be logged, including
104
+ the IP address of the user.
105
+ </p>
106
+
107
+ <p>
108
+ <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>
109
+ </p>
110
+ <p>
111
+ <button id='icontinue' disabled='disabled'>Continue</button>
112
+ </p>
113
+ </div> <!--}}}-->
114
+
115
+ <div class='hidden' id='relaxngworker'></div>
116
+
117
+ <div class='menu' id='templates'></div>
118
+ <div class='menu' id='modeltypes'></div>
119
+
120
+ <ui-tabbed id="instance">
121
+ <ui-tabbar>
122
+ <ui-tab class="switch" ></ui-tab>
123
+ <ui-tab class="" data-tab="new" id="tabnew" >Config</ui-tab>
124
+ <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
125
+ <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
126
+ <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>
127
+ <ui-last ><a class="logo" href=".."></a></ui-last>
128
+ </ui-tabbar>
129
+ <ui-content>
130
+ <ui-area data-belongs-to-tab="new" id="areanew"> <!--{{{-->
131
+ <table class='x-ui-layout'>
132
+ <tr>
133
+ <td>Resources:</td>
134
+ <td><input name="res-url" type="text" value=""/></td>
135
+ </tr>
136
+ <tr>
137
+ <td>Engine:</td>
138
+ <td><input name="base-url" type="text" value=""/></td>
139
+ </tr>
140
+ <tr>
141
+ <td>Instance:</td>
142
+ <td><input name="instance-url" type="text" value=""/></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='save a testset includes various settings, subscriptions and a model' name="save" disabled=""><div>save</div><div class="hidden" id='lastsavedline'>(last: <span id="lastsaved"></span>)</div></button>
153
+ <button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
154
+ </div>
155
+ <div>
156
+ <input type='file' name='modelfile' id='modelfile'/>
157
+ <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>
158
+ </div>
159
+ </div><div class='section'>
160
+ <a id="savetestsetfile" href="" download=""></a>
161
+ <a id="savesvgfile" href="" download=""></a>
162
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save testset</button>
163
+ <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg graph</button>
164
+ </div><div class='section'>
165
+ <div>
166
+ Current model: <span id='currentmodel'></span>
167
+ </div>
168
+ <div>
169
+ <button title='a testset includes various settings, subscriptions and a model' name="loadmodeltype">set model type</button>
170
+ </div>
171
+ </div>
172
+ </ui-area> <!--}}}-->
173
+ <ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
174
+ <table class='x-ui-compact'>
175
+ <tbody class='debug'>
176
+ <tr>
177
+ <td>Debugging:</td>
178
+ <td><input type="checkbox" name="votecontinue"/></td>
179
+ </tr>
180
+ </tbody>
181
+ <tbody class='exe'>
182
+ <tr>
183
+ <td>State:</td>
184
+ <td id='state'>
185
+ <span id="state_text"></span>
186
+ <span id="state_any" style='display:none'>
187
+ <span> ⇒ </span>
188
+ <button name="state_start" title='start' style='display:none'>Start</button>
189
+ <button name="state_stop" title='stop' style='display:none'>Stop</button>
190
+ <span id="state_extended" style='display:none'>
191
+ <span> / </span>
192
+ <button name="state_abandon" title='abandon' style='display:none'>Abandon</button>
193
+ </span>
194
+ </span>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td>Continue:</td>
199
+ <td id='votes'></td>
200
+ </tr>
201
+ </tbody>
202
+ </table>
203
+ </ui-area> <!--}}}-->
204
+ </ui-content>
205
+ </ui-tabbed>
206
+
207
+ <ui-tabbed class="hidden" id='parameters'>
208
+ <ui-tabbar>
209
+ <ui-tab class="switch" ></ui-tab>
210
+ <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
211
+ <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
212
+ <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
213
+ <ui-behind ></ui-behind>
214
+ </ui-tabbar>
215
+ <ui-content>
216
+ <ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
217
+ <button title='add entry'><span>New</span></button>
218
+ <div id="dat_dataelements"></div>
219
+ </ui-area> <!--}}}-->
220
+ <ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
221
+ <button title='add entry'><span>New</span></button>
222
+ <div id="dat_endpoints"></div>
223
+ </ui-area> <!--}}}-->
224
+ <ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
225
+ <button title='add entry'><span>New</span></button>
226
+ <div id="dat_attributes"></div>
227
+ </ui-area> <!--}}}-->
228
+ </ui-content>
229
+ </ui-tabbed>
230
+
231
+ <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
232
+
233
+ <ui-rest id="main" class="hidden">
234
+ <ui-tabbar>
235
+ <ui-before ></ui-before>
236
+ <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
237
+ <ui-tab class="inactive" data-tab="dsl" id="tabdsl" >Description</ui-tab>
238
+ <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
239
+ <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>
240
+ </ui-tabbar>
241
+ <ui-content>
242
+ <ui-area data-belongs-to-tab="details" id='graphcolumn'>
243
+ <div id='graphgrid'>
244
+ <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>
245
+ </div>
246
+ </ui-area>
247
+ <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
248
+ <ui-area data-belongs-to-tab="details" id="detailcolumn">
249
+ <div id="dat_details" class='x-ui-layout'></div>
250
+ </ui-area>
251
+ <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
252
+ <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
253
+ <div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a></div>
254
+ <table id="dat_log" class="x-ui-layout"></table>
255
+ </ui-area> <!--}}}-->
256
+ </ui-content>
257
+ </ui-rest>
258
+
259
+ </body>
260
+ </html>
data/cockpit/graph.html CHANGED
@@ -37,11 +37,11 @@
37
37
 
38
38
  <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
39
39
 
40
- <script type="text/javascript" src="/js_libs/ui.js"></script>
40
+ <script type="text/javascript" src="/js_libs/uidash.js"></script>
41
41
  <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
42
 
43
43
  <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
44
- <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
44
+ <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
45
45
 
46
46
  <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
47
47
 
@@ -56,7 +56,7 @@
56
56
  <script type="text/javascript" src="js/parameters.js"></script>
57
57
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
58
58
  </head>
59
- <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
59
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
60
60
  <div class='hidden' id='relaxngworker'></div>
61
61
  <div id="trackfull">
62
62
  <div id='graphcolumn'>