Sha256: 120ad233c9895daec9cac42909dd1447a265d899f039829ccc46ac024b0c3d16
Contents?: true
Size: 617 Bytes
Versions: 6
Compression:
Stored size: 617 Bytes
Contents
- styles = {waiting: :success, processing: :info, crashed: :error, done: :success } %h2 Workers %table.table.table-striped.table-hover.table-condensed %tr %th ID %th status %th job %th.text-right idle - @gworker_statuses.each do |wid, infos| - status = infos[:status] - style = styles[status] || "" - if infos[:active_at].is_a? Time - no_news_for = (Time.now - infos[:active_at]).round(0) - else - no_news_for = "?" %tr{class: style.to_s} %td= wid %td= infos[:status] %td= infos[:jobid] %td.text-right = no_news_for s
Version data entries
6 entries across 6 versions & 1 rubygems