Sha256: 9e0a037d7fcf66c430ebc37afcfb7449cd040364d4b3b590c8c0cbff1c8d1a97

Contents?: true

Size: 858 Bytes

Versions: 1

Compression:

Stored size: 858 Bytes

Contents

%table.table.table-striped
  %thead
    %tr
      %th Host
      %th Last pod started
      %th Commands
      %th
  %tbody
    - @nodes.each do |node|
      %tr
        %td= node.hostname
        %td
          - if started_at = node.last_started_at
            = time_ago_in_words(started_at)
            ago
        %td
          %table.table.table-condensed.table-striped.table-bordered
            %tbody
              - node.commands_phases.each do |command, phases|
                %tr
                  %td= humanize_image(command.image)
                  %td= command.expression
                  %td= phases.length
                  %td
                    - uniq_phases = phases.uniq
                    - if uniq_phases.length == 1
                      = uniq_phases.first
                    - else
                      = phases.sort.join(', ')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhea-0.1.0 app/views/rhea/nodes/index.html.haml