Sha256: d5e18ff59d4159bfd153eb3cee8f1c29d9e7088021d6306a7b908982326682e8

Contents?: true

Size: 724 Bytes

Versions: 9

Compression:

Stored size: 724 Bytes

Contents

=header "Instances"
=subheader "#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}"

%div{ :'data-role' => :content, :'data-theme' => 'c'}
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
    %li{ :'data-role' => 'list-divider'}=driver_symbol
    - @elements.each do |instance|
      %li
        %a{ :href => instance_url(instance.id), :'data-ajax' => 'false'}
          %img{ :class => 'ui-link-thumb', :src => '/images/machine.png'}
          %h3=instance.id.to_s.truncate
          %p
            %strong=instance.name
          %p=[instance.owner_id, instance.image_id, instance.hardware_profile].join(', ')
          %span{ :class => 'ui-li-count'}=instance.state

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 views/instances/index.html.haml
deltacloud-core-1.1.1 views/instances/index.html.haml
deltacloud-core-1.1.0 views/instances/index.html.haml
deltacloud-core-1.0.5 views/instances/index.html.haml
deltacloud-core-1.0.4 views/instances/index.html.haml
deltacloud-core-1.0.3 views/instances/index.html.haml
deltacloud-core-1.0.2 views/instances/index.html.haml
deltacloud-core-1.0.1 views/instances/index.html.haml
deltacloud-core-1.0.0 views/instances/index.html.haml