mirror of https://github.com/rancher/ui.git
blueprint tweaks
This commit is contained in:
parent
fe7007d068
commit
05a071fb2c
|
|
@ -1,6 +1,12 @@
|
|||
import Ember from 'ember';
|
||||
import ModalBase from 'ui/mixins/modal-base';
|
||||
|
||||
// Dont forget to launch your modal from the route/controller/component with the following command.
|
||||
// this.get('modalService').toggleModal('modal-<%= dasherizedModuleName %>', {
|
||||
// add your modal options here
|
||||
// });
|
||||
|
||||
|
||||
export default Ember.Component.extend(ModalBase, {
|
||||
classNames: [`${<%= size %>}`],
|
||||
classNames: ['<%= size %>'],
|
||||
});
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
// Return custom template variables here.
|
||||
return {
|
||||
// options are large-modal or medium-modal
|
||||
size: `${options.entity.options.size}` || 'medium-modal'
|
||||
size: options.entity.options.size || 'medium-modal'
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue