Displaying 5 results from an estimated 5 matches for "vm_form_section".
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
...form.rhtml
@@ -6,15 +6,19 @@
<%= hidden_field 'vm', 'vm_resource_pool_id' %>
<%= hidden_field_tag 'hardware_pool_id', @hardware_pool.id if @hardware_pool %>
+ <div class="form_heading clickable open">General</div>
+ <div class="vm_form_section">
<%= text_field_with_label "Name:", "vm", "description", {:style=>"width:250px;"} %>
<%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
<%= select...
2010 Feb 25
2
[PATCH] Enhance vms display
...end
diff --git a/src/app/views/vm/_form.rhtml b/src/app/views/vm/_form.rhtml
index adb75d2..13e73db 100644
--- a/src/app/views/vm/_form.rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -8,10 +8,14 @@
<div class="form_heading clickable open">General</div>
<div class="vm_form_section">
- <%= text_field_with_label "Name:", "vm", "description", {:style=>"width:250px;"} %>
- <%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
- <%= select...
2010 Aug 25
2
[PATCH] Virtio support
...TE_STOPPED %>
- <%= check_box_tag_with_label "Restart VM Now? (pending current resource availability)", "restart_now", nil if @vm.state == Vm::STATE_RUNNING %>
-
+ <div class="form_heading clickable closed">Restart</div>
+ <div class="vm_form_section" style="display:none;">
+ <%= check_box_tag_with_label "Start VM Now? (pending current resource availability)", "start_now", nil if create or @vm.state == Vm::STATE_STOPPED %>
+ <%= check_box_tag_with_label "Restart VM Now? (pending current...
2009 Aug 04
3
[PATCH server] require at least one vm network if pxe booting
...;) unless boot_device == BOOT_DEV_NETWORK && nics.size > 0
+
end
end
diff --git a/src/app/views/vm/_form.rhtml b/src/app/views/vm/_form.rhtml
index 5f519fc..39ce55e 100644
--- a/src/app/views/vm/_form.rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -51,6 +51,9 @@
<div class="vm_form_section" style="display:none;">
<div class="clear_row"></div>
+ <%# display network errors at the top of the section %>
+ <div class="field_title"><label for="vm_nics" /></div>
+
<% if @nics.size > 0...
2009 Jul 30
1
[PATCH server] fixes to the multiple vm/nets component
...d
diff --git a/src/app/views/vm/_form.rhtml b/src/app/views/vm/_form.rhtml
index 2373678..5f519fc 100644
--- a/src/app/views/vm/_form.rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -50,28 +50,60 @@
<div class="form_heading clickable closed">Network</div>
<div class="vm_form_section" style="display:none;">
<div class="clear_row"></div>
+
<% if @nics.size > 0 %>
<div id="vm_network_config_header">
- <div id="vm_network_config_header_network">
- Network:
- <...