search for: facebox

Displaying 10 results from an estimated 10 matches for "facebox".

2009 Apr 06
2
URL issue localhost/mongrel vs remote-server/apache
...n a sub_URI, without any problem (I tested also the same app, locally w Apache too) in my environment.rb , I have initialized config.action_controller.relative_url_root = "/my_subURI" config.action_controller.asset_host = "http://my_domain.com ... running fine. I am also using a facebox plugin, in which 2 images : loading.gif and closelabel.gif are hard-coded (I know it should not be.. but I am not the author..), so in the facebox.js , I had to modify the hard-coded URI $.extend($.facebox, { settings: { loadingImage : ''/my_subURIv/images/facebox/loading.gif...
2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
...ost/show.rhtml +++ b/src/app/views/host/show.rhtml @@ -7,6 +7,9 @@ <a href="#" onClick="host_action('enable')"> <%= image_tag "icon_start_11px.png" %> Enable Host </a> + <a href="#confirm_delete" rel="facebox[.bolder]"> + <%= image_tag "icon_delete_11px.png" %> Delete Host + </a> <% else -%> <a href="#" onClick="host_action('disable')"> <%= image_tag "icon_suspend_11px.png" %> Disable H...
2009 May 21
1
[PATCH server] Updated look and feel for empty grid views
...y -%> - <%= image_tag "icon_add_host.png", :style=>"vertical-align:middle;" %>&nbsp;&nbsp; - <a href="<%= url_for :controller => 'hardware', :action => 'addhost', :id => @pool %>" rel="facebox[.bolder]">Add first host to this hardware pool</a> - <% end -%> + <h2>There are no hosts in this pool.</h2> + <p>Hosts belonging to this hardware pool will be listed here.</p> + <div class="no-grid-items...
2010 Aug 25
0
[PATCH] Adding the VM Pool migration for vms
....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'), { + 'id': $('#vm_id').val(), + 'vm[vm_resource_pool_id]': $('#vm_vm_resource_pool_id').val() + }, + function(data, status) { + $('#v...
2010 Sep 01
1
[PATCH 1/3] Adding the VM Pool migration for vms
...,9 @@ </a> <% end -%> <% end %> + <%= link_to image_tag("icon_vmpool_11px.png") + " Change VM Pool", + {:controller => 'vm', :action => 'edit_vmpool', :id => @vm}, + :rel=>"facebox[.bolder]", :class=>"selection_facebox" %> <a href="#confirm_cancel" rel="facebox[.bolder]"> <%= image_tag "icon_cancel_11px.png" %> Cancel queued tasks </a> diff --git a/src/public/images/icon_vmpool_11px.png b/...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...iews/hardware/show_hosts.rhtml @@ -1,7 +1,7 @@ <div id="toolbar_nav"> <ul> <%if @can_modify -%> - <li><a href="<%= url_for :controller => 'host', :action => 'addhost', :hardware_pool_id => @pool %>" rel="facebox[.bolder]"><%= image_tag "icon_add_host.png", :style=>"vertical-align:middle;" %>&nbsp;&nbsp;Add Host</a></li> + <li><a href="<%= url_for :controller => 'hardware', :action => 'addhost', :id => @p...
2009 Sep 23
0
[PATCH server] consolidated network & routing info ui's
...html index 02ad25e..d2f02f7 100644 --- a/src/app/views/network/show.rhtml +++ b/src/app/views/network/show.rhtml @@ -6,10 +6,6 @@ <%= link_to image_tag("icon_edit_11px.png") + "Edit", {:action => 'edit', :id => @network.id }, :rel=>"facebox[.bolder]", :class=>"selection_facebox" %> - - <%= link_to image_tag("icon_edit_11px.png") + "Edit Routing Info", - {:action => 'edit_network_ip_addresses', :id => @network.id }, - :rel=>"facebox[.bolder]", :class...
2011 Sep 21
0
Popup window in Rails 3.1
Hi, I need to open a popup window with a form and submit button, while the background will be gray and disabled the parent window. I found the Facebox and the FaceboxRender solutions, but they didn''t work for me. I get a routing Error: uninitialized constant ApplicationController::FaceboxRender I also found a pure java script solutions, but I prefer a solution in rails 3.1 (with or without java script). I use rails 3.1, ruby 1.9.2 and j...
2008 Nov 18
5
What is the preferred "lightbox" plugin?
Hi all - I need to do an overlay with something that supports ajax/remote html. There''s lots of options and quite a few rails plugins. Some seem out of date however. Any suggestions on which one is "best" where "best" is defined as easy to implement, works in all browsers, supports ajax or remote html. Thanks! -philip
2009 Oct 06
0
[PATCH server] new host networking wui
...url_for :action => 'update_network' %>', // target element to update + dataType: 'json', + success: function(response, status) { + ajax_validation(response, status) + if (response.success) { + jQuery(document).trigger('close.facebox'); + $("#hosts_grid").flexReload() + refresh_summary('hosts_selection', + '<%= url_for :controller => "host", + :action => "show" %>', +...