|
<table class="<%= table_css_classes('table-fixed') %>">
|
|
<thead>
|
|
<th width="40%"><%= _('Host') %></th>
|
|
<th><%= _('Owner') %></th>
|
|
<th><%= _('Build Duration') %></th>
|
|
<th><%= _('Token Expiry') %></th>
|
|
</thead>
|
|
<tbody>
|
|
<% hosts.each do |host| %>
|
|
<tr>
|
|
<td class="ellipsis"><%= host_build_status_icon(host) %> <%= link_to host, current_host_details_path(host) %></td>
|
|
<td class="hidden-tablet hidden-xs ellipsis"><%= host.owner %></td>
|
|
<td class="hidden-tablet hidden-xs ellipsis"><%= build_duration(host) %></td>
|
|
<td class="hidden-tablet hidden-xs ellipsis"><%= date_time_relative(host.token&.expires)%></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|