Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/compute_resources/vms/index/_ec2.html.erb | ||
---|---|---|
<table class="list">
|
||
<table class="table table-bordered">
|
||
<tr>
|
||
<thead>
|
||
<th>Name</th>
|
||
... | ... | |
<td><%= vm.flavor_id %></td>
|
||
<td <%= vm_power_class(vm.ready?)%>> <%= vm_state(!vm.ready?) %> </td>
|
||
<td>
|
||
<%= vm_power_action vm %>
|
||
<%= display_link_if_authorized "Delete", hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.id).merge(:auth_action => :destroy), :confirm => 'Are you sure?', :method => :delete, :class => "label important" %>
|
||
<%= action_buttons(vm_power_action(vm),
|
||
display_delete_if_authorized(hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.id))) %>
|
||
</td>
|
||
</tr>
|
||
<% end -%>
|
Also available in: Unified diff
updates UI to bootstrap v2