add cluster modal

This commit is contained in:
Westly Wright 2017-11-20 11:26:53 -07:00
parent 15dfc021f3
commit a127506f48
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
4 changed files with 19 additions and 1 deletions

View File

@ -5,7 +5,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.size || 'medium-modal'
};
}

View File

@ -0,0 +1,13 @@
import ModalBase from 'ui/mixins/modal-base';
import layout from './template';
// Dont forget to launch your modal from the route/controller/component with the following command.
// this.get('modalService').toggleModal('modal-add-cluster', {
// add your modal options here
// });
export default ModalBase.extend({
layout,
classNames: ['small-modal'],
});

View File

@ -0,0 +1,4 @@
<div class="container-header-text">
</div>
<div class="footer-actions">
</div>

View File

@ -0,0 +1 @@
export { default } from 'shared/components/modal-add-cluster/component';