Sha256: 5d3b8045291f5c9700c8fbb2524f6e4a9fbe6df2c088efcc9a4ec46529e61cde

Contents?: true

Size: 597 Bytes

Versions: 7

Compression:

Stored size: 597 Bytes

Contents

=header "Metrics"
=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
    - @metrics.each do |metric|
      %li
        %a{ :href => metric_url(metric.id), :'data-ajax' => 'false'}
          %img{ :class => 'ui-link-thumb', :src => '/images/metric.png'}
          %h3= metric.entity || metric.id
          %p
            = metric.properties.map { |p| p.name }.join(', ')

Version data entries

7 entries across 7 versions & 1 rubygems

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