Sha256: 03f43b45944c42f55d2c4dcaeb9a32d8fd071074cbd5beb3cde0ad9a9a6e14c2

Contents?: true

Size: 844 Bytes

Versions: 3

Compression:

Stored size: 844 Bytes

Contents

=header "Hardware profiles"
=subheader "#{driver_symbol}@#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}"

%div{ :'data-role' => :content, :'data-theme' => 'c'}
  %ul{ :'data-role' => :listview, :'data-inset' => :true }
    - for profile in order_hardware_profiles(@hardware_profiles)
      %li{ :'data-theme' => 'c'}
        %a{ :href => hardware_profile_url(profile.name)}
          %img{ :class => 'ui-link-thumb', :src => '/images/profile.png'}
          %h3= profile.name
          %p
            %strong Architecture:
            = format_hardware_property profile.architecture
            %strong Memory:
            = format_hardware_property profile.memory
            %strong Storage:
            = format_hardware_property profile.storage
            %strong CPU:
            = format_hardware_property profile.cpu

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deltacloud-core-1.0.2 views/hardware_profiles/index.html.haml
deltacloud-core-1.0.1 views/hardware_profiles/index.html.haml
deltacloud-core-1.0.0 views/hardware_profiles/index.html.haml