cpee 2.0.25 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/ui.css +27 -4
- data/cockpit/css/wfadaptor.css +11 -0
- data/cockpit/edit.html +10 -10
- data/cockpit/graph.html +3 -3
- data/cockpit/index.html +9 -6
- data/cockpit/js/details.js +0 -1
- data/cockpit/js/instance.js +26 -19
- data/cockpit/js/model.js +6 -11
- data/cockpit/js/parameters.js +6 -4
- data/cockpit/js/wfadaptor.js +2 -0
- data/cockpit/model.html +4 -3
- data/cockpit/replay.html +3 -2
- data/cockpit/templates.legacy/Async.xml +12 -12
- data/cockpit/templates.legacy/BCO.xml +9 -11
- data/cockpit/templates.legacy/BCS.xml +9 -11
- data/cockpit/templates.legacy/Centurio.xml +7 -7
- data/cockpit/templates.legacy/Concurrent.xml +7 -7
- data/cockpit/templates.legacy/Coopis Testset.xml +7 -7
- data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -7
- data/cockpit/templates.legacy/ICSOC Testset.xml +7 -7
- data/cockpit/templates.legacy/Infinity.xml +7 -7
- data/cockpit/templates.legacy/Lego Boxer.xml +13 -13
- data/cockpit/templates.legacy/Lego Conveyor.xml +13 -13
- data/cockpit/templates.legacy/Lego Crane.xml +16 -16
- data/cockpit/templates.legacy/Lego Ejector.xml +16 -16
- data/cockpit/templates.legacy/Lego Full.xml +12 -12
- data/cockpit/templates.legacy/Lego Liddy.xml +13 -13
- data/cockpit/templates.legacy/Lego Plate.xml +13 -13
- data/cockpit/templates.legacy/Lego Transporter.xml +14 -14
- data/cockpit/templates.legacy/Lego_Part_1.xml +12 -12
- data/cockpit/templates.legacy/LgLinear.xml +7 -10
- data/cockpit/templates.legacy/Linear.xml +11 -14
- data/cockpit/templates.legacy/Log.xml +11 -12
- data/cockpit/templates.legacy/Mangler 1.xml +7 -7
- data/cockpit/templates.legacy/Mangler 2.xml +7 -7
- data/cockpit/templates.legacy/Manuel Labels.xml +11 -11
- data/cockpit/templates.legacy/Promise.xml +30 -30
- data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +7 -7
- data/cockpit/templates.legacy/Subprocess.xml +15 -15
- data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34.xml +8 -11
- data/cockpit/templates.legacy/TEST - Bad Loop.xml +7 -7
- data/cockpit/templates.legacy/TEST - Wrong Positions.xml +7 -7
- data/cockpit/templates.legacy/Take_5.xml +14 -14
- data/cockpit/templates.legacy/Update.xml +11 -11
- data/cockpit/templates.legacy/Worklist Parallel.xml +17 -17
- data/cockpit/templates.legacy/Worklist Test CPEE.xml +14 -14
- data/cockpit/templates.legacy/Worklist Test.xml +14 -14
- data/cockpit/templates.legacy/Worklist Test2.xml +14 -14
- data/cockpit/templates/Coopis 2010.xml +7 -7
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +9 -12
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +9 -12
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +9 -12
- data/cockpit/templates/Track Test Local.xml +8 -4
- data/cockpit/templates/Track Test.xml +6 -2
- data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +6 -2
- data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +9 -5
- data/cockpit/templates/UR-VUE 2020 Solution NN.xml +9 -5
- data/cockpit/templates/UR-VUE 2020 Solution View.xml +9 -5
- data/cockpit/templates/UR-VUE 2020.xml +9 -5
- data/cockpit/templates/Worklist.xml +14 -14
- data/cockpit/templates/instantiate.local/Take_Sub.xml +2 -2
- data/cockpit/templates/instantiate/Take_Perf.xml +1 -1
- data/cockpit/templates/instantiate/Take_Sub.xml +2 -2
- data/cockpit/templates/instantiate/Take_X.xml +2 -2
- data/cockpit/themes/compact/rngs/parallel.rng +6 -0
- data/cockpit/themes/compact/rngs/start.rng +83 -0
- data/cockpit/themes/compact/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/compact/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/compact/symbols/start.svg +1 -1
- data/cockpit/themes/compact/theme.js +45 -2
- data/cockpit/themes/control/rngs/parallel.rng +6 -0
- data/cockpit/themes/control/rngs/start.rng +83 -0
- data/cockpit/themes/control/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/control/symbols/start.svg +1 -1
- data/cockpit/themes/control/theme.js +45 -2
- data/cockpit/themes/default/rngs/parallel.rng +6 -0
- data/cockpit/themes/default/rngs/start.rng +83 -0
- data/cockpit/themes/default/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/default/symbols/start.svg +1 -1
- data/cockpit/themes/default/theme.js +46 -3
- data/cockpit/themes/extended/rngs/parallel.rng +6 -0
- data/cockpit/themes/extended/rngs/start.rng +83 -0
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/extended/symbols/start.svg +1 -1
- data/cockpit/themes/extended/theme.js +45 -2
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/model/symbols/start.svg +1 -1
- data/cockpit/themes/model/theme.js +45 -2
- data/cockpit/themes/packed/rngs/parallel.rng +6 -0
- data/cockpit/themes/packed/rngs/start.rng +83 -0
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/packed/symbols/start.svg +1 -1
- data/cockpit/themes/packed/theme.js +45 -2
- data/cockpit/themes/preset/rngs/parallel.rng +6 -0
- data/cockpit/themes/preset/rngs/start.rng +83 -0
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/preset/symbols/start.svg +1 -1
- data/cockpit/themes/preset/theme.js +46 -3
- data/cockpit/track.html +3 -3
- data/cpee.gemspec +3 -3
- data/lib/cpee/attributes_helper.rb +14 -0
- data/lib/cpee/implementation.rb +10 -8
- data/lib/cpee/implementation_callbacks.rb +28 -7
- data/lib/cpee/implementation_notifications.rb +20 -2
- data/lib/cpee/implementation_properties.rb +128 -24
- data/lib/cpee/persistence.rb +0 -27
- data/lib/cpee/statemachine.rb +14 -0
- data/lib/cpee/value_helper.rb +14 -0
- data/lib/properties.xml +4 -4
- data/lib/properties/{handlerwrapper.rng → executionhandler.rng} +2 -2
- data/lib/properties/properties.rng +2 -2
- data/lib/properties/set-properties.rng +2 -2
- data/lib/properties/set-some-properties.rng +2 -2
- data/server/{resources → executionhandlers/ruby}/backend/README.md +0 -0
- data/server/{resources → executionhandlers/ruby}/backend/instance.template +2 -4
- data/server/{resources → executionhandlers/ruby}/backend/opts.yaml +2 -2
- data/server/executionhandlers/ruby/backend/run +37 -0
- data/server/{handlerwrappers/default.rb → executionhandlers/ruby/connection.rb} +7 -3
- data/server/executionhandlers/ruby/controller.rb +195 -0
- data/server/{resources/transformation_dslx.xsl → executionhandlers/ruby/dsl_to_dslx.xsl} +57 -8
- data/server/executionhandlers/ruby/execution.rb +81 -0
- data/server/resources/properties.empty +1 -1
- data/server/resources/properties.init +1 -1
- data/server/resources/topics.xml +2 -2
- data/server/routing/end.rb +1 -0
- data/server/routing/forward-votes.rb +6 -5
- data/server/routing/persist.rb +4 -4
- data/tools/cpee +9 -3
- data/tools/server/cpee +1 -1
- data/tools/server/resources/properties.init +1 -1
- metadata +35 -239
- data/cockpit/templates.legacy/convert_cpee2.rb +0 -15
- data/lib/cpee/controller.rb +0 -199
- data/lib/cpee/transform.rb +0 -95
- data/server/resources/backend/instance.rb +0 -23
- data/server/resources/backend/run +0 -33
- data/server/routing/end.pid +0 -1
- data/server/routing/forward-events.pid +0 -1
- data/server/routing/forward-votes.pid +0 -1
- data/server/routing/persist.pid +0 -1
- data/server/server.pid +0 -1
- data/tools/test/README +0 -4
- data/tools/test/config.json +0 -3
- data/tools/test/contrib/graph_example.svg +0 -1166
- data/tools/test/contrib/legend.svg +0 -817
- data/tools/test/contrib/symbols.svg +0 -224
- data/tools/test/contrib/transformation1.xsl +0 -264
- data/tools/test/contrib/transformation2.xsl +0 -10
- data/tools/test/contrib/tree_example.svg +0 -788
- data/tools/test/css/model.css +0 -24
- data/tools/test/css/track.css +0 -60
- data/tools/test/css/ui.css +0 -214
- data/tools/test/css/wfadaptor.css +0 -422
- data/tools/test/edit.html +0 -258
- data/tools/test/graph.html +0 -69
- data/tools/test/index.html +0 -258
- data/tools/test/js/details.js +0 -109
- data/tools/test/js/instance.js +0 -1344
- data/tools/test/js/model.js +0 -41
- data/tools/test/js/parameters.js +0 -82
- data/tools/test/js/track.js +0 -18
- data/tools/test/js/ui.js +0 -104
- data/tools/test/js/wfadaptor.js +0 -763
- data/tools/test/js_libs.zip +0 -0
- data/tools/test/js_libs/Makefile +0 -2
- data/tools/test/js_libs/ansi_up.js +0 -333
- data/tools/test/js_libs/console.js +0 -80
- data/tools/test/js_libs/custommenu.css +0 -84
- data/tools/test/js_libs/custommenu.js +0 -104
- data/tools/test/js_libs/experiments1/relaxngui.css +0 -185
- data/tools/test/js_libs/experiments1/relaxngui.js +0 -488
- data/tools/test/js_libs/experiments1/rngtest9.html +0 -60
- data/tools/test/js_libs/experiments1/rngtest9.rng +0 -35
- data/tools/test/js_libs/experiments1/rngtest9.xml +0 -8
- data/tools/test/js_libs/jquery-2.2.4.min.js +0 -4
- data/tools/test/js_libs/jquery-3.2.1.min.js +0 -4
- data/tools/test/js_libs/jquery-3.3.1.min.js +0 -2
- data/tools/test/js_libs/jquery.browser.js +0 -40
- data/tools/test/js_libs/jquery.caret.min.js +0 -10
- data/tools/test/js_libs/jquery.cookie.js +0 -117
- data/tools/test/js_libs/jquery.min.js +0 -1
- data/tools/test/js_libs/jquery.svg.min.js +0 -6
- data/tools/test/js_libs/jquery.svgdom.min.js +0 -6
- data/tools/test/js_libs/markdown.min.js +0 -1
- data/tools/test/js_libs/parsequery.js +0 -21
- data/tools/test/js_libs/printf.js +0 -368
- data/tools/test/js_libs/relaxngui.css +0 -213
- data/tools/test/js_libs/relaxngui.js +0 -543
- data/tools/test/js_libs/strftime.min.js +0 -1
- data/tools/test/js_libs/tests/dataelements.html +0 -59
- data/tools/test/js_libs/tests/dataelements.rng +0 -8
- data/tools/test/js_libs/tests/dataelements.xml +0 -3
- data/tools/test/js_libs/tests/relaxngui.css +0 -203
- data/tools/test/js_libs/tests/relaxngui.js +0 -502
- data/tools/test/js_libs/tests/rngtest1.html +0 -66
- data/tools/test/js_libs/tests/rngtest1.rng +0 -147
- data/tools/test/js_libs/tests/rngtest1.xml +0 -13
- data/tools/test/js_libs/tests/rngtest2.html +0 -60
- data/tools/test/js_libs/tests/rngtest2.rng +0 -6
- data/tools/test/js_libs/tests/rngtest2.xml +0 -3
- data/tools/test/js_libs/tests/rngtest3.html +0 -60
- data/tools/test/js_libs/tests/rngtest3.rng +0 -23
- data/tools/test/js_libs/tests/rngtest3.xml +0 -9
- data/tools/test/js_libs/tests/rngtest4.html +0 -60
- data/tools/test/js_libs/tests/rngtest4.rng +0 -19
- data/tools/test/js_libs/tests/rngtest4.xml +0 -12
- data/tools/test/js_libs/tests/rngtest5.html +0 -60
- data/tools/test/js_libs/tests/rngtest5.rng +0 -75
- data/tools/test/js_libs/tests/rngtest5.xml +0 -40
- data/tools/test/js_libs/tests/rngtest6.html +0 -60
- data/tools/test/js_libs/tests/rngtest6.rng +0 -24
- data/tools/test/js_libs/tests/rngtest6.xml +0 -6
- data/tools/test/js_libs/tests/rngtest8.html +0 -60
- data/tools/test/js_libs/tests/rngtest8.rng +0 -13
- data/tools/test/js_libs/tests/rngtest8.xml +0 -2
- data/tools/test/js_libs/tests/rngtest9.html +0 -60
- data/tools/test/js_libs/tests/rngtest9.rng +0 -31
- data/tools/test/js_libs/tests/rngtest9.xml +0 -8
- data/tools/test/js_libs/ui.css +0 -333
- data/tools/test/js_libs/ui.html +0 -168
- data/tools/test/js_libs/ui.js +0 -177
- data/tools/test/js_libs/underscore.min.js +0 -27
- data/tools/test/js_libs/util.js +0 -81
- data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +0 -358
- data/tools/test/js_libs/vkbeautify.js +0 -1
- data/tools/test/js_libs/webcomponents.min.js +0 -196
- data/tools/test/model.html +0 -192
- data/tools/test/rngs/attributes.rng +0 -8
- data/tools/test/rngs/dataelements.rng +0 -8
- data/tools/test/rngs/endpoints.rng +0 -8
- data/tools/test/templates.legacy/Async.xml +0 -46
- data/tools/test/templates.legacy/BCO.xml +0 -70
- data/tools/test/templates.legacy/BCS.xml +0 -70
- data/tools/test/templates.legacy/Centurio.xml +0 -75
- data/tools/test/templates.legacy/Concurrent.xml +0 -40
- data/tools/test/templates.legacy/Coopis Testset.xml +0 -76
- data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +0 -30
- data/tools/test/templates.legacy/ICSOC Testset.xml +0 -95
- data/tools/test/templates.legacy/Infinity.xml +0 -28
- data/tools/test/templates.legacy/Lego Boxer.xml +0 -31
- data/tools/test/templates.legacy/Lego Conveyor.xml +0 -31
- data/tools/test/templates.legacy/Lego Crane.xml +0 -87
- data/tools/test/templates.legacy/Lego Ejector.xml +0 -55
- data/tools/test/templates.legacy/Lego Full.xml +0 -142
- data/tools/test/templates.legacy/Lego Liddy.xml +0 -40
- data/tools/test/templates.legacy/Lego Plate.xml +0 -31
- data/tools/test/templates.legacy/Lego Transporter.xml +0 -43
- data/tools/test/templates.legacy/Lego_Part_1.xml +0 -85
- data/tools/test/templates.legacy/LgLinear.xml +0 -65
- data/tools/test/templates.legacy/Linear.xml +0 -77
- data/tools/test/templates.legacy/Log.xml +0 -117
- data/tools/test/templates.legacy/Mangler 1.xml +0 -87
- data/tools/test/templates.legacy/Mangler 2.xml +0 -103
- data/tools/test/templates.legacy/Manuel Labels.xml +0 -55
- data/tools/test/templates.legacy/Promise.xml +0 -275
- data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +0 -83
- data/tools/test/templates.legacy/Subprocess.xml +0 -56
- data/tools/test/templates.legacy/Syncing P34 1.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34 2.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34 3.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34.xml +0 -77
- data/tools/test/templates.legacy/TEST - Bad Loop.xml +0 -173
- data/tools/test/templates.legacy/TEST - Wrong Positions.xml +0 -174
- data/tools/test/templates.legacy/Take_5.xml +0 -48
- data/tools/test/templates.legacy/Update.xml +0 -32
- data/tools/test/templates.legacy/Worklist Parallel.xml +0 -104
- data/tools/test/templates.legacy/Worklist Test CPEE.xml +0 -40
- data/tools/test/templates.legacy/Worklist Test.xml +0 -42
- data/tools/test/templates.legacy/Worklist Test2.xml +0 -43
- data/tools/test/templates.legacy/convert_cpee2.rb +0 -15
- data/tools/test/templates.legacy/convert_preset.rb +0 -32
- data/tools/test/templates.legacy/testsets.xml +0 -37
- data/tools/test/templates.legacy/transformations.xml +0 -4
- data/tools/test/templates/Coopis 2010.xml +0 -76
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +0 -77
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +0 -77
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +0 -77
- data/tools/test/templates/Track Test Local.xml +0 -82
- data/tools/test/templates/Track Test.xml +0 -82
- data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +0 -182
- data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +0 -203
- data/tools/test/templates/UR-VUE 2020 Solution NN.xml +0 -197
- data/tools/test/templates/UR-VUE 2020 Solution View.xml +0 -151
- data/tools/test/templates/UR-VUE 2020.xml +0 -26
- data/tools/test/templates/Worklist.xml +0 -42
- data/tools/test/templates/instantiate.local/Take_Sub.xml +0 -59
- data/tools/test/templates/instantiate/Take_Perf.xml +0 -46
- data/tools/test/templates/instantiate/Take_Sub.xml +0 -58
- data/tools/test/templates/instantiate/Take_X.xml +0 -48
- data/tools/test/themes/compact/theme.js +0 -1285
- data/tools/test/themes/diana/theme.js +0 -1650
- data/tools/test/themes/extended/theme.js +0 -1325
- data/tools/test/themes/model/rngs/alternative.rng +0 -1
- data/tools/test/themes/model/rngs/call.rng +0 -67
- data/tools/test/themes/model/rngs/callmanipulate.rng +0 -72
- data/tools/test/themes/model/rngs/choose.rng +0 -1
- data/tools/test/themes/model/rngs/critical.rng +0 -1
- data/tools/test/themes/model/rngs/escape.rng +0 -1
- data/tools/test/themes/model/rngs/group.rng +0 -1
- data/tools/test/themes/model/rngs/loop.rng +0 -1
- data/tools/test/themes/model/rngs/manipulate.rng +0 -1
- data/tools/test/themes/model/rngs/otherwise.rng +0 -1
- data/tools/test/themes/model/rngs/parallel.rng +0 -1
- data/tools/test/themes/model/rngs/parallel_branch.rng +0 -1
- data/tools/test/themes/model/rngs/scripts.rng +0 -7
- data/tools/test/themes/model/rngs/stop.rng +0 -1
- data/tools/test/themes/model/rngs/terminate.rng +0 -1
- data/tools/test/themes/model/theme.js +0 -1268
- data/tools/test/themes/packed/theme.js +0 -1286
- data/tools/test/themes/preset/rngs/alternative.rng +0 -25
- data/tools/test/themes/preset/rngs/call.rng +0 -122
- data/tools/test/themes/preset/rngs/callmanipulate.rng +0 -145
- data/tools/test/themes/preset/rngs/choose.rng +0 -14
- data/tools/test/themes/preset/rngs/closed_loop.rng +0 -62
- data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +0 -5
- data/tools/test/themes/preset/rngs/closed_loop_control.rng +0 -31
- data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +0 -12
- data/tools/test/themes/preset/rngs/critical.rng +0 -5
- data/tools/test/themes/preset/rngs/escape.rng +0 -1
- data/tools/test/themes/preset/rngs/group.rng +0 -3
- data/tools/test/themes/preset/rngs/loop.rng +0 -22
- data/tools/test/themes/preset/rngs/manipulate.rng +0 -9
- data/tools/test/themes/preset/rngs/otherwise.rng +0 -22
- data/tools/test/themes/preset/rngs/parallel.rng +0 -21
- data/tools/test/themes/preset/rngs/parallel_branch.rng +0 -8
- data/tools/test/themes/preset/rngs/scripts.rng +0 -23
- data/tools/test/themes/preset/rngs/stop.rng +0 -5
- data/tools/test/themes/preset/rngs/terminate.rng +0 -1
- data/tools/test/themes/preset/symbols/alternative.svg +0 -5
- data/tools/test/themes/preset/symbols/arrow.svg +0 -3
- data/tools/test/themes/preset/symbols/call.svg +0 -6
- data/tools/test/themes/preset/symbols/callmanipulate.svg +0 -8
- data/tools/test/themes/preset/symbols/choose.svg +0 -5
- data/tools/test/themes/preset/symbols/choose_exclusive.svg +0 -5
- data/tools/test/themes/preset/symbols/choose_inclusive.svg +0 -4
- data/tools/test/themes/preset/symbols/closed_loop.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_control.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +0 -6
- data/tools/test/themes/preset/symbols/complex.svg +0 -8
- data/tools/test/themes/preset/symbols/critical.svg +0 -4
- data/tools/test/themes/preset/symbols/end.svg +0 -3
- data/tools/test/themes/preset/symbols/escape.svg +0 -5
- data/tools/test/themes/preset/symbols/event_end.svg +0 -3
- data/tools/test/themes/preset/symbols/loop.svg +0 -5
- data/tools/test/themes/preset/symbols/manipulate.svg +0 -4
- data/tools/test/themes/preset/symbols/otherwise.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel_branch.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +0 -4
- data/tools/test/themes/preset/symbols/parallel_branch_event.svg +0 -14
- data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +0 -5
- data/tools/test/themes/preset/symbols/scripts.svg +0 -4
- data/tools/test/themes/preset/symbols/start.svg +0 -3
- data/tools/test/themes/preset/symbols/stop.svg +0 -5
- data/tools/test/themes/preset/symbols/terminate.svg +0 -4
- data/tools/test/themes/preset/theme.js +0 -1287
- data/tools/test/track.html +0 -142
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c98641a6cc00767af290395984b5b99534adb37b7235ad223d412d99fe9969b4
|
4
|
+
data.tar.gz: 82db456ab83962e51373c961e41b13b7a2de21d0739d1a047bfc4c74ef548156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e2a3a1c77315364f0d400ddb2127e31e63e95ff1561ed24b63ac71cd2bc49dc122fddd73ecef28607af6f221180536f9256076a4c2b7cd90f2ca66744ce5b34
|
7
|
+
data.tar.gz: dfb4857bd734da1011f56658a8802686819669a348f1c29a8c1c35308dd1efb2d4d303ced6d57a4db484f55079f32f6282913d152b21e51229577a6b75b73679
|
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:
|
110
|
+
#parameters ui-content { height: 8.5em; min-height: 2.7em; }
|
110
111
|
|
111
|
-
#areadataelements
|
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; }
|
@@ -154,6 +168,9 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
154
168
|
margin:0;
|
155
169
|
padding:0;
|
156
170
|
width: 100%;
|
171
|
+
height: 100%;
|
172
|
+
overflow-x: hidden;
|
173
|
+
overflow-y: scroll;
|
157
174
|
}
|
158
175
|
|
159
176
|
#dat_dataelements {
|
@@ -163,6 +180,9 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
163
180
|
margin:0;
|
164
181
|
padding:0;
|
165
182
|
width: 100%;
|
183
|
+
height: 100%;
|
184
|
+
overflow-x: hidden;
|
185
|
+
overflow-y: scroll;
|
166
186
|
}
|
167
187
|
#dat_attributes {
|
168
188
|
border-collapse:collapse;
|
@@ -171,6 +191,9 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
171
191
|
margin:0;
|
172
192
|
padding:0;
|
173
193
|
width: 100%;
|
194
|
+
height: 100%;
|
195
|
+
overflow-x: hidden;
|
196
|
+
overflow-y: scroll;
|
174
197
|
}
|
175
198
|
|
176
199
|
#areadsl div { padding: 0 1em; }
|
data/cockpit/css/wfadaptor.css
CHANGED
@@ -108,6 +108,17 @@ svg .stand {
|
|
108
108
|
stroke-opacity:1;
|
109
109
|
stroke-dasharray:none;
|
110
110
|
}
|
111
|
+
svg .standthin {
|
112
|
+
fill: var(--wfadaptor-background);
|
113
|
+
fill-opacity:1;
|
114
|
+
stroke: var(--wfadaptor-base);
|
115
|
+
stroke-width:1.0;
|
116
|
+
stroke-linecap:round;
|
117
|
+
stroke-linejoin:round;
|
118
|
+
stroke-miterlimit:4;
|
119
|
+
stroke-opacity:1;
|
120
|
+
stroke-dasharray:none;
|
121
|
+
}
|
111
122
|
svg .standfat {
|
112
123
|
fill: var(--wfadaptor-background);
|
113
124
|
fill-opacity:1;
|
data/cockpit/edit.html
CHANGED
@@ -36,11 +36,11 @@
|
|
36
36
|
|
37
37
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
38
38
|
|
39
|
-
<script type="text/javascript" src="/js_libs/
|
39
|
+
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
40
40
|
<script type="text/javascript" src="/js_libs/custommenu.js"></script>
|
41
41
|
|
42
42
|
<link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
|
43
|
-
<link rel="stylesheet" href="/js_libs/
|
43
|
+
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
44
44
|
|
45
45
|
<link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
|
46
46
|
|
@@ -61,7 +61,7 @@
|
|
61
61
|
/* shit balls, no elegance is left in this world */
|
62
62
|
</style>
|
63
63
|
</head>
|
64
|
-
<body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
|
64
|
+
<body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
|
65
65
|
<div id='disclaimer' class='hidden'> <!--{{{-->
|
66
66
|
<h1>Disclaimer</h1>
|
67
67
|
|
@@ -120,7 +120,7 @@
|
|
120
120
|
<ui-tabbed id="instance">
|
121
121
|
<ui-tabbar>
|
122
122
|
<ui-tab class="switch" ></ui-tab>
|
123
|
-
<ui-tab class="" data-tab="new" id="tabnew" >
|
123
|
+
<ui-tab class="" data-tab="new" id="tabnew" >Config</ui-tab>
|
124
124
|
<ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
|
125
125
|
<ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
|
126
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>
|
@@ -132,17 +132,14 @@
|
|
132
132
|
<tr>
|
133
133
|
<td>Resources:</td>
|
134
134
|
<td><input name="res-url" type="text" value=""/></td>
|
135
|
-
<td></td>
|
136
135
|
</tr>
|
137
136
|
<tr>
|
138
137
|
<td>Engine:</td>
|
139
138
|
<td><input name="base-url" type="text" value=""/></td>
|
140
|
-
<td><button name="base">create new instance</button></td>
|
141
139
|
</tr>
|
142
140
|
<tr>
|
143
141
|
<td>Instance:</td>
|
144
142
|
<td><input name="instance-url" type="text" value=""/></td>
|
145
|
-
<td><button name="instance">monitor instance</button></td>
|
146
143
|
</tr>
|
147
144
|
</table>
|
148
145
|
</ui-area> <!--}}}-->
|
@@ -213,17 +210,20 @@
|
|
213
210
|
<ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
|
214
211
|
<ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
|
215
212
|
<ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
|
216
|
-
<ui-behind
|
213
|
+
<ui-behind ></ui-behind>
|
217
214
|
</ui-tabbar>
|
218
215
|
<ui-content>
|
219
216
|
<ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
|
217
|
+
<button title='add entry'><span>New</span></button>
|
220
218
|
<div id="dat_dataelements"></div>
|
221
219
|
</ui-area> <!--}}}-->
|
222
220
|
<ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
|
223
|
-
<
|
221
|
+
<button title='add entry'><span>New</span></button>
|
222
|
+
<div id="dat_endpoints"></div>
|
224
223
|
</ui-area> <!--}}}-->
|
225
224
|
<ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
|
226
|
-
<
|
225
|
+
<button title='add entry'><span>New</span></button>
|
226
|
+
<div id="dat_attributes"></div>
|
227
227
|
</ui-area> <!--}}}-->
|
228
228
|
</ui-content>
|
229
229
|
</ui-tabbed>
|
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/
|
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/
|
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'>
|
data/cockpit/index.html
CHANGED
@@ -36,11 +36,11 @@
|
|
36
36
|
|
37
37
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
38
38
|
|
39
|
-
<script type="text/javascript" src="/js_libs/
|
39
|
+
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
40
40
|
<script type="text/javascript" src="/js_libs/custommenu.js"></script>
|
41
41
|
|
42
42
|
<link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
|
43
|
-
<link rel="stylesheet" href="/js_libs/
|
43
|
+
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
44
44
|
|
45
45
|
<link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
|
46
46
|
|
@@ -60,7 +60,7 @@
|
|
60
60
|
/* shit balls, no elegance is left in this world */
|
61
61
|
</style>
|
62
62
|
</head>
|
63
|
-
<body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
|
63
|
+
<body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
|
64
64
|
<div id='disclaimer' class='hidden'> <!--{{{-->
|
65
65
|
<h1>Disclaimer</h1>
|
66
66
|
|
@@ -211,17 +211,20 @@
|
|
211
211
|
<ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
|
212
212
|
<ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
|
213
213
|
<ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
|
214
|
-
<ui-behind
|
214
|
+
<ui-behind ></ui-behind>
|
215
215
|
</ui-tabbar>
|
216
216
|
<ui-content>
|
217
217
|
<ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
|
218
|
+
<button title='add entry'><span>New</span></button>
|
218
219
|
<div id="dat_dataelements"></div>
|
219
220
|
</ui-area> <!--}}}-->
|
220
221
|
<ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
|
221
|
-
<
|
222
|
+
<button title='add entry'><span>New</span></button>
|
223
|
+
<div id="dat_endpoints"></div>
|
222
224
|
</ui-area> <!--}}}-->
|
223
225
|
<ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
|
224
|
-
<
|
226
|
+
<button title='add entry'><span>New</span></button>
|
227
|
+
<div id="dat_attributes"></div>
|
225
228
|
</ui-area> <!--}}}-->
|
226
229
|
</ui-content>
|
227
230
|
</ui-tabbed>
|
data/cockpit/js/details.js
CHANGED
@@ -49,7 +49,6 @@ function do_main_work() { //{{{
|
|
49
49
|
var origtype = orignode.attr('element-type') + '_' + orignode.attr('element-endpoint');
|
50
50
|
|
51
51
|
var url = $('body').attr('current-instance');
|
52
|
-
$('#main ui-tabbar ui-behind button').removeClass('highlight');
|
53
52
|
save['details'].set_checkpoint();
|
54
53
|
|
55
54
|
var nnew = $(save['details'].save().documentElement);
|
data/cockpit/js/instance.js
CHANGED
@@ -53,7 +53,7 @@ var sub_more = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
53
53
|
'events' + '=' + 'instantiation' + '&' +
|
54
54
|
'topic' + '=' + 'transformation' + '&' +
|
55
55
|
'events' + '=' + 'change' + '&' +
|
56
|
-
'topic' + '=' + '
|
56
|
+
'topic' + '=' + 'connectionwrapper' + '&' +
|
57
57
|
'events' + '=' + 'error,change' + '&' +
|
58
58
|
'topic' + '=' + 'handlers' + '&' +
|
59
59
|
'events' + '=' + 'change';// }}}
|
@@ -75,14 +75,14 @@ var sub_less = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
75
75
|
'events' + '=' + 'instantiation' + '&' +
|
76
76
|
'topic' + '=' + 'transformation' + '&' +
|
77
77
|
'events' + '=' + 'change' + '&' +
|
78
|
-
'topic' + '=' + '
|
78
|
+
'topic' + '=' + 'connectionwrapper' + '&' +
|
79
79
|
'events' + '=' + 'error,change' + '&' +
|
80
80
|
'topic' + '=' + 'handlers' + '&' +
|
81
81
|
'events' + '=' + 'change';// }}}
|
82
82
|
|
83
83
|
function cockpit() { //{{{
|
84
84
|
$("button[name=base]").click(function(){ create_instance($("input[name=base-url]").val(),null,false,false); });
|
85
|
-
$("button[name=instance]").click(function(){
|
85
|
+
$("button[name=instance]").click(function(){ uidash_activate_tab("#tabinstance"); monitor_instance($("input[name=instance-url]").val(),$("input[name=res-url]").val(),false,false); });
|
86
86
|
$("button[name=loadtestset]").click(function(e){new CustomMenu(e).menu($('#templates'),function(){ load_testset(false) } ); });
|
87
87
|
$("button[name=loadtestsetfile]").click(load_testsetfile);
|
88
88
|
$("button[name=loadmodelfile]").click(load_modelfile);
|
@@ -105,10 +105,15 @@ function cockpit() { //{{{
|
|
105
105
|
$('#templates').append($("<div class='menuitem'></div>").text(this.name.replace(/\.xml/,'')));
|
106
106
|
}
|
107
107
|
});
|
108
|
+
},
|
109
|
+
error: function() {
|
110
|
+
$("button[name=loadtestset]").attr('disabled','disabled');
|
111
|
+
},
|
112
|
+
complete: function() {
|
108
113
|
var q = $.parseQuerySimple();
|
109
114
|
if (q.min || q.min == "") {
|
110
|
-
|
111
|
-
|
115
|
+
uidash_toggle_vis_tab($('#instance'));
|
116
|
+
uidash_toggle_vis_tab($('#parameters'));
|
112
117
|
}
|
113
118
|
if (q.monitor && q.load) {
|
114
119
|
if (q.load.match(/https?:\/\//)) {
|
@@ -118,7 +123,7 @@ function cockpit() { //{{{
|
|
118
123
|
if ($(v).text() == q.load) { $(v).attr('data-selected','selected'); }
|
119
124
|
});
|
120
125
|
}
|
121
|
-
|
126
|
+
uidash_activate_tab("#tabexecution");
|
122
127
|
monitor_instance(q.monitor,$("body").attr('current-resources'),true,false);
|
123
128
|
} else if (q.load) {
|
124
129
|
if (q.load.match(/https?:\/\//)) {
|
@@ -128,20 +133,20 @@ function cockpit() { //{{{
|
|
128
133
|
if ($(v).text() == q.load) { $(v).attr('data-selected','selected'); }
|
129
134
|
});
|
130
135
|
}
|
131
|
-
|
136
|
+
uidash_activate_tab("#tabexecution");
|
132
137
|
create_instance($("body").attr('current-base'),q.load,true,false);
|
133
138
|
} else if (q.instantiate) {
|
134
139
|
if (q.instantiate.match(/https?:\/\//)) {
|
135
|
-
|
140
|
+
uidash_activate_tab("#tabexecution");
|
136
141
|
create_instance_from($("body").attr('current-base'),q.instantiate,false);
|
137
142
|
} else {
|
138
143
|
alert('Nope. Url!');
|
139
144
|
}
|
140
145
|
} else if (q.new || q.new == "") {
|
141
|
-
|
146
|
+
uidash_activate_tab("#tabinstance");
|
142
147
|
create_instance($("body").attr('current-base'),"Plain Instance",false,false);
|
143
148
|
} else if (q.monitor) {
|
144
|
-
|
149
|
+
uidash_activate_tab("#tabinstance");
|
145
150
|
monitor_instance(q.monitor,$("body").attr('current-resources'),false,false);
|
146
151
|
} else if (q.exec) {
|
147
152
|
if (q.exec.match(/https?:\/\//)) {
|
@@ -151,7 +156,7 @@ function cockpit() { //{{{
|
|
151
156
|
if ($(v).text() == q.exec) { $(v).attr('data-selected','selected'); }
|
152
157
|
});
|
153
158
|
}
|
154
|
-
|
159
|
+
uidash_activate_tab("#tabexecution");
|
155
160
|
create_instance($("body").attr('current-base'),q.exec,true,true);
|
156
161
|
}
|
157
162
|
}
|
@@ -324,7 +329,7 @@ function monitor_instance(cin,rep,load,exec) {// {{{
|
|
324
329
|
$("input[name=instance-url]").val($("body").attr('current-instance'));
|
325
330
|
$("input[name=res-url]").val($("body").attr('current-resources'));
|
326
331
|
|
327
|
-
$('
|
332
|
+
$('#parameters ui-content ui-area > button').attr('disabled','disabled');
|
328
333
|
$('#dat_details').empty();
|
329
334
|
|
330
335
|
url = $("body").attr('current-instance');
|
@@ -380,7 +385,7 @@ function monitor_instance(cin,rep,load,exec) {// {{{
|
|
380
385
|
},
|
381
386
|
error: function(a,b,c) {
|
382
387
|
alert("This ain't no CPEE instance");
|
383
|
-
|
388
|
+
uidash_activate_tab("#tabnew");
|
384
389
|
}
|
385
390
|
});
|
386
391
|
}// }}}
|
@@ -726,10 +731,11 @@ function monitor_instance_state_change(notification) { //{{{
|
|
726
731
|
}
|
727
732
|
|
728
733
|
if (notification != "ready" && notification != "stopped" && notification != "running") {
|
729
|
-
|
734
|
+
console.log('rrr');
|
735
|
+
$('#parameters ui-content ui-area > button').attr('disabled','disabled');
|
730
736
|
$('#state_any').hide();
|
731
737
|
} else {
|
732
|
-
$('#parameters
|
738
|
+
$('#parameters ui-content ui-area > button').removeAttr('disabled');
|
733
739
|
$('#state_any').show();
|
734
740
|
}
|
735
741
|
|
@@ -898,7 +904,7 @@ async function set_testset(testset,exec) {// {{{
|
|
898
904
|
var promises = [];
|
899
905
|
|
900
906
|
var tset = $X('<properties xmlns="http://cpee.org/ns/properties/2.0"/>');
|
901
|
-
tset.append($("testset >
|
907
|
+
tset.append($("testset > executionwrapper",testset));
|
902
908
|
tset.append($("testset > positions",testset));
|
903
909
|
tset.append($("testset > dataelements",testset));
|
904
910
|
tset.append($("testset > endpoints",testset));
|
@@ -1026,7 +1032,6 @@ function load_testset(exec) {// {{{
|
|
1026
1032
|
url: url,
|
1027
1033
|
success: function(res){
|
1028
1034
|
save['dsl'] = null; // reload dsl and position under all circumstances
|
1029
|
-
$('#main .tabbehind button').hide();
|
1030
1035
|
$('#dat_details').empty();
|
1031
1036
|
|
1032
1037
|
document.title = "Untitled";
|
@@ -1210,8 +1215,10 @@ function format_visual_vote_clear() {//{{{
|
|
1210
1215
|
|
1211
1216
|
function format_instance_pos() { //{{{
|
1212
1217
|
$(save['instance_pos']).each(function(){
|
1213
|
-
|
1214
|
-
|
1218
|
+
console.log(this);
|
1219
|
+
var taskname = this.nodeName;
|
1220
|
+
var taskstate = this.textContent;
|
1221
|
+
format_visual_add(taskname,save['state'] == 'running' ? (taskstate == 'at' ? 'active' : 'passive') : 'passive');
|
1215
1222
|
});
|
1216
1223
|
} //}}}
|
1217
1224
|
|
data/cockpit/js/model.js
CHANGED
@@ -1,16 +1,11 @@
|
|
1
1
|
$(document).ready(function() {
|
2
|
-
$('#
|
3
|
-
$('#model ui-
|
4
|
-
});
|
5
|
-
$('#tabdataelements').click(function(event){
|
6
|
-
$('#model ui-behind button:nth-child(1)').removeClass('hidden');
|
7
|
-
});
|
8
|
-
|
9
|
-
$('#model ui-behind button:nth-child(1)').click(function(event){
|
10
|
-
var but = $(document).find('#model ui-content ui-area:not(.inactive) button');
|
2
|
+
$('#model ui-content ui-area > button').click(function(event){
|
3
|
+
var but = $(document).find('#model ui-content ui-area:not(.inactive) > div button');
|
11
4
|
but.click();
|
12
|
-
var
|
13
|
-
|
5
|
+
var inp = $(document).find('#model ui-content ui-area:not(.inactive) > div input');
|
6
|
+
$(inp[inp.length-2]).focus();
|
7
|
+
var are = $(document).find('#model ui-content ui-area:not(.inactive) > div');
|
8
|
+
var tab = $(document).find('#model ui-content ui-area:not(.inactive) > div > div');
|
14
9
|
are.animate({ scrollTop: tab.height() }, "slow");
|
15
10
|
});
|
16
11
|
});
|
data/cockpit/js/parameters.js
CHANGED
@@ -30,11 +30,13 @@ $(document).ready(function() {
|
|
30
30
|
}); //}}}
|
31
31
|
|
32
32
|
// new entry //{{{
|
33
|
-
$('#parameters ui-
|
34
|
-
var but = $(document).find('#parameters ui-content ui-area:not(.inactive) button');
|
33
|
+
$('#parameters ui-content ui-area > button').click(function(event){
|
34
|
+
var but = $(document).find('#parameters ui-content ui-area:not(.inactive) > div button');
|
35
35
|
but.click();
|
36
|
-
var
|
37
|
-
|
36
|
+
var inp = $(document).find('#parameters ui-content ui-area:not(.inactive) > div input');
|
37
|
+
$(inp[inp.length-2]).focus();
|
38
|
+
var are = $(document).find('#parameters ui-content ui-area:not(.inactive) > div');
|
39
|
+
var tab = $(document).find('#parameters ui-content ui-area:not(.inactive) > div > div');
|
38
40
|
are.animate({ scrollTop: tab.height() }, "slow");
|
39
41
|
}); //}}}
|
40
42
|
|
data/cockpit/js/wfadaptor.js
CHANGED
@@ -559,6 +559,8 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
|
|
559
559
|
if(root.tagName == 'description') { // First parsing {{{
|
560
560
|
pos.row++;
|
561
561
|
$(root).attr('svg-id','description');
|
562
|
+
$(root).attr('svg-type','description');
|
563
|
+
$(root).attr('svg-subtype','description');
|
562
564
|
group.attr('element-id','group-description');
|
563
565
|
if (illustrator.elements[sname].label) {
|
564
566
|
labels.push({row: pos.row, element_id: 'start', tname: 'start', label: illustrator.elements[sname].label(root)});
|