<%= javascript "jquery.cookie", "host_checkbox" %> <% title _('Discovered hosts') %> <% if SETTINGS[:locations_enabled] -%> <% end -%> <% if SETTINGS[:organizations_enabled] -%> <% end -%> <% @hosts.each do |host| -%> <% if SETTINGS[:locations_enabled] -%> <% end -%> <% if SETTINGS[:organizations_enabled] -%> <% end -%> <% end -%>
<%= check_box_tag "check_all", "", false, { :onclick => "toggleCheck()", :'check-title' => _("Select all items in this page"), :'uncheck-title'=> _("items selected. Uncheck to Clear") } %> <%= sort :name, :as => _('Name') %>
<%= check_box_tag "host_ids[]", nil, false, :id => "host_ids_#{host.id}", :disabled => !authorized?, :class => 'host_select_boxes', :onclick => 'hostChecked(this)' -%> <%= link_to("#{host}", discovered_host_path(host) ) %> <%= action_buttons( link_to(_("Provision"), hash_for_edit_discovered_host_path(:id => host)), link_to(_("Refresh facts"), hash_for_refresh_facts_discovered_host_path(:id => host)), display_delete_if_authorized(hash_for_discovered_host_path(:id => host), :confirm => _("Delete %s?") % host.name, :action => :destroy))%>
<%= page_entries_info @hosts %> <%= will_paginate @hosts %>