mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Signed-off-by: Frederick Borges <fborges@opennebula.io>
This commit is contained in:
parent
8e81edf6e2
commit
6725663c41
@ -233,3 +233,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="not_firecracker hybrid_plus_section">
|
||||
<legend>{{tr "Hybrid+"}}</legend>
|
||||
<div class="row vm_param">
|
||||
<div class="medium-6 columns hypervisor only_kvm">
|
||||
<fieldset>
|
||||
<label for="RECOVERY_SNAPSHOT_FREQ">
|
||||
{{tr "Snapshot Frequency in Seconds"}}
|
||||
</label>
|
||||
<input wizard_field="RECOVERY_SNAPSHOT_FREQ" type="number" min="0" id="RECOVERY_SNAPSHOT_FREQ" name="RECOVERY_SNAPSHOT_FREQ" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
@ -94,6 +94,13 @@ define(function(require) {
|
||||
|
||||
this.diskTab.onShow(context);
|
||||
|
||||
if (this && this.element && this.element.TEMPLATE && this.element.TEMPLATE.TM_MAD_SYSTEM && this.element.TEMPLATE.TM_MAD_SYSTEM === 'ssh'){
|
||||
$('.hybrid_plus_section').hide();
|
||||
}
|
||||
else{
|
||||
$('.hybrid_plus_section').show();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user