Sha256: 3dd2399133e73813c3ce2a06992e5abe381ea0f88c5293a361872b27f53b6294

Contents?: true

Size: 677 Bytes

Versions: 2

Compression:

Stored size: 677 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><%= _('DomID') -%></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.uuid) %></td>
        <td><%= vm.vcpus_max %></td>
        <td><%= (vm.memory_static_max.to_i / 1073741824).to_s %> GB</td>
        <td><%= vm.power_state %> </td>
        <td><%= vm.domid %></td>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_xen-1.0.1 app/views/compute_resources_vms/index/_xenserver.html.erb
foreman_xen-1.0.0 app/views/compute_resources_vms/index/_xenserver.html.erb