Sha256: 529409729a6e171eba71ccaf259e02899e15943078887d699b2e1eb01b90b1d9
Contents?: true
Size: 1.77 KB
Versions: 5
Compression:
Stored size: 1.77 KB
Contents
<% if job_invocation.resolved? %> <%= form_tag job_invocation_path(job_invocation), :method => "get",:id =>"search-form" do %> <div class="row"> <div class="title_filter col-md-6"> <div class="input-group"> <%= auto_complete_search(:search, params[:search].try(:squeeze, " "), :placeholder => _("Filter") + ' ...', :path => hosts_path) %> <span class="input-group-btn"> <button class="btn btn-default" type="submit"> <%= icon_text("search", content_tag(:span, _("Search"), :class => "hidden-xs")) %> </button> </span> </div> </div> </div> <% end %> <br> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th><%= sort :name, :as => _('Host') %></th> <th><%= _('Provider') %></th> <th><%= _('Status') %></th> <th><%= _('Actions') %></th> </tr> </thead> <tbody> <% hosts.each do |host| %> <% task = job_invocation.sub_task_for_host(host) %> <tr> <td><%= link_to_if_authorized host.name, hash_for_host_path(host).merge(:auth_object => host, :permission => :view_hosts) %></td> <%= render('host_provider_td', :host => host, :task => task) %> <%= render('host_status_td', :host => host, :task => task) %> <%= render('host_actions_td', :host => host, :task => task) %> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @hosts %> <% else %> <div class="alert alert-warning"> <%= _("The dynamic query '#{job_invocation.targeting.search_query}' was not resolved yet. The list of hosts to which it would resolve now can be seen") %> <%= link_to('here.', hosts_url(:search => job_invocation.targeting.search_query)) %> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems