Sha256: ba4f5f9e93a3b4a8495f3ff45eb1e5a076c7ed195e62f8016c38697efb9a19d2
Contents?: true
Size: 876 Bytes
Versions: 5
Compression:
Stored size: 876 Bytes
Contents
<table class="table table-bordered" data-table='inline'> <thead> <tr> <th><%= _('Name') -%></th> <th><%= _('CPUs') -%></th> <th><%= _('Memory') -%></th> <th><%= _('Power') -%></th> <th></th> </tr> </thead> <% @compute_resource.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.uuid) %></td> <td><%= vm.cpus %></td> <td> <%= number_to_human_size vm.memory_size*1024 %> </td> <td> <span <%= vm_power_class(vm.ready?) %>> <%= vm_state(!vm.ready?) %></span> </td> <td> <%= action_buttons(vm_power_action(vm), display_delete_if_authorized(hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.uuid))) %> </td> </tr> <% end -%> </table>
Version data entries
5 entries across 5 versions & 1 rubygems