Sha256: 0f15f0923c8e02076d611c4eeec3edaaa9df5f7ccbf194c628c589d9e8beceae
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
<table class="table table-bordered" data-table='inline'> <thead> <tr> <th><%= _('Name') %></th> <th><%= _('Image') %></th> <th><%= _('Type') %></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.image['slug'] if vm.image.present? %></td> <td><%= vm.size['slug'] %></td> <td><%= vm.region['slug'] %></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.id).merge(:auth_object => @compute_resource, :authorizer => authorizer))) %> </td> </tr> <% end %> </table>
Version data entries
5 entries across 5 versions & 2 rubygems