Sha256: eb7a86b47399860049b35d944927a3d80648e50109c18cfe1060f634e00d0cf0

Contents?: true

Size: 1.08 KB

Versions: 17

Compression:

Stored size: 1.08 KB

Contents

<thead>
  <tr>
    <th><%= _('Name') %></th>
    <th><%= _('Size') %></th>
    <th><%= _('Resource Group') %></th>
    <th><%= _('Region') %></th>
    <th><%= _('State') %></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) %></td>
      <td><%= vm.vm_size %></td>
      <td><%= vm.resource_group %></td>
      <td><%= vm.azure_vm.location %></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

17 entries across 17 versions & 1 rubygems

Version Path
foreman_azure_rm-3.0.1 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-3.0.0 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.3.0 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.11 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.10 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.9 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.8 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.7 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.6 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.5 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.4 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.3 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.2 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.1 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.2.0 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.1.2 app/views/compute_resources_vms/index/_azurerm.html.erb
foreman_azure_rm-2.1.1 app/views/compute_resources_vms/index/_azurerm.html.erb