mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
5a2f028c79
commit
04010af440
@ -18,6 +18,7 @@ define(function(require) {
|
||||
// Dependencies
|
||||
var Locale = require('utils/locale');
|
||||
var Tips = require('utils/tips');
|
||||
var Config = require('sunstone-config');
|
||||
|
||||
var TemplateHTML = require('hbs!./role-tab/html');
|
||||
var HostsTable = require('./datatable');
|
||||
@ -63,7 +64,8 @@ define(function(require) {
|
||||
'value_host_affinity': "value_host_affinity_"+this.html_role_id,
|
||||
'tf_btn_host_affined': "btn_host_vm_roles_affined"+this.html_role_id,
|
||||
'tf_btn_host_anti_affined': "btn_host_vm_roles_anti_affined"+this.html_role_id,
|
||||
'group_vm_host_roles':"group_vm_host_roles_"+this.html_role_id
|
||||
'group_vm_host_roles':"group_vm_host_roles_"+this.html_role_id,
|
||||
'hostAffinityEnabled': Config.isTabEnabled('hosts-tab')
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
{{#if hostAffinityEnabled}}
|
||||
<div class="row" id="host_affinity" style="margin-left:0.5%">
|
||||
<div class="medium-12 columns" style="margin-bottom: 1em; padding-left: 0em;">
|
||||
<span style="font-weight: 700; color: #7d7c7c;">
|
||||
@ -52,7 +53,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="medium-12 columns" style="margin-bottom: -40px">
|
||||
|
||||
<div class="medium-6 columns">
|
||||
<div class="type_affined" style="text-align:center;">
|
||||
<label>{{tr "Affined"}}</label>
|
||||
@ -62,8 +62,6 @@
|
||||
</div>
|
||||
<div class="group_vm_host_roles_affined" id="{{group_vm_host_roles}}_affined"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="medium-6 columns" style="border-left:thin solid #ada8a8;">
|
||||
<div class="type_affined" style="text-align:center;">
|
||||
<label>{{tr "Anti Affined"}}</label>
|
||||
@ -73,7 +71,7 @@
|
||||
</div>
|
||||
<div class="group_vm_host_roles_anti_affined" id="{{group_vm_host_roles}}_anti_affined"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
Loading…
x
Reference in New Issue
Block a user