cpee 1.3.181 → 1.3.183
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 +19 -60
- data/cockpit/css/wfadaptor.css +11 -0
- data/cockpit/index.html +45 -71
- data/cockpit/js/details.js +50 -139
- data/cockpit/js/instance.js +133 -185
- data/cockpit/js/parameters.js +57 -55
- data/cockpit/js/ui.js +4 -29
- data/cockpit/js/wfadaptor.js +190 -108
- data/cockpit/rngs/attributes.rng +8 -0
- data/cockpit/rngs/dataelements.rng +8 -0
- data/cockpit/rngs/endpoints.rng +8 -0
- data/cockpit/testsets/Concurrent.xml +6 -6
- data/cockpit/testsets/Coopis Testset.xml +12 -12
- data/cockpit/testsets/ICSOC Testset.xml +27 -27
- data/cockpit/testsets/Infinity.xml +4 -4
- data/cockpit/testsets/Linear.xml +10 -10
- data/cockpit/testsets/Mangler 1.xml +20 -20
- data/cockpit/testsets/Mangler 2.xml +18 -18
- data/cockpit/testsets/Promise.xml +258 -0
- data/cockpit/testsets/SOPROMO Test Sonification.xml +11 -11
- data/cockpit/testsets/Syncing P34 1.xml +12 -12
- data/cockpit/testsets/Syncing P34 2.xml +12 -12
- data/cockpit/testsets/Syncing P34 3.xml +12 -12
- data/cockpit/testsets/Syncing P34.xml +12 -12
- data/cockpit/testsets/TEST - Bad Loop.xml +39 -39
- data/cockpit/testsets/Update.xml +1 -1
- data/cockpit/testsets/Worklist Parallel.xml +8 -8
- data/cockpit/testsets/Worklist Test CPEE.xml +2 -2
- data/cockpit/testsets/Worklist Test.xml +2 -2
- data/cockpit/testsets/testsets.xml +2 -0
- data/cockpit/themes/adventure/rngs/alternative.rng +5 -0
- data/cockpit/themes/adventure/rngs/call.rng +29 -0
- data/cockpit/{rngtest2.rng → themes/adventure/rngs/callmanipulate.rng} +9 -9
- data/cockpit/themes/adventure/rngs/choose.rng +8 -0
- data/cockpit/themes/adventure/rngs/critical.rng +5 -0
- data/cockpit/themes/adventure/rngs/escape.rng +1 -0
- data/cockpit/themes/adventure/rngs/finalize.rng +6 -0
- data/cockpit/themes/adventure/rngs/group.rng +3 -0
- data/cockpit/themes/adventure/rngs/loop.rng +11 -0
- data/cockpit/themes/adventure/rngs/manipulate.rng +6 -0
- data/cockpit/themes/adventure/rngs/otherwise.rng +1 -0
- data/cockpit/themes/adventure/rngs/parallel.rng +5 -0
- data/cockpit/themes/adventure/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/adventure/rngs/update.rng +6 -0
- data/cockpit/themes/adventure/symbols/alternative.svg +4 -0
- data/cockpit/themes/adventure/symbols/call.svg +4 -0
- data/cockpit/themes/adventure/symbols/callmanipulate.svg +6 -0
- data/cockpit/themes/adventure/symbols/choose.svg +5 -0
- data/cockpit/themes/adventure/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/adventure/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/adventure/symbols/critical.svg +4 -0
- data/cockpit/themes/adventure/symbols/escape.svg +5 -0
- data/cockpit/themes/adventure/symbols/loop.svg +5 -0
- data/cockpit/themes/adventure/symbols/manipulate.svg +4 -0
- data/cockpit/themes/adventure/symbols/otherwise.svg +4 -0
- data/cockpit/themes/adventure/symbols/parallel.svg +5 -0
- data/cockpit/themes/adventure/symbols/parallel_branch.svg +4 -0
- data/cockpit/themes/adventure/symbols/scripts.svg +4 -0
- data/cockpit/themes/adventure/symbols/start.svg +3 -0
- data/cockpit/themes/adventure/theme.js +729 -0
- data/cockpit/themes/default/rngs/alternative.rng +5 -0
- data/cockpit/themes/default/rngs/call.rng +29 -0
- data/cockpit/themes/default/rngs/callmanipulate.rng +41 -0
- data/cockpit/themes/default/rngs/choose.rng +8 -0
- data/cockpit/themes/default/rngs/critical.rng +5 -0
- data/cockpit/themes/default/rngs/escape.rng +1 -0
- data/cockpit/themes/default/rngs/finalize.rng +6 -0
- data/cockpit/themes/default/rngs/group.rng +3 -0
- data/cockpit/themes/default/rngs/loop.rng +11 -0
- data/cockpit/themes/default/rngs/manipulate.rng +6 -0
- data/cockpit/themes/default/rngs/otherwise.rng +1 -0
- data/cockpit/themes/default/rngs/parallel.rng +5 -0
- data/cockpit/themes/default/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/default/rngs/update.rng +6 -0
- data/cockpit/themes/default/symbols/alternative.svg +4 -0
- data/cockpit/themes/default/symbols/call.svg +4 -0
- data/cockpit/themes/default/symbols/callmanipulate.svg +6 -0
- data/cockpit/themes/default/symbols/choose.svg +5 -0
- data/cockpit/themes/default/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/default/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/default/symbols/critical.svg +4 -0
- data/cockpit/themes/default/symbols/escape.svg +5 -0
- data/cockpit/themes/default/symbols/loop.svg +5 -0
- data/cockpit/themes/default/symbols/manipulate.svg +4 -0
- data/cockpit/themes/default/symbols/otherwise.svg +4 -0
- data/cockpit/themes/default/symbols/parallel.svg +5 -0
- data/cockpit/themes/default/symbols/parallel_branch.svg +4 -0
- data/cockpit/themes/default/symbols/scripts.svg +4 -0
- data/cockpit/themes/default/symbols/start.svg +3 -0
- data/cockpit/themes/default/theme.js +729 -0
- data/cockpit/themes/lego/rngs/alternative.rng +5 -0
- data/cockpit/themes/lego/rngs/call.rng +41 -0
- data/cockpit/themes/lego/rngs/choose.rng +8 -0
- data/cockpit/themes/lego/rngs/critical.rng +5 -0
- data/cockpit/themes/lego/rngs/loop.rng +11 -0
- data/cockpit/themes/lego/rngs/manipulate.rng +6 -0
- data/cockpit/themes/lego/rngs/parallel.rng +5 -0
- data/cockpit/themes/lego/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/lego/symbols/alternative.svg +4 -0
- data/cockpit/themes/lego/symbols/call.svg +4 -0
- data/cockpit/themes/lego/symbols/callmanipulate.svg +6 -0
- data/cockpit/themes/lego/symbols/callori.svg +4 -0
- data/cockpit/themes/lego/symbols/choose.svg +4 -0
- data/cockpit/themes/lego/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/lego/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/lego/symbols/critical.svg +4 -0
- data/cockpit/themes/lego/symbols/escape.svg +5 -0
- data/cockpit/themes/lego/symbols/lego.svg +72 -0
- data/cockpit/themes/lego/symbols/loop.svg +5 -0
- data/cockpit/themes/lego/symbols/manipulate.svg +4 -0
- data/cockpit/themes/lego/symbols/otherwise.svg +4 -0
- data/cockpit/themes/lego/symbols/parallel.svg +6 -0
- data/cockpit/themes/lego/symbols/parallel_branch.svg +4 -0
- data/cockpit/themes/lego/symbols/scripts.svg +4 -0
- data/cockpit/themes/lego/symbols/start.svg +3 -0
- data/cockpit/themes/lego/theme.js +742 -0
- data/cockpit/themes/promise/rngs/alternative.rng +5 -0
- data/cockpit/themes/promise/rngs/call.rng +41 -0
- data/cockpit/themes/promise/rngs/choose.rng +8 -0
- data/cockpit/themes/promise/rngs/critical.rng +5 -0
- data/cockpit/themes/promise/rngs/loop.rng +11 -0
- data/cockpit/themes/promise/rngs/manipulate.rng +6 -0
- data/cockpit/themes/promise/rngs/parallel.rng +5 -0
- data/cockpit/themes/promise/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/promise/symbols/alternative.svg +4 -0
- data/cockpit/themes/promise/symbols/call.svg +4 -0
- data/cockpit/themes/promise/symbols/callmanipulate.svg +6 -0
- data/cockpit/themes/promise/symbols/choose.svg +4 -0
- data/cockpit/themes/promise/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/promise/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/promise/symbols/critical.svg +4 -0
- data/cockpit/themes/promise/symbols/escape.svg +5 -0
- data/cockpit/themes/promise/symbols/loop.svg +5 -0
- data/cockpit/themes/promise/symbols/manipulate.svg +4 -0
- data/cockpit/themes/promise/symbols/otherwise.svg +4 -0
- data/cockpit/themes/promise/symbols/parallel.svg +6 -0
- data/cockpit/themes/promise/symbols/parallel_branch.svg +4 -0
- data/cockpit/themes/promise/symbols/preminder.svg +6 -0
- data/cockpit/themes/promise/symbols/scripts.svg +4 -0
- data/cockpit/themes/promise/symbols/start.svg +3 -0
- data/cockpit/themes/promise/theme.js +742 -0
- data/cpee.gemspec +2 -2
- data/lib/cpee/implementation.rb +15 -15
- data/server/handlerwrappers/default.rb +19 -19
- data/server/handlerwrappers/log.rb +264 -0
- data/server/instances/10/properties.xml +148 -0
- data/server/instances/11/properties.xml +149 -0
- data/server/instances/12/properties.xml +149 -0
- data/server/instances/13/properties.xml +149 -0
- data/server/instances/14/properties.xml +111 -0
- data/server/instances/15/properties.xml +113 -0
- data/server/instances/16/properties.xml +113 -0
- data/server/instances/17/properties.xml +149 -0
- data/server/instances/18/properties.xml +149 -0
- data/server/instances/19/properties.xml +114 -0
- data/server/instances/2/properties.xml +1 -1
- data/server/instances/20/properties.xml +113 -0
- data/server/instances/21/notifications/0851248d60c898cadd743d0dd5b6d273/consumer-secret +1 -0
- data/server/instances/21/notifications/0851248d60c898cadd743d0dd5b6d273/producer-secret +1 -0
- data/server/instances/21/notifications/0851248d60c898cadd743d0dd5b6d273/subscription.xml +6 -0
- data/server/instances/21/notifications/b7bac3f3010d433ce5d8f29338a06f9a/consumer-secret +1 -0
- data/server/instances/21/notifications/b7bac3f3010d433ce5d8f29338a06f9a/producer-secret +1 -0
- data/server/instances/21/notifications/b7bac3f3010d433ce5d8f29338a06f9a/subscription.xml +23 -0
- data/server/instances/21/properties.xml +149 -0
- data/server/instances/22/properties.xml +113 -0
- data/server/instances/23/properties.xml +88 -0
- data/server/instances/24/properties.xml +168 -0
- data/server/instances/25/properties.xml +149 -0
- data/server/instances/26/properties.xml +113 -0
- data/server/instances/27/properties.xml +141 -0
- data/server/instances/3/properties.xml +46 -0
- data/server/instances/4/properties.xml +148 -0
- data/server/instances/5/properties.xml +148 -0
- data/server/instances/6/properties.xml +148 -0
- data/server/instances/7/properties.xml +148 -0
- data/server/instances/8/properties.xml +148 -0
- data/server/instances/9/properties.xml +46 -0
- data/server/resources/properties.init +2 -1
- data/server/resources/transformation_dslx.xsl +12 -12
- data/server/server.pid +1 -0
- data/server/server.rb +2 -0
- metadata +152 -12
- data/cockpit/js/wfadaptor.cpee.js +0 -936
- data/cockpit/rngtest1.html +0 -53
- data/cockpit/rngtest1.rng +0 -38
- data/cockpit/rngtest1.xml +0 -16
- data/cockpit/rngtest2.html +0 -53
- data/cockpit/rngtest2.xml +0 -11
- data/cockpit/test.html +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b0bbb54672a33ab278fd30fcb5f5e042760efe2
|
4
|
+
data.tar.gz: 150213fd2cbeef6f298a563eb050fd8d37f40faf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8b72b86a1f8fe60eec6754b129e66558f0c90b89ec3f6fd9e9d1c4f1fd216bbd5620935a84f032069016bcb177c7765ddb71286189e2450b3066a1a690cea5
|
7
|
+
data.tar.gz: a279f863eb14a8cc76249ce2076af1797d748e73a4d4632bdb3500c32acda8fdabc9c47b6bc1448b07b1f6e141999dc691714a504f1aa20355f436c65b9dc7df
|
data/cockpit/css/ui.css
CHANGED
@@ -21,22 +21,25 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
21
21
|
|
22
22
|
#current-instance-properties[href]:after {
|
23
23
|
content: "|";
|
24
|
-
}
|
24
|
+
}
|
25
25
|
#current-instance-subscriptions[href]:after {
|
26
26
|
content: "|";
|
27
|
-
}
|
27
|
+
}
|
28
28
|
|
29
|
-
#parameters ui-content { height:
|
29
|
+
#parameters ui-content { height: 8.5em; min-height: 1.7em; }
|
30
30
|
|
31
31
|
#areadataelements { height: 100%; overflow-x: hidden; overflow-y: scroll; }
|
32
|
+
#areadataelements button.relaxngui_control { display: none; }
|
32
33
|
#areaendpoints { height: 100%; overflow-x: hidden; overflow-y: scroll; }
|
34
|
+
#areaendpoints button.relaxngui_control { display: none; }
|
33
35
|
#areaattributes { height: 100%; overflow-x: hidden; overflow-y: scroll; }
|
36
|
+
#areaattributes button.relaxngui_control { display: none; }
|
34
37
|
|
35
38
|
#areainstance input[type=file] { display: none; }
|
36
39
|
#areainstance div.section { display: table-cell; vertical-align: middle; }
|
37
40
|
#areainstance div.section:nth-child(1) { padding: 0 0.5em 0 0; }
|
38
|
-
#areainstance div.section:nth-child(2) { border-left: 1px solid
|
39
|
-
#areainstance div.section:nth-child(3) { border-left: 1px solid
|
41
|
+
#areainstance div.section:nth-child(2) { border-left: 1px solid #a1a1a1; padding: 0 0.5em; }
|
42
|
+
#areainstance div.section:nth-child(3) { border-left: 1px solid #a1a1a1; padding: 0 0 0 0.5em; }
|
40
43
|
|
41
44
|
#areainstance div.section:nth-child(1) div { vertical-align: middle; margin: 0; padding: 0; }
|
42
45
|
#areainstance div.section:nth-child(1) button { vertical-align: middle; margin: 0; padding: 0; }
|
@@ -56,7 +59,7 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
56
59
|
#areaexecution table.compact tbody.debug tr:last-child td { padding-bottom: 0.5em; }
|
57
60
|
#areaexecution table.compact tbody.debug tr:last-child td input { vertical-align: middle; }
|
58
61
|
#areaexecution table.compact tbody.exe tr:first-child td { padding-top: 0.5em; }
|
59
|
-
#areaexecution table.compact tbody.exe { border-top: 1px solid
|
62
|
+
#areaexecution table.compact tbody.exe { border-top: 1px solid #a1a1a1; }
|
60
63
|
|
61
64
|
#areaexecution table.compact tbody.exe td { height: 2.2em; }
|
62
65
|
|
@@ -68,15 +71,6 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
68
71
|
padding:0;
|
69
72
|
width: 100%;
|
70
73
|
}
|
71
|
-
#dat_endpoints button { border: 1pt solid buttonshadow; padding: 0; }
|
72
|
-
#dat_endpoints td:nth-child(1) { width: 1.2em; font-size: 1.3em; font-weight: bold; }
|
73
|
-
#dat_endpoints td:nth-child(2) { width: 8em; }
|
74
|
-
#dat_endpoints td:nth-child(3) { width: 1em; }
|
75
|
-
#dat_endpoints tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
|
76
|
-
#dat_endpoints tr:nth-child(odd) input { background-color: ButtonFace; }
|
77
|
-
#dat_endpoints input { border: 0 none; padding: 0; margin: 0; }
|
78
|
-
#dat_endpoints input:first-child { border: 0 none; width: 8em; }
|
79
|
-
#dat_endpoints input:last-child { border: 0 none; width: 100%; }
|
80
74
|
|
81
75
|
#dat_dataelements {
|
82
76
|
border-collapse:collapse;
|
@@ -86,16 +80,6 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
86
80
|
padding:0;
|
87
81
|
width: 100%;
|
88
82
|
}
|
89
|
-
#dat_dataelements button { border: 1pt solid buttonshadow; padding: 0; }
|
90
|
-
#dat_dataelements td:nth-child(1) { width: 1.2em; font-size: 1.3em; font-weight: bold;}
|
91
|
-
#dat_dataelements td:nth-child(2) { width: 8em; }
|
92
|
-
#dat_dataelements td:nth-child(3) { width: 1em; }
|
93
|
-
#dat_dataelements tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
|
94
|
-
#dat_dataelements tr:nth-child(odd) input { background-color: ButtonFace; }
|
95
|
-
#dat_dataelements input { border: 0 none; padding: 0; margin: 0; }
|
96
|
-
#dat_dataelements input:first-child { border: 0 none; width: 8em; }
|
97
|
-
#dat_dataelements input:last-child { border: 0 none; width: 100%; }
|
98
|
-
|
99
83
|
#dat_attributes {
|
100
84
|
border-collapse:collapse;
|
101
85
|
border-spacing:0;
|
@@ -104,21 +88,12 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
104
88
|
padding:0;
|
105
89
|
width: 100%;
|
106
90
|
}
|
107
|
-
#dat_attributes button { border: 1pt solid buttonshadow; padding: 0; }
|
108
|
-
#dat_attributes td:nth-child(1) { width: 1.2em; font-size: 1.3em; font-weight: bold;}
|
109
|
-
#dat_attributes td:nth-child(2) { width: 8em; }
|
110
|
-
#dat_attributes td:nth-child(3) { width: 1em; }
|
111
|
-
#dat_attributes tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
|
112
|
-
#dat_attributes tr:nth-child(odd) input { background-color: ButtonFace; }
|
113
|
-
#dat_attributes input { border: 0 none; padding: 0; margin: 0; }
|
114
|
-
#dat_attributes input:first-child { border: 0 none; width: 8em; }
|
115
|
-
#dat_attributes input:last-child { border: 0 none; width: 100%; }
|
116
91
|
|
117
92
|
#areadsl div { padding: 0 1em; }
|
118
93
|
#areadsl div:first-child { padding-top: 1em; }
|
119
94
|
#areadsl div:last-child { padding-bottom: 1em; }
|
120
95
|
#areadsl pre {
|
121
|
-
font-family: monospace;
|
96
|
+
font-family: monospace;
|
122
97
|
font-size:1.3em;
|
123
98
|
}
|
124
99
|
|
@@ -135,35 +110,19 @@ span.vote {
|
|
135
110
|
color: #73d216;
|
136
111
|
}
|
137
112
|
|
138
|
-
#graphcolumn {
|
139
|
-
margin: 0;
|
140
|
-
padding: 0;
|
141
|
-
border-right: 1px solid
|
113
|
+
#graphcolumn {
|
114
|
+
margin: 0;
|
115
|
+
padding: 0;
|
116
|
+
border-right: 1px solid #a1a1a1;
|
142
117
|
min-width: 9em;
|
143
118
|
}
|
144
|
-
#detailcolumn {
|
145
|
-
padding-left: 1.5em;
|
119
|
+
#detailcolumn {
|
120
|
+
padding-left: 1.5em;
|
146
121
|
}
|
147
122
|
|
148
|
-
#dat_log tr:nth-child(odd) { background-color:
|
149
|
-
|
150
|
-
#dat_details
|
151
|
-
#dat_details td.pname { width: 7em; }
|
152
|
-
#dat_details td.cname { width: 10.2em; }
|
153
|
-
#dat_details td.sep { width: 1em; }
|
154
|
-
#dat_details tr.indent td:nth-child(1) { padding-left: 2em;}
|
155
|
-
#dat_details tr:nth-child(odd) input { background-color: ButtonFace; }
|
156
|
-
#dat_details tr:nth-child(odd) textarea { background-color: ButtonFace; }
|
157
|
-
#dat_details tr:nth-child(odd) select { background-color: ButtonFace; }
|
158
|
-
#dat_details tr:nth-child(even) select { background-color: white; }
|
159
|
-
#dat_details input { border: 0 none; width: 100%; padding: 0; margin: 0; }
|
160
|
-
#dat_details select { border: 0 none; width: 100%; padding: 0; margin: 0; }
|
161
|
-
#dat_details textarea { border: 0 none; width: 100%; padding: 0; margin: 0; }
|
162
|
-
#dat_details tr.header td { padding-bottom:0.2em; padding-top: 0.6em; }
|
163
|
-
#dat_details tr.sizer td { padding:0; margin:0; }
|
164
|
-
|
165
|
-
#dat_details tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
|
166
|
-
#dat_details .header button { border: 1pt solid buttonshadow; }
|
123
|
+
#dat_log tr:nth-child(odd) { background-color: #e8e8e8; color: #333; }
|
124
|
+
|
125
|
+
#dat_details { border: 0 none; border-top: 1em solid white; border-bottom: 1em solid white; width: inherit; border-right: 1em solid white; }
|
167
126
|
|
168
127
|
#disclaimer { margin: 1em; }
|
169
128
|
#disclaimer p { max-width: 80ex; text-align: justify; }
|
data/cockpit/css/wfadaptor.css
CHANGED
@@ -72,6 +72,17 @@ svg .stand {
|
|
72
72
|
stroke-opacity:1;
|
73
73
|
stroke-dasharray:none;
|
74
74
|
}
|
75
|
+
svg .normal {
|
76
|
+
fill:#000000;
|
77
|
+
fill-opacity:1;
|
78
|
+
stroke:#000000;
|
79
|
+
stroke-width:0.2;
|
80
|
+
stroke-linecap:round;
|
81
|
+
stroke-linejoin:round;
|
82
|
+
stroke-miterlimit:4;
|
83
|
+
stroke-opacity:1;
|
84
|
+
stroke-dasharray:none;
|
85
|
+
}
|
75
86
|
svg .black {
|
76
87
|
fill:#000000;
|
77
88
|
fill-opacity:1;
|
data/cockpit/index.html
CHANGED
@@ -22,11 +22,12 @@
|
|
22
22
|
|
23
23
|
<!-- libs, do not modify. When local than load local libs. -->
|
24
24
|
<script type="text/javascript">
|
25
|
-
if (document.location.hostname == 'localhost') {
|
25
|
+
if ((document.location.hostname == 'localhost') && (document.location.protocol == 'http:')) {
|
26
26
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.min.js">\x3C/script>');
|
27
27
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.browser.js">\x3C/script>');
|
28
28
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.svg.min.js">\x3C/script>');
|
29
29
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.svgdom.min.js">\x3C/script>');
|
30
|
+
document.write('<script type="text/javascript" src="http://localhost/js_libs/vkbeautify.js">\x3C/script>');
|
30
31
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/util.js">\x3C/script>');
|
31
32
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/printf.js">\x3C/script>');
|
32
33
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/strftime.min.js">\x3C/script>');
|
@@ -34,17 +35,43 @@
|
|
34
35
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/underscore.min.js">\x3C/script>');
|
35
36
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.caret.min.js">\x3C/script>');
|
36
37
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/jquery.cookie.js">\x3C/script>');
|
38
|
+
document.write('<script type="text/javascript" src="http://localhost/js_libs/relaxngui.js">\x3C/script>');
|
37
39
|
|
38
40
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/ui.js">\x3C/script>');
|
39
41
|
document.write('<script type="text/javascript" src="http://localhost/js_libs/custommenu.js">\x3C/script>');
|
40
42
|
|
41
43
|
document.write('<link rel="stylesheet" href="http://localhost/js_libs/custommenu.css" type="text/css"/>');
|
42
44
|
document.write('<link rel="stylesheet" href="http://localhost/js_libs/ui.css" type="text/css"/>');
|
45
|
+
|
46
|
+
document.write('<link rel="stylesheet" href="http://localhost/js_libs/relaxngui.css" type="text/css"/>');
|
47
|
+
} else if ((document.location.hostname == 'localhost') && (document.location.protocol == 'https:')) {
|
48
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.min.js">\x3C/script>');
|
49
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.browser.js">\x3C/script>');
|
50
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.svg.min.js">\x3C/script>');
|
51
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.svgdom.min.js">\x3C/script>');
|
52
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/vkbeautify.js">\x3C/script>');
|
53
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/util.js">\x3C/script>');
|
54
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/printf.js">\x3C/script>');
|
55
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/strftime.min.js">\x3C/script>');
|
56
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/parsequery.js">\x3C/script>');
|
57
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/underscore.min.js">\x3C/script>');
|
58
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.caret.min.js">\x3C/script>');
|
59
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/jquery.cookie.js">\x3C/script>');
|
60
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/relaxngui.js">\x3C/script>');
|
61
|
+
|
62
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/ui.js">\x3C/script>');
|
63
|
+
document.write('<script type="text/javascript" src="https://localhost/js_libs/custommenu.js">\x3C/script>');
|
64
|
+
|
65
|
+
document.write('<link rel="stylesheet" href="https://localhost/js_libs/custommenu.css" type="text/css"/>');
|
66
|
+
document.write('<link rel="stylesheet" href="https://localhost/js_libs/ui.css" type="text/css"/>');
|
67
|
+
|
68
|
+
document.write('<link rel="stylesheet" href="https://localhost/js_libs/relaxngui.css" type="text/css"/>');
|
43
69
|
} else {
|
44
70
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.min.js">\x3C/script>');
|
45
71
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.browser.js">\x3C/script>');
|
46
72
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.svg.min.js">\x3C/script>');
|
47
73
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.svgdom.min.js">\x3C/script>');
|
74
|
+
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/vkbeautify.js">\x3C/script>');
|
48
75
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/util.js">\x3C/script>');
|
49
76
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/printf.js">\x3C/script>');
|
50
77
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/strftime.min.js">\x3C/script>');
|
@@ -53,17 +80,20 @@
|
|
53
80
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.caret.min.js">\x3C/script>');
|
54
81
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.cookie.js">\x3C/script>');
|
55
82
|
|
83
|
+
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.js">\x3C/script>');
|
84
|
+
|
56
85
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/ui.js">\x3C/script>');
|
57
86
|
document.write('<script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/custommenu.js">\x3C/script>');
|
58
87
|
|
59
88
|
document.write('<link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/custommenu.css" type="text/css"/>');
|
60
89
|
document.write('<link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/ui.css" type="text/css"/>');
|
90
|
+
|
91
|
+
document.write('<link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.css" type="text/css"/>');
|
61
92
|
}
|
62
93
|
</script>
|
63
94
|
|
64
95
|
<!-- modelling ui -->
|
65
96
|
<script type="text/javascript" src="js/wfadaptor.js"></script>
|
66
|
-
<script type="text/javascript" src="js/wfadaptor.cpee.js"></script>
|
67
97
|
<link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
|
68
98
|
|
69
99
|
<!-- custom stuff, play arround -->
|
@@ -73,8 +103,8 @@
|
|
73
103
|
<script type="text/javascript" src="js/parameters.js"></script>
|
74
104
|
<link rel="stylesheet" href="css/ui.css" type="text/css"/>
|
75
105
|
</head>
|
76
|
-
<body data-defaultport="9298" is="x-ui">
|
77
|
-
<div id='disclaimer' class='hidden'>
|
106
|
+
<body data-defaultport="9298" data-theme-base="themes" is="x-ui">
|
107
|
+
<div id='disclaimer' class='hidden'> <!--{{{-->
|
78
108
|
<h1>Disclaimer</h1>
|
79
109
|
|
80
110
|
<p>
|
@@ -83,14 +113,14 @@
|
|
83
113
|
and you should seek further guidance and make independent enquiries
|
84
114
|
before relying upon it.
|
85
115
|
</p>
|
86
|
-
|
116
|
+
|
87
117
|
<p>
|
88
118
|
All functionality included in this demonstrator is subject to change
|
89
119
|
without notice. We make no representation or warranty whatsoever
|
90
120
|
regarding the completeness, accuracy, adequacy, suitability or
|
91
121
|
operation of this demonstrator, or of the results it produces.
|
92
122
|
</p>
|
93
|
-
|
123
|
+
|
94
124
|
<p>
|
95
125
|
We assume no responsibility for process instances created with this
|
96
126
|
demonstrator and disclaim all liability arising from negligence or
|
@@ -101,7 +131,7 @@
|
|
101
131
|
this demonstrator, or from any action or omission taken as a result of
|
102
132
|
using this demonstrator.
|
103
133
|
</p>
|
104
|
-
|
134
|
+
|
105
135
|
<p>
|
106
136
|
This demonstrator was created in Austria. All liability is excluded to the extent
|
107
137
|
permitted by law including any implied terms. Any interpretation of its
|
@@ -122,67 +152,11 @@
|
|
122
152
|
<p>
|
123
153
|
<button id='icontinue' disabled='disabled'>Continue</button>
|
124
154
|
</p>
|
125
|
-
</div>
|
155
|
+
</div> <!--}}}-->
|
126
156
|
|
127
|
-
|
128
|
-
<table id="dat_template_pair" class='hidden'> <!--{{{-->
|
129
|
-
<tr class="pair">
|
130
|
-
<td class='del'><a href='' tabindex='-1' title='Delete Item (Ctrl-D)'>✖</a></td>
|
131
|
-
<td class='pname'><input pattern="[a-zA-Z][a-zA-Z0-9_]*" placeholder='fill in name...' type='text' class='pair_name' value=''/></td>
|
132
|
-
<td class='sep'>⇒</td>
|
133
|
-
<td class='pvalue'><input placeholder='fill in value...' class='pair_value' value=''/></td>
|
134
|
-
</tr>
|
135
|
-
</table> <!--}}}-->
|
136
|
-
<table id="prop_template_sizer" class='hidden'> <!--{{{-->
|
137
|
-
<tr class='sizer'>
|
138
|
-
<td class='del'></td>
|
139
|
-
<td class='pname'></td>
|
140
|
-
<td class='sep'></td>
|
141
|
-
<td class='value'></td>
|
142
|
-
</tr>
|
143
|
-
</table> <!--}}}-->
|
144
|
-
<table id="prop_template_input" class='hidden'> <!--{{{-->
|
145
|
-
<tr>
|
146
|
-
<td class='cname' colspan='2'><strong class="prop_name"></strong></td>
|
147
|
-
<td class='sep'>⇒</td>
|
148
|
-
<td class='value'><input type="text" class="prop_value" value=""/></td>
|
149
|
-
</tr>
|
150
|
-
</table> <!--}}}-->
|
151
|
-
<table id="prop_template_readonly" class='hidden'> <!--{{{-->
|
152
|
-
<tr>
|
153
|
-
<td class='cname' colspan='2'><strong class="prop_name"></strong></td>
|
154
|
-
<td class='sep'>⇒</td>
|
155
|
-
<td class='value'><input type="text" readonly='readonly' class="prop_value" value=""/></td>
|
156
|
-
</tr>
|
157
|
-
</table> <!--}}}-->
|
158
|
-
<table id="prop_template_area" class='hidden'> <!--{{{-->
|
159
|
-
<tr>
|
160
|
-
<td class='cname' colspan='2'><strong class="prop_name"></strong></td>
|
161
|
-
<td class='sep'>⇒</td>
|
162
|
-
<td class='value'><textarea rows='3' class="prop_value"></textarea></td>
|
163
|
-
</tr>
|
164
|
-
</table> <!--}}}-->
|
165
|
-
<table id="prop_template_header" class='hidden'> <!--{{{-->
|
166
|
-
<tr class='header'>
|
167
|
-
<td colspan='4'><strong class="header_value"></strong> <button title='Ctrl-N while editing entry'>New</button></td>
|
168
|
-
</tr>
|
169
|
-
</table> <!--}}}-->
|
170
|
-
<table id="prop_template_line" class='hidden'> <!--{{{-->
|
171
|
-
<tr>
|
172
|
-
<td class='cname' colspan='2'></td>
|
173
|
-
<td class='sep'>⇒</td>
|
174
|
-
<td class='value'><em class="line_main"></em><em>:</em> <span class='line_text'></span></td>
|
175
|
-
</tr>
|
176
|
-
</table> <!--}}}-->
|
177
|
-
<table id="prop_template_select" class='hidden'> <!--{{{-->
|
178
|
-
<tr>
|
179
|
-
<td class='cname' colspan='2'><strong class="prop_name"></strong></td>
|
180
|
-
<td class='sep'>⇒</td>
|
181
|
-
<td class='value'><select class="prop_value"></select></td>
|
182
|
-
</tr>
|
183
|
-
</table> <!--}}}-->
|
157
|
+
<div class='hidden' id='relaxngworker'></div>
|
184
158
|
|
185
|
-
<div class='menu' id='predefinedtestsets'></div>
|
159
|
+
<div class='menu' id='predefinedtestsets'></div>
|
186
160
|
<div class='menu' id='modeltypes'></div>
|
187
161
|
|
188
162
|
<ui-tabbed id="instance">
|
@@ -217,7 +191,7 @@
|
|
217
191
|
<div>
|
218
192
|
<input type='file' name='modelfile' id='modelfile'/>
|
219
193
|
<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>
|
220
|
-
</div>
|
194
|
+
</div>
|
221
195
|
</div><div class='section'>
|
222
196
|
<a id="savetestset" href="" download=""></a>
|
223
197
|
<a id="savesvg" href="" download=""></a>
|
@@ -229,7 +203,7 @@
|
|
229
203
|
</div>
|
230
204
|
<div>
|
231
205
|
<button title='a testset includes various setting, subscriptions and a model' name="loadmodeltype">set model type</button>
|
232
|
-
</div>
|
206
|
+
</div>
|
233
207
|
</div>
|
234
208
|
</ui-area> <!--}}}-->
|
235
209
|
<ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
|
@@ -239,7 +213,7 @@
|
|
239
213
|
<td>Debugging:</td>
|
240
214
|
<td><input type="checkbox" name="votecontinue"/></td>
|
241
215
|
</tr>
|
242
|
-
</tbody>
|
216
|
+
</tbody>
|
243
217
|
<tbody class='exe'>
|
244
218
|
<tr>
|
245
219
|
<td>Execution State:</td>
|
@@ -265,7 +239,7 @@
|
|
265
239
|
</ui-tabbar>
|
266
240
|
<ui-content>
|
267
241
|
<ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
|
268
|
-
<
|
242
|
+
<div id="dat_dataelements"></div>
|
269
243
|
</ui-area> <!--}}}-->
|
270
244
|
<ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
|
271
245
|
<table id="dat_endpoints"></table>
|
@@ -292,7 +266,7 @@
|
|
292
266
|
</ui-area>
|
293
267
|
<ui-resizehandle data-belongs-to-tab="details">drag to resize</ui-resizehandle>
|
294
268
|
<ui-area data-belongs-to-tab="details" id="detailcolumn">
|
295
|
-
<
|
269
|
+
<div id="dat_details" class='layout'></div>
|
296
270
|
</ui-area>
|
297
271
|
<ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
|
298
272
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
data/cockpit/js/details.js
CHANGED
@@ -1,154 +1,65 @@
|
|
1
1
|
$(document).ready(function() {
|
2
|
-
$('#main ui-behind button').hide();
|
2
|
+
$('#main ui-tabbar ui-behind button').hide();
|
3
3
|
|
4
|
-
// save
|
4
|
+
// save button shown or not //{{{
|
5
5
|
$('#main ui-tabbar ui-tab:not(.switch)').click(function(event){
|
6
|
-
var me = $(event.target)
|
7
|
-
if ($('#state').text() != 'finished')
|
8
|
-
if (me.
|
9
|
-
|
6
|
+
var me = $(event.target);
|
7
|
+
if ($('#state').text() != 'finished') {
|
8
|
+
if (me.data('tab') == 'details') {
|
9
|
+
if (!$("#dat_details").is(':empty')) {
|
10
|
+
$('#main ui-tabbar ui-behind button').show();
|
11
|
+
}
|
10
12
|
} else {
|
11
|
-
$('#main ui-behind button').hide();
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
// New entry //{{{
|
16
|
-
$(document).on('click','#main .header button',function(){
|
17
|
-
var node = new_entry($(this).parents('ui-tabbed'));
|
18
|
-
node.addClass('indent');
|
19
|
-
}); //}}}
|
20
|
-
|
21
|
-
// Delete entries //{{{
|
22
|
-
$(document).on('click','#main td.del a',function(event){
|
23
|
-
var top = $(event.target).parents('ui-tabbed');
|
24
|
-
remove_entry($("input",$(event.target).parents('tr')).get(0),false);
|
25
|
-
mark_main_save(top);
|
26
|
-
return false;
|
27
|
-
}); //}}}
|
28
|
-
|
29
|
-
// Save entries //{{{
|
30
|
-
$('#main ui-behind button').click(function(event){
|
31
|
-
save_main($(event.target).parents('ui-tabbed'));
|
13
|
+
$('#main ui-tabbar ui-behind button').hide();
|
14
|
+
}
|
15
|
+
}
|
32
16
|
}); //}}}
|
33
17
|
|
34
|
-
$(
|
35
|
-
|
36
|
-
|
18
|
+
$('#main ui-tabbar ui-behind button').click(function(event){
|
19
|
+
if (save['details'].has_changed()) {
|
20
|
+
var visid = 'details';
|
21
|
+
var svgid = save[visid + '_target'].svgid;
|
22
|
+
var desc = save[visid + '_target'].model;
|
23
|
+
var node = desc.get_node_by_svg_id(svgid);
|
37
24
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
var details = serialize_details(tab).serializeXML();
|
42
|
-
|
43
|
-
if (details != save[visid]) {
|
44
|
-
$('ui-tabbar ui-behind button',top).addClass('highlight');
|
45
|
-
} else {
|
46
|
-
$('ui-tabbar ui-behind button',top).removeClass('highlight');
|
47
|
-
}
|
48
|
-
} //}}}
|
49
|
-
function save_main(top) { //{{{
|
50
|
-
var visid = $('ui-tabbar ui-tab',top).not('.switch').not('.inactive').attr('id').replace(/tab/,'');
|
51
|
-
var tab = $('#dat_' + visid);
|
52
|
-
var node = graphrealization.description.get_node_by_svg_id($('input.pname_svgid').val());
|
53
|
-
var details = serialize_details(tab).serializeXML();
|
54
|
-
if (details != save[visid]) {
|
55
|
-
save[visid] = details;
|
56
|
-
$('ui-tabbar ui-behind button',top).removeClass('highlight');
|
25
|
+
var url = $("#current-instance").text();
|
26
|
+
$('#main ui-tabbar ui-behind button').removeClass('highlight');
|
27
|
+
save['details'].set_checkpoint();
|
57
28
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
29
|
+
// pull out xml and add XMLNS
|
30
|
+
// sadly we have to serialze, add in string and then parse again
|
31
|
+
// as adding namespaces to nodes is not supported
|
32
|
+
// serialization and reparsing is faster and more robust than xslt option
|
33
|
+
var nnew = $(save['details'].save().documentElement);
|
34
|
+
nnew.attr('svg-id',svgid);
|
35
|
+
nnew.attr('trans-xmlns','http://cpee.org/ns/description/1.0');
|
64
36
|
|
65
|
-
|
66
|
-
|
67
|
-
|
37
|
+
if ($('*[svg-id]',node).length > 0) {
|
38
|
+
// TODO maybe not all children. Maybe only thingies that have svg-id but nothing with svg-id between it and node.
|
39
|
+
nnew.append(node.children());
|
40
|
+
}
|
68
41
|
|
69
|
-
|
70
|
-
|
71
|
-
var url = $("#current-instance").text();
|
72
|
-
$.ajax({
|
73
|
-
type: "PUT",
|
74
|
-
url: url + "/properties/values/description/",
|
75
|
-
data: ({'content': '<content>' + serxml + '</content>'}),
|
76
|
-
});
|
77
|
-
}
|
42
|
+
var ntxt = nnew.serializeXML();
|
43
|
+
ntxt = ntxt.replace(/trans-xmlns/,'xmlns');
|
78
44
|
|
79
|
-
|
80
|
-
var ele = $('input.pname_element',parent).val();
|
81
|
-
var xml = $X('<' + ele + ' xmlns="http://cpee.org/ns/description/1.0"/>');
|
82
|
-
switch(ele) {
|
83
|
-
case 'call':
|
84
|
-
xml.attr('id',$('input.pname_id').val());
|
85
|
-
xml.attr('endpoint',$('input.pname_endpoint').val());
|
45
|
+
node.replaceWith($X(ntxt));
|
86
46
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
var labl = $X('<label xmlns="http://cpee.org/ns/description/1.0"/>');
|
95
|
-
labl.text($('input.pname_label',parent).val());
|
96
|
-
para.append(labl);
|
97
|
-
para.append(meth);
|
98
|
-
para.append(pars);
|
99
|
-
$('tr.pair',parent).each(function(){
|
100
|
-
var nam = $('input.pair_name',this).val();
|
101
|
-
var val = $('input.pair_value',this).val();
|
102
|
-
var par = $X('<' + nam + ' xmlns="http://cpee.org/ns/description/1.0"/>');
|
103
|
-
par.text(val);
|
104
|
-
pars.append(par);
|
105
|
-
});
|
106
|
-
}
|
47
|
+
$.ajax({
|
48
|
+
type: "PUT",
|
49
|
+
url: url + "/properties/values/description/",
|
50
|
+
data: ({'content': '<content>' + desc.get_description() + '</content>'})
|
51
|
+
});
|
52
|
+
}
|
53
|
+
}); //}}}
|
107
54
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
xml.append(mani);
|
112
|
-
}
|
113
|
-
if ($('textarea.pname_update',parent).length > 0) {
|
114
|
-
var mani = $X('<update xmlns="http://cpee.org/ns/description/1.0"/>');
|
115
|
-
mani.text($('textarea.pname_update',parent).val());
|
116
|
-
xml.append(mani);
|
117
|
-
}
|
118
|
-
break;
|
119
|
-
case 'manipulate':
|
120
|
-
xml.attr('id',$('input.pname_id').val());
|
121
|
-
if ($('textarea.pname_script',parent).length > 0) {
|
122
|
-
xml.text($('textarea.pname_script',parent).val());
|
123
|
-
}
|
124
|
-
break;
|
125
|
-
case 'loop':
|
126
|
-
xml.attr($('select.pname_mode').val(),$('input.pname_condition').val());
|
127
|
-
break;
|
128
|
-
case 'choose':
|
129
|
-
xml.attr('mode',$('select.pname_mode').val());
|
130
|
-
break;
|
131
|
-
case 'alternative':
|
132
|
-
xml.attr('condition',$('input.pname_condition').val());
|
133
|
-
break;
|
134
|
-
case 'critical':
|
135
|
-
xml.attr('sid',$('input.pname_sid').val());
|
136
|
-
break;
|
137
|
-
case 'parallel':
|
138
|
-
if (parseInt($('input.pname_wait').val()) > -1) {
|
139
|
-
xml.attr('wait',$('input.pname_wait').val());
|
140
|
-
}
|
141
|
-
break;
|
142
|
-
case 'parallel_branch':
|
143
|
-
if ($('input.pname_pass',parent).length > 0) {
|
144
|
-
xml.attr('pass',$('input.pname_pass').val());
|
145
|
-
}
|
146
|
-
if ($('input.pname_local',parent).length > 0) {
|
147
|
-
xml.attr('local',$('input.pname_local').val());
|
148
|
-
}
|
149
|
-
break;
|
150
|
-
// TODO group
|
151
|
-
}
|
55
|
+
$(document).on('input','#dat_details input, #dat_details textarea, #dat_details select',function(e){ mark_main_save(); });
|
56
|
+
$(document).on('change','#dat_details select',function(e){ mark_main_save(); });
|
57
|
+
});
|
152
58
|
|
153
|
-
|
59
|
+
function mark_main_save() { //{{{
|
60
|
+
if (save['details'].has_changed()) {
|
61
|
+
$('#main ui-tabbar ui-behind button').addClass('highlight');
|
62
|
+
} else {
|
63
|
+
$('#main ui-tabbar ui-behind button').removeClass('highlight');
|
64
|
+
}
|
154
65
|
} //}}}
|