cpee 2.1.131 → 2.1.133

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 (50) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/compliance-view.html +313 -0
  3. data/cockpit/compliance.html +1 -1
  4. data/cockpit/config.json.example +7 -6
  5. data/cockpit/css/llm.css +9 -1
  6. data/cockpit/css/llmmodel.css +3 -0
  7. data/cockpit/css/ui.css +9 -31
  8. data/cockpit/edit.html +1 -1
  9. data/cockpit/graph.html +1 -1
  10. data/cockpit/index.html +6 -1
  11. data/cockpit/js/compliance.js +148 -36
  12. data/cockpit/js/instance.js +15 -5
  13. data/cockpit/js/parameters.js +41 -9
  14. data/cockpit/js/ui.js +10 -40
  15. data/cockpit/llm.html +4 -4
  16. data/cockpit/llmmodel.html +15 -8
  17. data/cockpit/model.html +1 -1
  18. data/cockpit/only_llm.html +5 -5
  19. data/cockpit/rngs/attributes.rng +2 -2
  20. data/cockpit/rngs/dataelements.rng +2 -2
  21. data/cockpit/rngs/documents.rng +8 -0
  22. data/cockpit/rngs/endpoints.rng +2 -2
  23. data/cockpit/rngs/requirements.rng +2 -2
  24. data/cockpit/track.html +1 -1
  25. data/cpee.gemspec +2 -2
  26. data/lib/cpee/implementation.rb +3 -1
  27. data/lib/cpee/implementation_properties.rb +6 -5
  28. data/lib/cpee/persistence.rb +6 -7
  29. data/lib/properties/documents.rng +10 -0
  30. data/lib/properties/properties.rng +2 -0
  31. data/lib/properties/set-properties.rng +2 -0
  32. data/lib/properties/set-some-properties.rng +4 -0
  33. data/lib/properties/set-testset.rng +3 -0
  34. data/lib/properties/t_documents.rng +7 -0
  35. data/lib/properties.xml +22 -0
  36. data/server/executionhandlers/eval/connection.rb +1 -0
  37. data/server/executionhandlers/eval/execution.rb +2 -0
  38. data/server/executionhandlers/ruby/connection.rb +2 -1
  39. data/server/executionhandlers/ruby/controller.rb +4 -8
  40. data/server/executionhandlers/ruby/execution.rb +2 -0
  41. data/server/resources/properties.empty +1 -0
  42. data/server/resources/properties.init +1 -0
  43. data/server/routing/end.pid +1 -1
  44. data/server/routing/forward-events-00.pid +1 -1
  45. data/server/routing/forward-votes.pid +1 -1
  46. data/server/routing/persist.pid +1 -1
  47. data/server/routing/persist.rb +2 -1
  48. data/tools/cpee +1 -1
  49. metadata +8 -4
  50. data/lib/cpee/attributes_helper.rb +0 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a377b7051456da1ec99b3c5f17ac2f9959faf62fecf02cbd627f2affad39aed
4
- data.tar.gz: fd5483bfc9b19d220d2e4e132410faf7bd136cf0dff6b33ad6f095a0bbef115d
3
+ metadata.gz: e9ebe68e88fb5f65a00b003e0b14d1357181ee0540943aca72d585378e8d2874
4
+ data.tar.gz: 4d029dc2b9db3f6e4022d682f0b1ea114f10cb931ec2e06a3e324d9c3c683ac4
5
5
  SHA512:
6
- metadata.gz: 955fbf811e2084d48fe4240188984ae53d729f9b380837f0b8248481f7a2f8abe2c9e8a8d6899630014e5eb543797753174503e33098c12fecab778190aedf19
7
- data.tar.gz: 5c7744bb501db44e83894b51f93826a7abe678996ee984c3a6eb4754fced3e24996b172998d60e3e300d2b6b84a6a44cdb703536b48e709f4b727547048b01be
6
+ metadata.gz: 1b49f1ec4aef48a6e327ef64af228195f03fb49ea85a6d2b4de4df86d270734883a5a07a48e0ebf9f9728fcf0424475d7fe06ca52f2656c269b37dfe8e2acee0
7
+ data.tar.gz: 12d5bfb6b02b400df657efd9c29322b6c3ddc5f4d6f75c577e1b76ebb6ea379991c29b50d39e0cd49a0c9ecc3e4a250941a946f13ae1b69c45060ab9bb37f0ff
@@ -0,0 +1,313 @@
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="/js_libs/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/edit.js"></script>
62
+ <script type="text/javascript" src="js/modifiers.js"></script>
63
+ <script type="text/javascript" src="themes/base.js"></script>
64
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
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"/>
67
+ <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
68
+ <style></style>
69
+
70
+ <script type="text/javascript" src="js/compliance.js"></script>
71
+ <link rel="stylesheet" href="css/compliance.css" type="text/css"/>
72
+ </head>
73
+ <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" data-singlerule-endpoint="https://power.bpm.cit.tum.de/compextract/singlerule" is="x-ui-">
74
+ <div id='disclaimer' class='hidden'> <!--{{{-->
75
+ <h1>Disclaimer</h1>
76
+
77
+ <p>
78
+ We use reasonable care in creating and presenting the functionality
79
+ found in this demonstrator. It is provided purely for demonstration purposes
80
+ and you should seek further guidance and make independent enquiries
81
+ before relying upon it.
82
+ </p>
83
+
84
+ <p>
85
+ All functionality included in this demonstrator is subject to change
86
+ without notice. We make no representation or warranty whatsoever
87
+ regarding the completeness, accuracy, adequacy, suitability or
88
+ operation of this demonstrator, or of the results it produces.
89
+ </p>
90
+
91
+ <p>
92
+ We assume no responsibility for process instances created with this
93
+ demonstrator and disclaim all liability arising from negligence or
94
+ otherwise in respect of such process instances. We will not be liable
95
+ for any damages (including, without limitation, damages for any
96
+ consequential loss or loss of business opportunities or projects, or
97
+ loss of profits) howsoever arising from use of or inability to use
98
+ this demonstrator, or from any action or omission taken as a result of
99
+ using this demonstrator.
100
+ </p>
101
+
102
+ <p>
103
+ This demonstrator is hosted in Austria. All liability is excluded to the extent
104
+ permitted by law including any implied terms. Any interpretation of its
105
+ content, claims or disputes (of whatever nature and not limited to contractual
106
+ issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
107
+ under Austrian law.
108
+ </p>
109
+
110
+ <p>
111
+ All actions performed while using this demonstrator will be logged, including
112
+ the IP address of the user.
113
+ </p>
114
+
115
+ <p>
116
+ <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>
117
+ </p>
118
+ <p>
119
+ <button id='icontinue' disabled='disabled'>Continue</button>
120
+ </p>
121
+ </div> <!--}}}-->
122
+
123
+ <div class='hidden' id='relaxngworker'></div>
124
+
125
+ <div id="areanew" class="hidden">
126
+ <table class='x-ui-layout'>
127
+ <tr>
128
+ <td>Resources:</td>
129
+ <td><input name="res-url" type="text" value=""/></td>
130
+ </tr>
131
+ <tr>
132
+ <td>Engine:</td>
133
+ <td><input name="base-url" type="text" value=""/></td>
134
+ </tr>
135
+ <tr>
136
+ <td>Instance:</td>
137
+ <td><input name="instance-url" type="text" value=""/></td>
138
+ </tr>
139
+ </table>
140
+ </div> <!--}}}-->
141
+
142
+ <div class='menu' id='templates'></div>
143
+ <div class='menu' id='modeltypes'></div>
144
+
145
+ <template id="label">
146
+ <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
147
+ <g transform="translate(1 %%1) rotate(-%%2)">
148
+ <rect class="displaylabel" width="200" height="14" x="8" y="0" rx="5" ry="5"/>
149
+ <path class="displaylabel" d="M10,13 0,13 8,8"/>
150
+ <path class="displaylabelinner" d="M10,11.5 8.5,11.5 8.5,9.5 10,9.5"/>
151
+ <text class="label" x="18" y="10">aaaa</text>
152
+ </g>
153
+ </svg>
154
+ </template>
155
+
156
+ <ui-tabbed id="instance">
157
+ <ui-tabbar>
158
+ <ui-tab class="switch" ></ui-tab>
159
+ <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
160
+ <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
161
+ <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>
162
+ <ui-last ><a class="logo" href=".."></a></ui-last>
163
+ </ui-tabbar>
164
+ <ui-content>
165
+ <ui-area data-belongs-to-tab="instance" id="areainstance" class="inactive"> <!--{{{-->
166
+ <div>
167
+ <div class='section'>
168
+ <div>
169
+ <form id='fuckchrome'>
170
+ <input type='file' name='testsetfile' id='testsetfile'/>
171
+ </form>
172
+ <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>
173
+ </div>
174
+ <div>
175
+ <input type='file' name='modelfile' id='modelfile'/>
176
+ <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
+ </div>
178
+ </div><div class='section'>
179
+ <div>
180
+ <a id="savetestsetfile" href="" download=""></a>
181
+ <a id="savesvgfile" href="" download=""></a>
182
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
183
+ <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>
184
+ </div>
185
+ <div>
186
+ <a id="savebpmnfile" href="" download=""></a>
187
+ <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
188
+ </div>
189
+ </div><div class='section' id='modifiers'>
190
+ <template id="item">
191
+ <div>
192
+ <div class='title'><strong></strong></div>
193
+ <div class='select'><select></select></div>
194
+ <div class='additional'></div>
195
+ </div>
196
+ </template>
197
+ </div>
198
+ </div>
199
+ </ui-area> <!--}}}-->
200
+ <ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
201
+ <table class='x-ui-compact'>
202
+ <tbody class='debug'>
203
+ <tr>
204
+ <td>Debugging:</td>
205
+ <td><input type="checkbox" name="votecontinue"/></td>
206
+ </tr>
207
+ </tbody>
208
+ <tbody class='exe'>
209
+ <tr>
210
+ <td>State:</td>
211
+ <td id='state'>
212
+ <span id="state_text"></span>
213
+ <span id="state_any" style='display:none'>
214
+ <span> ⇒ </span>
215
+ <button name="state_start" title='start' style='display:none'>Start</button>
216
+ <button name="state_stop" title='stop' style='display:none'>Stop</button>
217
+ <span id="state_extended" style='display:none'>
218
+ <span> / </span>
219
+ <button name="state_abandon" title='abandon' style='display:none'>Abandon</button>
220
+ </span>
221
+ </span>
222
+ </td>
223
+ </tr>
224
+ <tr>
225
+ <td>Continue:</td>
226
+ <td id='votes'></td>
227
+ </tr>
228
+ </tbody>
229
+ </table>
230
+ </ui-area> <!--}}}-->
231
+ </ui-content>
232
+ </ui-tabbed>
233
+
234
+ <ui-tabbed class="hidden" id='parameters'>
235
+ <ui-tabbar>
236
+ <ui-tab class="switch" ></ui-tab>
237
+ <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Objects</ui-tab>
238
+ <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
239
+ <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
240
+ <ui-tab class="inactive" data-tab="nlrequirements" id="tabnlrequirements">① NL-Requirements</ui-tab>
241
+ <ui-tab class="inactive" data-tab="requirements" id="tabrequirements">② AST-Requirements</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-area data-belongs-to-tab="requirements" id="arearequirements" class="inactive"> <!--{{{-->
258
+ <button title='add entry'><span>New</span></button>
259
+ <div id="dat_requirements"></div>
260
+ </ui-area> <!--}}}-->
261
+ <ui-area data-belongs-to-tab="nlrequirements" id="areanlrequirements" class="inactive"> <!--{{{-->
262
+ <button title='add entry' id="nlreq_add"><span>New</span></button>
263
+ <div id="dat_nlrequirements"></div>
264
+ </ui-area> <!--}}}-->
265
+ </ui-content>
266
+ </ui-tabbed>
267
+
268
+ <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
269
+
270
+ <ui-rest id="main" class="hidden">
271
+ <ui-tabbar>
272
+ <ui-before ></ui-before>
273
+ <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
274
+ <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
275
+ <ui-tab class="inactive" data-tab="comp" id="tabcomp" >③ Compliance</ui-tab>
276
+ <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>
277
+ </ui-tabbar>
278
+ <ui-content>
279
+ <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
280
+ <ui-part id='modelling'>
281
+ <div id='graphgrid'>
282
+ <div class="resource-label" style="display: none"></div>
283
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' class='graphcolumn' width='1' height='1'></svg>
284
+ </div>
285
+ </ui-part>
286
+ </ui-area>
287
+ <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
288
+ <ui-area data-belongs-to-tab="details" id="detailcolumn">
289
+ <ui-part id='details'>
290
+ <div id="dat_details" class='x-ui-layout'></div>
291
+ </ui-part>
292
+ </ui-area>
293
+ <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
294
+ <div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
295
+ <table id="dat_log" class="x-ui-layout"></table>
296
+ </ui-area> <!--}}}-->
297
+ <ui-area data-belongs-to-tab="comp" id="areacomp" class="inactive"> <!--{{{-->
298
+ <div>
299
+ This tab groups all of your <strong>compliance verification and repair</strong> tools. You can perform the following operations:
300
+ <ul>
301
+ <li><strong>Strict Verification</strong> of the graph / your modelling decisions: <button id="verify">Strict Verify</button><span class='yourlog' style="display:none">. Your compliance log: <a style='display:none' target='_blank' id='comp-verify-current-log'></a> <span style="display:none">[</span><a style='display:none' target='_blank' id='comp-verify-all-log'>Full Verification History</a><span style="display:none">]</span></span></li>
302
+ <li><strong>Fuzzy Label Verification</strong> of the graph / your modelling decisions to identify minor label mismatches: <button id="semantic_verify">Fuzzy Verify (Slow)</button></li>
303
+ <li><strong>Violation Identification</strong> for the graph based on the compliance log (see above): <button id="identify-violations">Identify Violations</button></li>
304
+ <li><strong>Identify Repair Actions</strong> for the graph based on the identified violations (see above): <button id="repair-violations">Identify Repair Actions</button></li>
305
+ </ul>
306
+ </div>
307
+ <div id="comp_log" class="x-ui-layout"></div>
308
+ </ui-area> <!--}}}-->
309
+ </ui-content>
310
+ </ui-rest>
311
+
312
+ </body>
313
+ </html>
@@ -70,7 +70,7 @@
70
70
  <script type="text/javascript" src="js/compliance.js"></script>
71
71
  <link rel="stylesheet" href="css/compliance.css" type="text/css"/>
72
72
  </head>
73
- <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" data-singlerule-endpoint="https://power.bpm.cit.tum.de/compextract/singlerule" is="x-ui-">
73
+ <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" data-singlerule-endpoint="https://power.bpm.cit.tum.de/compextract/singlerule" is="x-ui-">
74
74
  <div id='disclaimer' class='hidden'> <!--{{{-->
75
75
  <h1>Disclaimer</h1>
76
76
 
@@ -1,8 +1,9 @@
1
1
  {
2
- "log-url": "https://cpee.org/logs/",
3
- "templates-url": "https://cpee.org/design/server/Templates.dir/?stage=developm
4
- "res-url": "https://cpee.org/flow/resources/",
5
- "base-url": "https://cpee.org/flow/engine/",
6
- "save-url": "https://cpee.org/design/server/",
7
- "llm-url": "https://cpee.org/llm/"
2
+ "logs-url": "https://%host/logs/",
3
+ "templates-url": "https://%host/hub/server/Templates.dir/?stage=development",
4
+ "resources-url": "https://%host/flow/resources/",
5
+ "base-url": "https://%host/flow/engine/",
6
+ "save-url": "https://%host/hub/server/",
7
+ "llm-service-url": "https://%host/llm/",
8
+ "document-store-url": "https://%host/document-store-url/"
8
9
  }
data/cockpit/css/llm.css CHANGED
@@ -68,7 +68,7 @@
68
68
  #prompt {
69
69
  flex: 1 1 auto;
70
70
  height: 100%;
71
- overflow: scroll;
71
+ overflow: auto;
72
72
  outline: none;
73
73
  }
74
74
  #prompt_submit_container {
@@ -106,6 +106,14 @@
106
106
  .llm_button {
107
107
  width: 100%;
108
108
  min-width: 2.5em;
109
+
110
+ display: flex;
111
+ justify-content: center; /* Horizontal zentrieren */
112
+ align-items: center; /* Vertikal zentrieren */
113
+
114
+ /* Wichtig bei Symbolen und Icons */
115
+ line-height: 0.9; /* Verhindert Störungen durch Standard-Zeilenabstände */
116
+
109
117
  height: 2em;
110
118
  }
111
119
  .llm_button.small:nth-child(n+2) {
@@ -0,0 +1,3 @@
1
+ #details {
2
+ height: 50%;
3
+ }
data/cockpit/css/ui.css CHANGED
@@ -70,25 +70,26 @@ ui-tabbed ui-tabbar ui-behind button {
70
70
  }
71
71
  #parameters ui-content { height: 8.5em; min-height: 2.7em; }
72
72
 
73
- #areadataelements, #areaendpoints, #areaattributes {
73
+ #areadataelements, #areaendpoints, #areaattributes, #areadocuments {
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  align-items: flex-start;
77
77
  height: 100%;
78
78
  }
79
- #areadataelements > button, #areaendpoints > button, #areaattributes > button {
79
+ #areadataelements > button, #areaendpoints > button, #areaattributes > button, #areadocuments > button {
80
80
  height: 100%;
81
81
  padding: 0;
82
82
  margin-right: 0.5em;
83
83
  }
84
- #areadataelements > button span, #areaendpoints > button span, #areaattributes > button span {
84
+ #areadataelements > button span, #areaendpoints > button span, #areaattributes > button span, #areadocuments > button span {
85
85
  display: inline-block;
86
86
  transform: rotate(-90deg);
87
87
  }
88
- #areadataelements.inactive, #areaendpoints.inactive, #areaattributes.inactive { display: none; }
88
+ #areadataelements.inactive, #areaendpoints.inactive, #areaattributes.inactive, #areadocuments.inactive { display: none; }
89
89
  #areadataelements button.relaxngui_control { display: none; }
90
90
  #areaendpoints button.relaxngui_control { display: none; }
91
91
  #areaattributes button.relaxngui_control { display: none; }
92
+ #areadocuments button.relaxngui_control { display: none; }
92
93
 
93
94
  #areainstance { height: 100%; }
94
95
  #areainstance > div { display: flex; height: 100%; }
@@ -129,30 +130,7 @@ ui-tabbed ui-tabbar ui-behind button {
129
130
 
130
131
  #arealog > div { padding-left: 1em; padding-top: 1em; }
131
132
 
132
- #dat_endpoints {
133
- border-collapse:collapse;
134
- border-spacing:0;
135
- border:0 none;
136
- margin:0;
137
- padding:0;
138
- width: 100%;
139
- height: 100%;
140
- overflow-x: hidden;
141
- overflow-y: scroll;
142
- }
143
-
144
- #dat_dataelements {
145
- border-collapse:collapse;
146
- border-spacing:0;
147
- border:0 none;
148
- margin:0;
149
- padding:0;
150
- width: 100%;
151
- height: 100%;
152
- overflow-x: hidden;
153
- overflow-y: scroll;
154
- }
155
- #dat_attributes {
133
+ #dat_endpoints, #dat_dataelements, #dat_attributes, #dat_documents {
156
134
  border-collapse:collapse;
157
135
  border-spacing:0;
158
136
  border:0 none;
@@ -186,12 +164,12 @@ span.vote {
186
164
  }
187
165
 
188
166
  #details {
189
- height: 50%;
190
- overflow: scroll;
167
+ height: 100%;
168
+ overflow: auto;
191
169
  }
192
170
  #modelling {
193
171
  height: 100%;
194
- overflow: scroll;
172
+ overflow: auto;
195
173
  }
196
174
  #input {
197
175
  flex: 1 0 auto;
data/cockpit/edit.html CHANGED
@@ -67,7 +67,7 @@
67
67
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
68
68
  <style></style>
69
69
  </head>
70
- <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
70
+ <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
71
71
  <div id='disclaimer' class='hidden'> <!--{{{-->
72
72
  <h1>Disclaimer</h1>
73
73
 
data/cockpit/graph.html CHANGED
@@ -62,7 +62,7 @@
62
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
- <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
65
+ <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
66
66
  <div class='hidden' id='relaxngworker'></div>
67
67
  <template id="label">
68
68
  <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
data/cockpit/index.html CHANGED
@@ -66,7 +66,7 @@
66
66
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
67
67
  <style></style>
68
68
  </head>
69
- <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
69
+ <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes/" is="x-ui-">
70
70
  <div id='disclaimer' class='hidden'> <!--{{{-->
71
71
  <h1>Disclaimer</h1>
72
72
 
@@ -234,6 +234,7 @@
234
234
  <ui-tabbar>
235
235
  <ui-tab class="switch" ></ui-tab>
236
236
  <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Objects</ui-tab>
237
+ <ui-tab class="inactive" data-tab="documents" id="tabdocuments" >Documents</ui-tab>
237
238
  <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
238
239
  <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
239
240
  <ui-behind ></ui-behind>
@@ -243,6 +244,10 @@
243
244
  <button title='add entry'><span>New</span></button>
244
245
  <div id="dat_dataelements"></div>
245
246
  </ui-area> <!--}}}-->
247
+ <ui-area data-belongs-to-tab="documents" id="areadocuments" class="inactive"> <!--{{{-->
248
+ <button title='add entry'><span>New</span></button>
249
+ <div id="dat_documents"></div>
250
+ </ui-area> <!--}}}-->
246
251
  <ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
247
252
  <button title='add entry'><span>New</span></button>
248
253
  <div id="dat_endpoints"></div>