mirror of https://github.com/rancher/ui.git
add cluster modal
This commit is contained in:
parent
15dfc021f3
commit
a127506f48
|
|
@ -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'
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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'],
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<div class="container-header-text">
|
||||
</div>
|
||||
<div class="footer-actions">
|
||||
</div>
|
||||
|
|
@ -0,0 +1 @@
|
|||
export { default } from 'shared/components/modal-add-cluster/component';
|
||||
Loading…
Reference in New Issue