Sha256: bc1ab05b782f11e4be2e9461ba36a46162d2207b8f3613c60019e449ed5d2deb

Contents?: true

Size: 927 Bytes

Versions: 5

Compression:

Stored size: 927 Bytes

Contents

<table class="table table-bordered" data-table="inline">
  <thead>
    <tr>
      <th><%= _('Name') -%></th>
      <th><%= _('DNS') -%></th>
      <th><%= _('Type') -%></th>
      <th><%= _('State') -%></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.dns %></td>
      <td><%= vm.flavor_id %></td>
      <td> <span <%= vm_power_class(vm.ready?) %>> <%= vm_state(!vm.ready?) %></span> </td>
      <td>
        <%= unless vm.state == 'terminated' or vm.state == 'pending'
              action_buttons(vm_power_action(vm), display_delete_if_authorized(hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.id)))
            end
        %>
      </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/_ec2.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/compute_resources_vms/index/_ec2.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/compute_resources_vms/index/_ec2.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/compute_resources_vms/index/_ec2.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/compute_resources_vms/index/_ec2.html.erb