-
Notifications
You must be signed in to change notification settings - Fork 3
/
kie-palette.html
411 lines (363 loc) · 22 KB
/
kie-palette.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>New Process Editor Palette</title>
<link href="css/kie-main.css" rel="stylesheet" media="screen, print">
</head>
<body style="background-color: lightblue;">
<div style="background-color: yellow; position: absolute; left: 100px; top: 100px; right: 100px; bottom: 100px; overflow: clip;"> <!-- wrapper div -->
<div style="background-color: white; position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; padding-left: 55px; overflow: scroll;"> <!-- canvas div -->
<p style="">
Lorem ipsum dolor sit amet, meis maiorum appetere cu duo, audire oblique no eam. Mel modo ornatus corrumpit ea, odio eruditi albucius ea nec. Invidunt facilisi ne eos. Per zril tractatos assueverit id, in quo nullam accumsan praesent. Enim antiopam per id. Id pro vidit reformidans, essent quodsi an sit.
Te alii wisi mundi ius, eam eruditi explicari an, an debet accusam appetere per. Denique gubergren eam no, cu sea vocent quaeque fierent. At his oportere indoctum, ad mel populo inermis. Amet theophrastus usu te, vis brute ignota officiis ei.
Ei putant vocent utroque vim, iudico ponderum scripserit no sea, sea velit noster cu. Mea illum platonem et. Iisque sadipscing ex sea, ne albucius consectetuer necessitatibus vix, cu nec menandri similique theophrastus. Ad cum possit assueverit neglegentur, vis fugit debitis ei.
Insolens oportere te cum, ei mundi quodsi eum. Vivendo delicatissimi mea cu, nisl pericula duo in. Harum partem nominavi qui at, in veri etiam iudicabit pri. Sea id alii epicuri sadipscing. Eam assentior scriptorem ut. Ei est delenit theophrastus.
Ea has persius electram. Has delenit nominati ut, enim voluptatibus no sed. Nec dico accumsan postulant at, inani denique dissentiunt nec ex. Vel an eligendi senserit, eius quodsi et per. At vis ullum causae persecuti. Iusto altera qualisque ex nec. Per ex omittam facilisis. </p>
<p style="">
Lorem ipsum dolor sit amet, meis maiorum appetere cu duo, audire oblique no eam. Mel modo ornatus corrumpit ea, odio eruditi albucius ea nec. Invidunt facilisi ne eos. Per zril tractatos assueverit id, in quo nullam accumsan praesent. Enim antiopam per id. Id pro vidit reformidans, essent quodsi an sit.
Te alii wisi mundi ius, eam eruditi explicari an, an debet accusam appetere per. Denique gubergren eam no, cu sea vocent quaeque fierent. At his oportere indoctum, ad mel populo inermis. Amet theophrastus usu te, vis brute ignota officiis ei.
Ei putant vocent utroque vim, iudico ponderum scripserit no sea, sea velit noster cu. Mea illum platonem et. Iisque sadipscing ex sea, ne albucius consectetuer necessitatibus vix, cu nec menandri similique theophrastus. Ad cum possit assueverit neglegentur, vis fugit debitis ei.
Insolens oportere te cum, ei mundi quodsi eum. Vivendo delicatissimi mea cu, nisl pericula duo in. Harum partem nominavi qui at, in veri etiam iudicabit pri. Sea id alii epicuri sadipscing. Eam assentior scriptorem ut. Ei est delenit theophrastus.
Ea has persius electram. Has delenit nominati ut, enim voluptatibus no sed. Nec dico accumsan postulant at, inani denique dissentiunt nec ex. Vel an eligendi senserit, eius quodsi et per. At vis ullum causae persecuti. Iusto altera qualisque ex nec. Per ex omittam facilisis. </p>
<p style="">
Lorem ipsum dolor sit amet, meis maiorum appetere cu duo, audire oblique no eam. Mel modo ornatus corrumpit ea, odio eruditi albucius ea nec. Invidunt facilisi ne eos. Per zril tractatos assueverit id, in quo nullam accumsan praesent. Enim antiopam per id. Id pro vidit reformidans, essent quodsi an sit.
Te alii wisi mundi ius, eam eruditi explicari an, an debet accusam appetere per. Denique gubergren eam no, cu sea vocent quaeque fierent. At his oportere indoctum, ad mel populo inermis. Amet theophrastus usu te, vis brute ignota officiis ei.
Ei putant vocent utroque vim, iudico ponderum scripserit no sea, sea velit noster cu. Mea illum platonem et. Iisque sadipscing ex sea, ne albucius consectetuer necessitatibus vix, cu nec menandri similique theophrastus. Ad cum possit assueverit neglegentur, vis fugit debitis ei.
Insolens oportere te cum, ei mundi quodsi eum. Vivendo delicatissimi mea cu, nisl pericula duo in. Harum partem nominavi qui at, in veri etiam iudicabit pri. Sea id alii epicuri sadipscing. Eam assentior scriptorem ut. Ei est delenit theophrastus.
Ea has persius electram. Has delenit nominati ut, enim voluptatibus no sed. Nec dico accumsan postulant at, inani denique dissentiunt nec ex. Vel an eligendi senserit, eius quodsi et per. At vis ullum causae persecuti. Iusto altera qualisque ex nec. Per ex omittam facilisis. </p>
<p style="">
Lorem ipsum dolor sit amet, meis maiorum appetere cu duo, audire oblique no eam. Mel modo ornatus corrumpit ea, odio eruditi albucius ea nec. Invidunt facilisi ne eos. Per zril tractatos assueverit id, in quo nullam accumsan praesent. Enim antiopam per id. Id pro vidit reformidans, essent quodsi an sit.
Te alii wisi mundi ius, eam eruditi explicari an, an debet accusam appetere per. Denique gubergren eam no, cu sea vocent quaeque fierent. At his oportere indoctum, ad mel populo inermis. Amet theophrastus usu te, vis brute ignota officiis ei.
Ei putant vocent utroque vim, iudico ponderum scripserit no sea, sea velit noster cu. Mea illum platonem et. Iisque sadipscing ex sea, ne albucius consectetuer necessitatibus vix, cu nec menandri similique theophrastus. Ad cum possit assueverit neglegentur, vis fugit debitis ei.
Insolens oportere te cum, ei mundi quodsi eum. Vivendo delicatissimi mea cu, nisl pericula duo in. Harum partem nominavi qui at, in veri etiam iudicabit pri. Sea id alii epicuri sadipscing. Eam assentior scriptorem ut. Ei est delenit theophrastus.
Ea has persius electram. Has delenit nominati ut, enim voluptatibus no sed. Nec dico accumsan postulant at, inani denique dissentiunt nec ex. Vel an eligendi senserit, eius quodsi et per. At vis ullum causae persecuti. Iusto altera qualisque ex nec. Per ex omittam facilisis. </p>
<p style="">
Lorem ipsum dolor sit amet, meis maiorum appetere cu duo, audire oblique no eam. Mel modo ornatus corrumpit ea, odio eruditi albucius ea nec. Invidunt facilisi ne eos. Per zril tractatos assueverit id, in quo nullam accumsan praesent. Enim antiopam per id. Id pro vidit reformidans, essent quodsi an sit.
Te alii wisi mundi ius, eam eruditi explicari an, an debet accusam appetere per. Denique gubergren eam no, cu sea vocent quaeque fierent. At his oportere indoctum, ad mel populo inermis. Amet theophrastus usu te, vis brute ignota officiis ei.
Ei putant vocent utroque vim, iudico ponderum scripserit no sea, sea velit noster cu. Mea illum platonem et. Iisque sadipscing ex sea, ne albucius consectetuer necessitatibus vix, cu nec menandri similique theophrastus. Ad cum possit assueverit neglegentur, vis fugit debitis ei.
Insolens oportere te cum, ei mundi quodsi eum. Vivendo delicatissimi mea cu, nisl pericula duo in. Harum partem nominavi qui at, in veri etiam iudicabit pri. Sea id alii epicuri sadipscing. Eam assentior scriptorem ut. Ei est delenit theophrastus.
Ea has persius electram. Has delenit nominati ut, enim voluptatibus no sed. Nec dico accumsan postulant at, inani denique dissentiunt nec ex. Vel an eligendi senserit, eius quodsi et per. At vis ullum causae persecuti. Iusto altera qualisque ex nec. Per ex omittam facilisis. </p>
</div> <!-- canvas div -->
<div class="kie-palette">
<ul class="list-group ">
<!--
*** IMPORTANT *** Currently, for testing, there's a selector in the CSS that turns the palette button to white and shows the flyout using :focus-within.
*** So the show/hide of the flyout actually needs to be done in Javascript - it can add and remove the .kie-palette-show-flyout class to the .list-group-item
*** The Close X Button should remove the class, so that the flyout closes.
*** And then the :focus-within part of the selector can be removed
*** See comments in kie-palette.less ***
-->
<!-- START EVENTS -->
<li class="list-group-item "><!-- add .kie-palette-show-flyout to this element when clicked so that the flyout shows -->
<button class="btn btn-default" href="#">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/event-start_palette.svg" alt="Start Event"/>
</button>
<div id="events-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Start Events</h5>
<ul class="list-group">
<li class="list-group-item ">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/palette_icons/event-start_palette.svg" alt="Start Event"/>
<!--<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-start.svg" alt="Start Event"/>-->
<span class="list-group-item-value">Start</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-signal.svg" alt="Start from Signal"/>
<span class="list-group-item-value">Start from Signal</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-timer.svg" alt="Start from Timer"/>
<span class="list-group-item-value">Start from Timer</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-start-error.svg" alt="Start from Error"/>
<span class="list-group-item-value">Start from Error</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-message.svg" alt="Start from Message"/>
<span class="list-group-item-value">Start from Message</span>
</a>
</li>
</ul>
</div>
</li>
<!-- INTERMEDIATE EVENTS -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/event-intermediate_palette.svg" alt="Intermediate Event"/>
</button>
<div id="events-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Catching Intermediate Events</h5>
<ul class="list-group">
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-intermediate-timer.svg" alt="Intermediate Timer"/>
<span class="list-group-item-value">Intermediate Timer</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-intermediate-error.svg" alt="Intermediate Error"/>
<span class="list-group-item-value">Intermediate Error</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-intermediate-signal.svg" alt="Intermediate Signal"/>
<span class="list-group-item-value">Intermediate Signal</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-intermediate-message.svg" alt="Intermediate Message"/>
<span class="list-group-item-value">Intermediate Message</span>
</a>
</li>
</ul>
<h5>Throwing Intermediate Events</h5>
<ul class="list-group">
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-intermediate-signal-throwing.svg" alt="Intermediate Signal"/>
<span class="list-group-item-value">Intermediate Signal</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-intermediate-message-throwing.svg" alt="Intermediate Message"/>
<span class="list-group-item-value">Intermediate Message</span>
</a>
</li>
</ul>
</div>
</li>
<!-- END EVENTS -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/event-end_palette.svg" alt="Intermediate Event"/>
</button>
<div id="events-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>End Events</h5>
<ul class="list-group">
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/palette_icons/event-end_palette.svg" alt="End Event"/>
<span class="list-group-item-value">End</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-end-error.svg" alt="End Error"/>
<span class="list-group-item-value">End with Error</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-end-terminate.svg" alt="End with Terminate"/>
<span class="list-group-item-value">End with Terminate</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-end-message.svg" alt="End with Message"/>
<span class="list-group-item-value">End with Message</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/event/event-end-signal.svg" alt="End with Signal"/>
<span class="list-group-item-value">End with Signal</span>
</a>
</li>
</ul>
</div>
</li>
<!-- TASKS -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/task_palette.svg" alt="Tasks"/>
</button>
<div id="activities-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Tasks</h5>
<ul class="list-group">
<li class="list-group-item ">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-business-rule.svg" alt="Business Rule"/>
<span class="list-group-item-value">Business Rule</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-user.svg" alt="User"/>
<span class="list-group-item-value">User</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-script.svg" alt="Script"/>
<span class="list-group-item-value">Script</span>
</a>
</li>
</ul>
</div>
</li>
<!-- SUBPROCESSES -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/sub-process_palette.svg" alt="Subprocesses"/>
</button>
<div id="activities-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Subprocesses</h5>
<ul class="list-group">
<li class="list-group-item ">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/subprocess/subprocess-reusable.svg" alt="Reusable"/>
<span class="list-group-item-value">Reusable</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/subprocess/subprocess-reusable.svg" alt="Embedded"/>
<span class="list-group-item-value">Embedded</span>
</a>
</li>
</ul>
</div>
</li>
<!-- GATEWAYS -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/gateway_palette.svg" alt="Gateway"/>
</button>
<div id="gateways-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Gateways</h5>
<ul class="list-group">
<li class="list-group-item ">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/gateway/exclusive.svg" alt="Exclusive"/>
<span class="list-group-item-value">Exclusive</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/gateway/inclusive.svg" alt="Inclusive"/>
<span class="list-group-item-value">Inclusive</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/gateway/parallel_multiple.svg" alt="Parallel Multiple"/>
<span class="list-group-item-value">Parallel Multiple</span>
</a>
</li>
</ul>
</div>
</li>
<!-- CONTAINERS -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/container_palette.svg" alt="Containers"/>
</button>
<div id="containers-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Containers</h5>
<ul class="list-group">
<li class="list-group-item ">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/lane_icon.svg" alt="Lane"/>
<span class="list-group-item-value">Lane</span>
</a>
</li>
</ul>
</div>
</li>
<!-- SERVICE TASKS -->
<li class="list-group-item">
<button class="btn btn-default">
<img class="kie-palette-icon" src="images/stunner_images/palette_icons/task-service_palette.svg" alt="Service Task"/>
</button>
<div id="connectors-flyout" class="kie-palette-flyout">
<div class="kie-palette-flyout__close">
<button class="btn btn-link btn-large kie-palette-flyout__btn-link--close">
<span class="pficon pficon-close"></span>
</button>
</div>
<h5>Service Tasks</h5>
<ul class="list-group">
<li class="list-group-item ">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-service.svg" alt="Service Task"/>
<span class="list-group-item-value">Service Task 1</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-service.svg" alt="Service Task"/>
<span class="list-group-item-value">Service Task 2</span>
</a>
</li>
</ul>
<h5>More Service Tasks</h5>
<ul class="list-group">
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-service.svg" alt="Service Task"/>
<span class="list-group-item-value">Another service task 1</span>
</a>
</li>
<li class="list-group-item">
<a href="#">
<img class="kie-palette-flyout-icon" src="images/stunner_images/icons/task/task-service.svg" alt="Service Task"/>
<span class="list-group-item-value">Another service task 2</span>
</a>
</li>
</div>
</li>
</ul>
</div>
</div><!-- wrapper div -->
</body>
</html>