Sha256: c7909a6f7c4226c8918a9d54ef5ac85378197513afd46f3d4344762368310504

Contents?: true

Size: 701 Bytes

Versions: 1

Compression:

Stored size: 701 Bytes

Contents

=header "Keys" do
  %a{ :href => url_for('keys/new'), :'data-icon' => :plus, :'data-role' => :button, :class => 'ui-btn-right'} Create new key

%div{ :'data-role' => :content, :'data-theme' => 'c'}
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
    - @elements.each do |key|
      %li
        %a{ :href => key_url(key.id), :'data-ajax' => 'false'}
          %img{ :class => 'ui-link-thumb', :src => '/images/key.png'}
          %h3=key.id
          %p=key.name
          %p
            - if key.credential_type.eql?(:key)
              = key.fingerprint
            - if key.credential_type.eql?(:password)
              = "#{key.username} - #{key.password}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 views/keys/index.html.haml