|
68 | 68 | } |
69 | 69 | } |
70 | 70 | }, |
| 71 | + |
| 72 | + reorder: { |
| 73 | + moveTop: { |
| 74 | + action: function(args) { |
| 75 | + setTimeout(function() { |
| 76 | + args.response.success(); |
| 77 | + }, 500); |
| 78 | + } |
| 79 | + }, |
| 80 | + moveBottom: { |
| 81 | + action: function(args) { |
| 82 | + setTimeout(function() { |
| 83 | + args.response.success(); |
| 84 | + }, 500); |
| 85 | + } |
| 86 | + }, |
| 87 | + moveUp: { |
| 88 | + action: function(args) { |
| 89 | + setTimeout(function() { |
| 90 | + args.response.success(); |
| 91 | + }, 500); |
| 92 | + } |
| 93 | + }, |
| 94 | + moveDown: { |
| 95 | + action: function(args) { |
| 96 | + setTimeout(function() { |
| 97 | + args.response.success(); |
| 98 | + }, 500); |
| 99 | + } |
| 100 | + }, |
| 101 | + moveDrag: { |
| 102 | + action: function(args) { |
| 103 | + setTimeout(function() { |
| 104 | + args.response.success(); |
| 105 | + }, 500); |
| 106 | + } |
| 107 | + } |
| 108 | + }, |
| 109 | + |
71 | 110 | dataProvider: function(args) { |
72 | 111 | setTimeout(function() { |
73 | 112 | args.response.success({ |
|
90 | 129 | memory: { label: 'Memory' }, |
91 | 130 | domain: { label: 'Domain'} |
92 | 131 | }, |
| 132 | + |
| 133 | + reorder: { |
| 134 | + moveTop: { |
| 135 | + action: function(args) { |
| 136 | + setTimeout(function() { |
| 137 | + args.response.success(); |
| 138 | + }, 500); |
| 139 | + } |
| 140 | + }, |
| 141 | + moveBottom: { |
| 142 | + action: function(args) { |
| 143 | + setTimeout(function() { |
| 144 | + args.response.success(); |
| 145 | + }, 500); |
| 146 | + } |
| 147 | + }, |
| 148 | + moveUp: { |
| 149 | + action: function(args) { |
| 150 | + setTimeout(function() { |
| 151 | + args.response.success(); |
| 152 | + }, 500); |
| 153 | + } |
| 154 | + }, |
| 155 | + moveDown: { |
| 156 | + action: function(args) { |
| 157 | + setTimeout(function() { |
| 158 | + args.response.success(); |
| 159 | + }, 500); |
| 160 | + } |
| 161 | + }, |
| 162 | + moveDrag: { |
| 163 | + action: function(args) { |
| 164 | + setTimeout(function() { |
| 165 | + args.response.success(); |
| 166 | + }, 500); |
| 167 | + } |
| 168 | + } |
| 169 | + }, |
| 170 | + |
93 | 171 | actions: { |
94 | 172 | add: { |
95 | 173 | label: 'Add system service offering', |
|
168 | 246 | }); |
169 | 247 | }, |
170 | 248 |
|
| 249 | + reorder: { |
| 250 | + moveTop: { |
| 251 | + action: function(args) { |
| 252 | + setTimeout(function() { |
| 253 | + args.response.success(); |
| 254 | + }, 500); |
| 255 | + } |
| 256 | + }, |
| 257 | + moveBottom: { |
| 258 | + action: function(args) { |
| 259 | + setTimeout(function() { |
| 260 | + args.response.success(); |
| 261 | + }, 500); |
| 262 | + } |
| 263 | + }, |
| 264 | + moveUp: { |
| 265 | + action: function(args) { |
| 266 | + setTimeout(function() { |
| 267 | + args.response.success(); |
| 268 | + }, 500); |
| 269 | + } |
| 270 | + }, |
| 271 | + moveDown: { |
| 272 | + action: function(args) { |
| 273 | + setTimeout(function() { |
| 274 | + args.response.success(); |
| 275 | + }, 500); |
| 276 | + } |
| 277 | + }, |
| 278 | + moveDrag: { |
| 279 | + action: function(args) { |
| 280 | + setTimeout(function() { |
| 281 | + args.response.success(); |
| 282 | + }, 500); |
| 283 | + } |
| 284 | + } |
| 285 | + }, |
| 286 | + |
171 | 287 | actions: { |
172 | 288 | add: { |
173 | 289 | label: 'Add disk offering', |
|
251 | 367 | traffictype: { label: 'Traffic Type'} |
252 | 368 | }, |
253 | 369 |
|
| 370 | + reorder: { |
| 371 | + moveTop: { |
| 372 | + action: function(args) { |
| 373 | + setTimeout(function() { |
| 374 | + args.response.success(); |
| 375 | + }, 500); |
| 376 | + } |
| 377 | + }, |
| 378 | + moveBottom: { |
| 379 | + action: function(args) { |
| 380 | + setTimeout(function() { |
| 381 | + args.response.success(); |
| 382 | + }, 500); |
| 383 | + } |
| 384 | + }, |
| 385 | + moveUp: { |
| 386 | + action: function(args) { |
| 387 | + setTimeout(function() { |
| 388 | + args.response.success(); |
| 389 | + }, 500); |
| 390 | + } |
| 391 | + }, |
| 392 | + moveDown: { |
| 393 | + action: function(args) { |
| 394 | + setTimeout(function() { |
| 395 | + args.response.success(); |
| 396 | + }, 500); |
| 397 | + } |
| 398 | + }, |
| 399 | + moveDrag: { |
| 400 | + action: function(args) { |
| 401 | + setTimeout(function() { |
| 402 | + args.response.success(); |
| 403 | + }, 500); |
| 404 | + } |
| 405 | + } |
| 406 | + }, |
| 407 | + |
254 | 408 | actions: { |
255 | 409 | add: { |
256 | 410 | label: 'Add network offering', |
|
327 | 481 |
|
328 | 482 | vlanId: { label: 'VLAN ID', isHidden: true, dependsOn: 'specifyVlan'}, |
329 | 483 |
|
330 | | - supportedServices: { |
| 484 | + supportedServices: { |
331 | 485 | label: 'Supported Services', |
332 | 486 |
|
333 | 487 | dynamic: function(args) { |
|
343 | 497 | }; |
344 | 498 |
|
345 | 499 | fields[id.isEnabled] = { label: this, isBoolean: true }; |
346 | | - fields[id.provider] = { |
| 500 | + fields[id.provider] = { |
347 | 501 | label: this + ' Provider', |
348 | 502 | isHidden: true, |
349 | 503 | dependsOn: id.isEnabled, |
|
368 | 522 | tags: { label: 'Tags' } |
369 | 523 | } |
370 | 524 | }, |
371 | | - |
| 525 | + |
372 | 526 | notification: { |
373 | 527 | poll: testData.notifications.testPoll |
374 | 528 | }, |
|
0 commit comments