Sha256: 76e8810d0473ae0988ae6b3071ff92cc1dda86386ad7f9d986fa348da005b330

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

Stored size: 638 Bytes

Contents

%h1 Dashboard
%table.table.tree
  %tr.treegrid-1
    %td Views
    %td
    %td
  - iterate(@report) do |title, info|
    %tr{class: "treegrid-#{info[:idx]} treegrid-parent-#{info[:parent]} #{info[:class]}"}
      %td= title
      %td
        - if info[:childrens] > 0
          %span= "#{info[:childrens] - info[:idle]} of #{info[:childrens]}"
      %td
        - if info[:renderings] > 0
          %span
            = 'Renderings: '
            = info[:renderings]
        - if info[:execution] and info[:execution] > 0
          %span
            = 'Avg. time: '
            = '%.3f' % (info[:execution].to_f / info[:renderings] / 1000)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-idle-0.0.10 web/views/dashboard.haml
rails-idle-0.0.9 web/views/dashboard.haml