Sha256: 0ccd682914bfea135be82d0dc32f83b8ed1725a4e9d635cc9f08f248e7405030
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 KB
Contents
<thead> <tr> <th><%= _('Name') %></th> <th><%= _('CPUs') %></th> <th><%= _('Memory') %></th> <th><%= _('Power') %></th> <th><%= _('Actions') %></th> </tr> </thead> <tbody> <% @vms.each do |vm| %> <tr> <td><%= link_to_if_authorized vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity).merge(:auth_object => @compute_resource, :auth_action => 'view', :authorizer => authorizer) %></td> <td><%= vm.cpu_cores %></td> <td><%= vm.memory %></td> <td> <span <%= vm_power_class(vm.ready?) %>> <%= vm_state(vm) %></span> </td> <td> <%= action_buttons(vm_power_action(vm, authorizer), vm_import_action(vm), display_delete_if_authorized(hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity).merge(:auth_object => @compute_resource, :authorizer => authorizer))) %> </td> </tr> <% end %> </tbody>
Version data entries
3 entries across 3 versions & 1 rubygems