Displaying 9 results from an estimated 9 matches for "text_field_with_label".
2010 Feb 25
2
[PATCH] Enhance vms display
...m.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_with_label "Operating System:", &...
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
...l
index 034c3df..4be7bba 100644
--- a/src/app/views/vm/_form.rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -6,52 +6,77 @@
<%= hidden_field 'vm', 'vm_resource_pool_id' %>
<%= hidden_field_tag 'hardware_pool_id', @hardware_pool.id if @hardware_pool %>
- <%= text_field_with_label "Name:", "vm", "description", {:style=>"width:250px;"} %>
- <%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
- <%= select_with_label "Operating System:", &...
2009 Jul 28
0
[PATCH 3/5] Storage views patched for glusterfs drop down as one the Storage Pools
...| 8 ++++++++
6 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/app/views/storage/_form.rhtml b/src/app/views/storage/_form.rhtml
index ea2b0c4..1e7f22f 100644
--- a/src/app/views/storage/_form.rhtml
+++ b/src/app/views/storage/_form.rhtml
@@ -12,6 +12,8 @@
<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %>
+<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool"...
2009 Jul 09
0
[PATCH 3/5 ovirt-server] Storage views patched for glusterfs drop down as one the Storage Pools
...| 8 ++++++++
6 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/app/views/storage/_form.rhtml b/src/app/views/storage/_form.rhtml
index ea2b0c4..1e7f22f 100644
--- a/src/app/views/storage/_form.rhtml
+++ b/src/app/views/storage/_form.rhtml
@@ -12,6 +12,8 @@
<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %>
+<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool"...
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
...idden_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_with_label "Operating System:", &...
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
..._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", {:style=>"width:250px;"} %>
<%= select_with_label "Operating System:", &...
2009 Aug 04
3
[PATCH server] require at least one vm network if pxe booting
---
src/app/models/vm.rb | 2 ++
src/app/views/vm/_form.rhtml | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/src/app/models/vm.rb b/src/app/models/vm.rb
index 3e0a6fa..9d326ac 100644
--- a/src/app/models/vm.rb
+++ b/src/app/models/vm.rb
@@ -464,6 +464,8 @@ class Vm < ActiveRecord::Base
2009 Sep 23
0
[PATCH server] consolidated network & routing info ui's
...class="selected_nic_bonding_left">
+ <% if @parent_type == 'network' %>
+ Network Address
+ <% else %>
+ Ip Address
+ <% end %>
+ </div>
<div class="selected_nic_bonding_right">
<%= text_field_with_label "", "ip_address", "address" %>
</div>
diff --git a/src/app/views/network/edit_network_ip_addresses.rhtml b/src/app/views/network/edit_network_ip_addresses.rhtml
deleted file mode 100644
index 78d6ad1..0000000
--- a/src/app/views/network/edit_network_ip_a...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -58,19 +58,36 @@
</div>
<div id="vm_network_config">
<div class="clear_row"></div>
- <div class="clear_row"></div>
- <div style="float:left;">
- <%= text_field_with_label "VNIC:", "vm", "vnic_mac_addr", {:style=>"width:250;"} %>
- </div>
- <div style="float:left;">
- <%= select_with_label "Network:", 'vm', 'network_id', @networks.insert(0, ""), :sty...