Displaying 3 results from an estimated 3 matches for "vm_network_config_row".
Did you mean:
vm_network_config_rows
2009 Jul 30
1
[PATCH server] fixes to the multiple vm/nets component
...fig_add">
- Add Another Network
- </div>
+
+ <div id="vm_network_config_networks">
+ <%# add number of rows equal to nics.size, initially only show first %>
+ <% (0... at nics.size).each { |i| %>
+ <div id="vm_network_config_row_<%= i %>" class="vm_network_config_row"
+ <% if i != 0 %>style="display: none;"<%end%> >
+
+ <div class="vm_network_config_net">
+ <select name="networks[]" id="vm_network_config_...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...t(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 row currently being displayed
+ var vm_network_config_last_row = 0;
+
+ // value of current selectbox
+ var current_selectbox_value = 0;
+
+ // create list of nics
+ var nics = new Array();
+ <% @nics.each { |rnic| %>
+ jnic = new Object;
+ jnic.network_i...
2010 Aug 25
2
[PATCH] Virtio support
...ecked
+ $('#vm_network_config_virtio_'+row).attr('checked', nic.virtio ? 'checked' : '');
+
// show new row only if last row's select box was
// previously empty, and if all are not shown
displayed_rows = $('.vm_network_config_row:visible').size();
@@ -282,6 +298,7 @@ ${htmlList(pools, id)}
// clear row mac and ip addresses
$('#vm_network_config_mac_'+row).attr('value', '');
$('#vm_network_config_mac_'+row).parent().next().html(' ');...