Sha256: 4e3c4803165876d9d4b78ac29ffbccf28cdb9ef7b470512a2a991c0a4666a97d
Contents?: true
Size: 655 Bytes
Versions: 8
Compression:
Stored size: 655 Bytes
Contents
%h2 Workers %table.table.table-striped.table-hover.table-condensed %tr %th ID %th status %th job %th.text-right seen - @worker_variables.each do |vars| - wid = vars[:wid] - status = vars[:status] - alive = $pool.worker_alive? wid - trclass = DASHBOARD_WORKER_STYLES[status] - unless alive - trclass = "danger" - status = "DEAD" - if vars[:updted_at].is_a? Time - no_news_for = (Time.now - vars[:updted_at]).round(0) - else - no_news_for = "?" %tr{class: trclass.to_s} %td= wid %td= status %td= vars[:jid] %td.text-right = "#{no_news_for} s"
Version data entries
8 entries across 8 versions & 1 rubygems