Sha256: 94ff084a69980ac9ade7558e1a73dd2d89ce2db43050c4fa09040c76c5fc0d78
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
<table class="table table-bordered" data-table="inline"> <thead> <tr> <th><%= _('Name') %></th> <th><%= _('Size') %></th> <th><%= _('Resource Group') %></th> <th><%= _('Region') %></th> <th><%= _('State') %></th> <th></th> </tr> </thead> <% @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, :authorizer => :authorizer) %></td> <td><%= vm.vm_size %></td> <td><%= vm.azure_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), 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 %> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_azure_rm-2.0.0.pre1 | app/views/compute_resources_vms/index/_azurerm.html.erb |