mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #3162: Fix hypervisor style
This commit is contained in:
parent
fb9c733de8
commit
24bca24253
@ -382,6 +382,7 @@ var template_actions = {
|
||||
call: function(){
|
||||
Sunstone.popUpFormPanel("create_template_form", "templates-tab", "create", false, function(context){
|
||||
$('#template_name_form', context).show();
|
||||
$('#template_hypervisor_form', context).removeClass("left");
|
||||
$('#NAME', context).removeAttr('disabled');
|
||||
$('#NAME', context).attr("required", "");
|
||||
|
||||
@ -412,6 +413,7 @@ var template_actions = {
|
||||
template_to_update_id = response.VMTEMPLATE.ID;
|
||||
Sunstone.popUpFormPanel("create_template_form", "templates-tab", "update", true, function(context){
|
||||
$('#template_name_form', context).hide();
|
||||
$('#template_hypervisor_form', context).addClass("left");
|
||||
$('#NAME', context).attr("disabled", "disabled");
|
||||
$('#NAME', context).removeAttr("required");
|
||||
|
||||
@ -777,7 +779,7 @@ function generate_capacity_tab_content() {
|
||||
</label>'+
|
||||
'<input type="text" id="NAME" name="name" required/>'+
|
||||
'</div>'+
|
||||
'<div class="large-6 columns">'+
|
||||
'<div id="template_hypervisor_form" class="large-6 columns">'+
|
||||
'<label>'+tr("Hypervisor")+'</label>'+
|
||||
'<input type="radio" name="hypervisor" value="kvm" id="kvmRadio"><label for="kvmRadio">'+tr("KVM")+'</label>'+
|
||||
'<input type="radio" name="hypervisor" value="vmware" id="vmwareRadio"><label for="vmwareRadio">'+tr("VMware")+'</label>'+
|
||||
|
Loading…
x
Reference in New Issue
Block a user