1 <table style="width:100%">
2 <tr class="contain-align-left">
26 <% @objects.each do |o| %>
28 <tr class="node-status-<%= o.status %>">
29 <td class="node-status" data-showhide-selector="tr#extra-info-<%= o.uuid %>" style="cursor:pointer">
31 </td><td class="node-slurm-state node-slurm-state-<%= @slurm_state[o.hostname] %>">
32 <%= @slurm_state[o.hostname] %>
44 <%= distance_of_time_in_words(o.first_ping_at, o.created_at, true) if o.first_ping_at %>
46 <%= distance_of_time_in_words(o.last_ping_at, Time.now, true) + ' ago' if o.last_ping_at %>
48 <%= o.info[:ec2_instance_id] %>
53 <tr id="extra-info-<%= o.uuid %>" <%= 'data-showhide-default' unless o.info[:ec2_start_command] and !o.first_ping_at %>>
56 <% o.info.each do |k,v| %>
57 <dt><em><%= k %></em></dt>