Sha256: 81c0bc14be3230c7f6ef6a183a4b47a82a739d0f2144271f83324531dc3d216d

Contents?: true

Size: 885 Bytes

Versions: 5

Compression:

Stored size: 885 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.identity) %></td>
      <td><%= vm.cores %></td>
      <td> <%= number_to_human_size vm.memory %> </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.id))) %>
      </td>

    </tr>
  <% end -%>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/compute_resources_vms/index/_ovirt.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/compute_resources_vms/index/_ovirt.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/compute_resources_vms/index/_ovirt.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/compute_resources_vms/index/_ovirt.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/compute_resources_vms/index/_ovirt.html.erb