mirror of https://github.com/rancher/ui.git
host template fixes
This commit is contained in:
parent
d0f1e7929c
commit
7b1657dd28
|
|
@ -141,7 +141,7 @@ export default Ember.Component.extend(Driver, {
|
|||
instanceType : 't2.micro',
|
||||
securityGroup : 'rancher-machine',
|
||||
zone : 'a',
|
||||
rootSize : 16,
|
||||
rootSize : '16',
|
||||
accessKey : pref.accessKey||'',
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
as |section|
|
||||
}}
|
||||
{{#if (eq section 'header')}}
|
||||
{{action-menu model=host class="pull-right"}}
|
||||
<div class="catalog-icon mb-10 {{parse-host-icon host.driver}}"/>
|
||||
{{else if (eq section 'body')}}
|
||||
<hr class="m-10" />
|
||||
|
|
|
|||
|
|
@ -3,13 +3,6 @@ import Resource from 'ember-api-store/models/resource';
|
|||
var HostTemplate = Resource.extend({
|
||||
type: 'hosttemplate',
|
||||
actions: {
|
||||
deactivate: function() {
|
||||
return this.doAction('deactivate');
|
||||
},
|
||||
|
||||
activate: function() {
|
||||
return this.doAction('activate');
|
||||
},
|
||||
},
|
||||
|
||||
availableActions: function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue