Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/hypervisors/guests/index.html.erb | ||
---|---|---|
<% title "Guests on #{@hypervisor}" %>
|
||
|
||
<table class="list">
|
||
<table class="table table-bordered">
|
||
<th> Name </th>
|
||
<th> CPUs </th>
|
||
<th> Memory </th>
|
||
... | ... | |
<td> <%= guest.volume.pool %> </td>
|
||
<td <%= power_class(guest.running?)%>> <%= state(!guest.running?) %> </td>
|
||
<td>
|
||
<%= power_action guest %>
|
||
<%= display_link_if_authorized "Delete", hash_for_hypervisor_guest_path(:hypervisor_id => @hypervisor, :id => guest).merge(:auth_action => :destroy), :confirm => 'Are you sure?', :method => :delete, :class => "label important" %>
|
||
<%= action_buttons(power_action(guest),
|
||
display_delete_if_authorized(hash_for_hypervisor_guest_path(:hypervisor_id => @hypervisor, :id => guest))) %>
|
||
</td>
|
||
</tr>
|
||
<% end -%>
|
Also available in: Unified diff
updates UI to bootstrap v2