Displaying 3 results from an estimated 3 matches for "vm_general_section_link".
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
...ml
@@ -6,15 +6,23 @@
<%= hidden_field 'vm', 'vm_resource_pool_id' %>
<%= hidden_field_tag 'hardware_pool_id', @hardware_pool.id if @hardware_pool %>
+ <div class="form_heading">
+ <%= link_to "", "#", :id => "vm_general_section_link" %>
+ </div>
+ <div id="vm_general_config">
<%= text_field_with_label "Name:", "vm", "description", {:style=>"width:250px;"} %>
<%= text_field_with_label "UUID:", "vm", "uuid"...
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
...>
- <div class="field_helptext">max to start: <%=start_resources[:cpus]%> </div>
+ <div class="form_heading">
+ <%= link_to image_tag("Sort_down_11.png") + "General", "#",
+ :id => "vm_general_section_link" %>
</div>
- <div style="float:left;">
- <%= text_field_with_label "Memory:", "vm", "memory_allocated_in_mb", {:style=>"width:100px; margin-bottom:2px;"}, {:afterfield=>" mb"} %>
-...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...ft;
+ width: 33%;
+ min-width: 100px;
+}
+
+.vm_network_config_remove {
+ float: left;
+ padding-top: 5px;
+ color: #0033CC;
+}
+.vm_network_config_remove:hover {
+ cursor: pointer;
+}
+
+#vm_network_config_add {
+ color: #0033CC;
+}
+#vm_network_config_add:hover {
+ cursor: pointer;
+}
+
#vm_general_section_link img, #vm_resources_section_link img, #vm_storage_section_link img, #vm_network_section_link img{
float: left;
padding-top: 2px;
diff --git a/src/task-omatic/task_vm.rb b/src/task-omatic/task_vm.rb
index a448d30..dd71747 100644
--- a/src/task-omatic/task_vm.rb
+++ b/src/task-omatic/task_vm.rb...