Displaying 7 results from an estimated 7 matches for "popup_footer".
2009 May 27
1
[PATCH server] Bug 478729 - Cannot add vm to smart pool after select one vm
...git a/src/app/views/vm/add_to_smart_pool.rhtml b/src/app/views/vm/add_to_smart_pool.rhtml
index cdfe92d..161496b 100644
--- a/src/app/views/vm/add_to_smart_pool.rhtml
+++ b/src/app/views/vm/add_to_smart_pool.rhtml
@@ -20,7 +20,8 @@
              :vms_per_page => 40} %>
 </div>
 
-<%= popup_footer("add_vms_to_smart_pool('#{url_for :controller => "smart_pools",
+<%= popup_footer("add_vms_to_current_smart_pool('#{url_for :controller =>
+                                                            "smart_pools",...
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
...ion_data').val('');
+  }
+</script>
+
 <div class="panel_header"></div>
 
 <form method="POST" id="start_vm_form" action="<%= url_for :action => 'vm_action' %>">
@@ -38,40 +77,3 @@
   </div>
   <%= popup_footer("$('#start_vm_form').submit()", "Start Virtual Machine") %>
 </form>
-<script type="text/javascript">
-  $(function() {
-
-    $('#start_vm_form').ajaxForm({
-      dataType: 'json',
-      success: afterVm
-    });
-
-  });
-
-...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...rting_host'>
+        <div class="selection_left">
+          <div>No starting host selected.</div>
+        </div>
+      </div>
+      <%= hidden_field_tag 'vm_action_data', "" %>
+    <% end %>
+  </div>
+  <%= popup_footer("$('#start_vm_form').submit()", "Start Virtual Machine") %>
+</form>
+<script type="text/javascript">
+  $(function() {
+
+    $('#start_vm_form').ajaxForm({
+      dataType: 'json',
+      success: afterVm
+    });
+
+  });
+
+...
2010 Sep 01
1
[PATCH 1/3] Adding the VM Pool migration for vms
...' %>
+      <%= label "vm", "vm_resource_pool_id", "Select the pool to migrate to" %>
+      <%= select "vm", "vm_resource_pool_id", @vm_pools.map { |pool| [pool.name, pool.id] } %>
+    <% end %>
+
+  </div>
+  <%= popup_footer("$('#change_vmpool_form').submit()", "Change VM Pool") %>
+</form>
+<script type="text/javascript">
+  $(function() {
+
+    $('#change_vmpool_form').ajaxForm({
+      dataType: 'json',
+      success: function(data, status) {
+...
2010 Aug 25
0
[PATCH] Adding the VM Pool migration for vms
...vm.id %>
+      <%= label "vm", "vm_resource_pool_id", "Select the pool to migrate to" %>
+      <%= select "vm", "vm_resource_pool_id", @vm_pools.map { |pool| [pool.name, pool.id] } %>
+    <% end %>
+
+  </div>
+  <%= popup_footer("update_vm_pool()", "Change VM Pool") %>
+</form>
+<script type="text/javascript">
+  function update_vm_pool() {
+    $(document).trigger('close.facebox');
+    var form = $('#change_vmpool_form');
+
+    $.post(form.attr('action'...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...ol => @hardware_pool.id,
+             :exclude_pool => @pool.id,
              :exclude_host => nil,
              :checkboxes => true,
              :on_select => "load_widget_select",
@@ -20,8 +20,8 @@
              :hosts_per_page => 10} %>
 </div>
 
-<%= popup_footer("add_hosts('#{url_for :controller => "hardware", 
+<%= popup_footer("add_hosts('#{url_for :controller => "hardware",
                                       :action => "add_hosts", 
-                                      :id => @hardware...
2009 Oct 06
0
[PATCH server] new host networking wui
...age_tag("icon_add_11px.png") %> New Bonded Interface
+    </div>
+    <div style="clear:both;"></div>
+  </div>
+
+</div>
 
 <div id="host_network_footer" class="popup-content-footer">
-  <%= ok_footer %>
+  <%= popup_footer("$('#host_network_form').submit()", "OK") %>
 </div>
+</form>
 
 <script type="text/javascript">
-function reset_nics_bonding_detail(){
-   var data='Select NIC or Bonded Interface<br/>';
-
-   $("#selected_nic_bonding&qu...