LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of the Juju GUI, which lets users view and manage Juju | 2 This file is part of the Juju GUI, which lets users view and manage Juju |
3 environments within a graphical interface (https://launchpad.net/juju-gui). | 3 environments within a graphical interface (https://launchpad.net/juju-gui). |
4 Copyright (C) 2012-2013 Canonical Ltd. | 4 Copyright (C) 2012-2013 Canonical Ltd. |
5 | 5 |
6 This program is free software: you can redistribute it and/or modify it under | 6 This program is free software: you can redistribute it and/or modify it under |
7 the terms of the GNU Affero General Public License version 3, as published by | 7 the terms of the GNU Affero General Public License version 3, as published by |
8 the Free Software Foundation. | 8 the Free Software Foundation. |
9 | 9 |
10 This program is distributed in the hope that it will be useful, but WITHOUT | 10 This program is distributed in the hope that it will be useful, but WITHOUT |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 'input.config-file-upload': { 'change': 'handleFileUpload' }, | 233 'input.config-file-upload': { 'change': 'handleFileUpload' }, |
234 'span.config-file-upload': { 'click': '_showFileDialogue' }, | 234 'span.config-file-upload': { 'click': '_showFileDialogue' }, |
235 'input[name=service-name]': { valuechange: 'updateGhostName' }, | 235 'input[name=service-name]': { valuechange: 'updateGhostName' }, |
236 '.destroy-service-icon': {'click': 'onDestroyIcon'}, | 236 '.destroy-service-icon': {'click': 'onDestroyIcon'}, |
237 '.initiate-destroy': {'click': 'onInitiateDestroy'}, | 237 '.initiate-destroy': {'click': 'onInitiateDestroy'}, |
238 '.cancel-destroy': {'click': 'onCancelDestroy'} | 238 '.cancel-destroy': {'click': 'onCancelDestroy'} |
239 }, | 239 }, |
240 // the configuration for the view manager template | 240 // the configuration for the view manager template |
241 templateConfig: { | 241 templateConfig: { |
242 packageName: model.get('package_name'), | 242 packageName: model.get('package_name'), |
243 id: model.get('id'), | 243 id: model.get('id') |
244 isSubordinate: model.get('is_subordinate') | |
245 } | 244 } |
246 } | 245 } |
247 }; | 246 }; |
248 return configs; | 247 return configs; |
249 }, | 248 }, |
250 | 249 |
251 /** | 250 /** |
252 * @method render | 251 * @method render |
253 * @chainable | 252 * @chainable |
254 */ | 253 */ |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 'handlebars-base', | 364 'handlebars-base', |
366 'juju-models', | 365 'juju-models', |
367 'juju-templates', | 366 'juju-templates', |
368 'juju-topology', | 367 'juju-topology', |
369 'juju-view-inspector', | 368 'juju-view-inspector', |
370 'juju-view-utils', | 369 'juju-view-utils', |
371 'node', | 370 'node', |
372 'view' | 371 'view' |
373 ] | 372 ] |
374 }); | 373 }); |
LEFT | RIGHT |