Displaying 3 results from an estimated 3 matches for "hide_section_with_head".
Did you mean:
hide_section_with_header
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
..._config', '#vm_network_section_link', 'Network');
+ // initially show general, hide resources / networks section
+ $(document).ready(function(){
+ show_section_with_header('#vm_general_config', '#vm_general_section_link', 'General');
+ hide_section_with_header('#vm_resources_config', '#vm_resource_section_link', 'Resources');
+ hide_section_with_header('#vm_network_config', '#vm_network_section_link', 'Network');
+ });
+
+</script>
diff --git a/src/public/images/Sort_right_11.png b/src/publ...
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
...etworks section
+ $(document).ready(function(){
+ show_section_with_header('#vm_general_config', '#vm_general_section_link', 'General');
+ show_section_with_header('#vm_resources_config', '#vm_resources_section_link', 'Resources');
+ hide_section_with_header('#vm_storage_config', '#vm_storage_section_link', 'Storage');
+ hide_section_with_header('#vm_network_config', '#vm_network_section_link', 'Network');
+ });
+</script>
diff --git a/src/public/javascripts/ovirt.js b/src/public/j...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...;start_now", nil if create or @vm.state == Vm::STATE_STOPPED %>
<%= rcheck_box_tag_with_label "Restart VM Now? (pending current resource availability)", "restart_now", nil if @vm.state == Vm::STATE_RUNNING %>
@@ -135,4 +152,186 @@ ${htmlList(pools, id)}
hide_section_with_header('#vm_network_config', '#vm_network_section_link', 'Network');
});
+ /////////////////////////////////////////////////// vm networks config
+
+ // number of rows which we are currently displaying in net config
+ var vm_network_config_rows = 0;
+
+ // last...