Sha256: ed7732413e9d2493f8f3289b05720242668ac40aa9d49dae1505d6825396c3d2
Contents?: true
Size: 697 Bytes
Versions: 10
Compression:
Stored size: 697 Bytes
Contents
-# coding: utf-8 %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" %tr{class: trclass.to_s} %td= wid %td= status %td= vars[:jid] %td.text-right - if vars[:updted_at].is_a? Time - no_news_for = (Time.now - vars[:updted_at]).round(0) = Helpers.formatted_duration no_news_for - else = "?"
Version data entries
10 entries across 10 versions & 1 rubygems