-<table>
+<table style="width:100%">
<tr class="contain-align-left">
<th>
status
startup delay
</th><th>
last ping
+ </th><th>
+ instance_id
</th>
</tr>
<% @objects.each do |o| %>
- <tr class="node-status node-status-<%= o.status %>">
+ <tr class="node-status node-status-<%= o.status %>" data-showhide-selector="tr#extra-info-<%= o.uuid %>" style="cursor:pointer">
<td>
<%= o.status %>
</td><td>
</td>
</tr>
- <% if o.info[:ec2_start_command] and (!o.first_ping_at or !o.info[:ec2_start_result].match /\bi-[0-9a-f]{8}\b/ rescue nil) %>
- <tr>
+ <% if %>
+ <tr id="extra-info-<%= o.uuid %>" <%= 'data-showhide-default' unless o.info[:ec2_start_command] and !o.first_ping_at %>>
<td colspan="8">
- <%= o.info[:ec2_start_command] %>
- <br />
- <%= o.info[:ec2_start_result] %>
+ <dl>
+ <% o.info.each do |k,v| %>
+ <dt><em><%= k %></em></dt>
+ <dd><%= v %></dd>
+ <% end %>
+ </dl>
</td>
</tr>