Sha256: 1f501f5967d3127dee97fb57b180f81dd783676c6e85de5461178d47260a0da3

Contents?: true

Size: 707 Bytes

Versions: 13

Compression:

Stored size: 707 Bytes

Contents

%h1 Instance States

%div#state_graph
  = image_tag url_for( '/api/instance_states.png' )

%table.states
  %thead
    %tr
      %th Origin
      %th Action
      %th Destination
  %tbody
    - @machine.states.each do |state|
      %tr
        %td.origin{:rowspan => "#{state.transitions.empty? ? 2 : (state.transitions.size + 1)}"}
          = state
      - if state.transitions.empty?
        %tr
          %td --
          %td --
      - else
        - state.transitions.each do |transition|
          %tr
            %td
              - if transition.automatically?
                %em auto
              - else
                = transition.action
            %td
              = transition.destination

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
bbrowning-deltacloud-core-0.0.6.1-java views/instance_states/show.html.haml
bbrowning-deltacloud-core-0.0.6-java views/instance_states/show.html.haml
bbrowning-deltacloud-core-0.0.6 views/instance_states/show.html.haml
deltacloud-core-0.0.6 views/instance_states/show.html.haml
bbrowning-deltacloud-core-0.0.4 views/instance_states/show.html.haml
bbrowning-deltacloud-core-0.0.4-java views/instance_states/show.html.haml
deltacloud-core-0.0.5 views/instance_states/show.html.haml
deltacloud-core-0.0.4 views/instance_states/show.html.haml
bbrowning-deltacloud-core-0.0.3.1 views/instance_states/show.html.haml
bbrowning-deltacloud-core-0.0.1.1 views/instance_states/show.html.haml
deltacloud-core-0.0.3 views/instance_states/show.html.haml
deltacloud-core-0.0.2 views/instance_states/show.html.haml
deltacloud-core-0.0.1 views/instance_states/show.html.haml