Sha256: e60c115641fb3ccaeaa72fbd1dfabe4c0b16b200edfc3e9e93de9ff1d987aa83

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

=header "Image"
=subheader @image.id

%div{ :'data-role' => :content, :'data-theme' => 'c'}
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
    %li{ :'data-role' => 'list-divider'} Name
    %li
      %p{ :'data-role' => 'fieldcontain'}=@image.name
    %li{ :'data-role' => 'list-divider'} Description
    %li
      %p{ :'data-role' => 'fieldcontain'}=@image.description
    %li{ :'data-role' => 'list-divider'} Owner
    %li
      %p{ :'data-role' => 'fieldcontain'}
        %a{ :href => images_url + "?owner_id=#{@image.owner_id}"}
          =@image.owner_id
    %li{ :'data-role' => 'list-divider'} State
    %li
      %p{ :'data-role' => 'fieldcontain'}=@image.state
    %li{ :'data-role' => 'list-divider'} Architecture
    %li
      %p{ :'data-role' => 'fieldcontain'}=@image.architecture
    %li{ :'data-role' => 'list-divider'} Hardware Profiles
    %li
      %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
        - @image.hardware_profiles.each do |hwp|
          %a{ :href => api_url_for("hardware_profiles/#{hwp.name}"), :'data-role' => "button", :'data-ajax' => 'false'} #{hwp.name}
    %li{ :'data-role' => 'list-divider'} Actions
    %li
      %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
        %a{ :href => api_url_for("instances/new?image_id=#{@image.id}"), :'data-role' => "button", :'data-ajax' => 'false'} Launch
        = link_to_action 'Destroy', destroy_image_url(@image.id), :delete

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deltacloud-core-1.0.2 views/images/show.html.haml
deltacloud-core-1.0.1 views/images/show.html.haml
deltacloud-core-1.0.0 views/images/show.html.haml