Sha256: 59b76f7f7ee35466a8b4147520a8f341373d948289f465c71b312becec1f9161

Contents?: true

Size: 964 Bytes

Versions: 15

Compression:

Stored size: 964 Bytes

Contents

<div class="subnav subnav-fixed">
  <ul class="nav nav-pills">
    <li><a href="#Running">Running</a></li>
    <li><a href="#Stalled">Stalled</a></li>
  </ul>
</div>

<div id="alerts" style="margin-top: 40px"></div>

<% if worker['jobs'].length > 0 %>
  <div class="page-header">
    <h1><%= worker['name'] %> <small>Running Jobs</small></h1>
  </div>

  <% worker['jobs'].each do |job| %>
  <%= erb :_job, :layout => false, :locals => { :job => job, :queues => queues } %>
  <% end %>
<% end %>

<% if worker['stalled'].length > 0 %>
  <div class="page-header">
    <h1><%= worker['name'] %> <small>Stalled Jobs</small></h1>
  </div>

  <% worker['stalled'].each do |job| %>
  <%= erb :_job, :layout => false, :locals => { :job => job, :queues => queues } %>
  <% end %>
<% end %>

<% if worker['stalled'].length + worker['jobs'].length == 0 %>
  <div class="page-header">
    <h1><%= worker['name'] %> <small>Isn't Doing Anything</small></h1>
  </div>
<% end %>

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
reqless-0.0.5 lib/reqless/server/views/worker.erb
reqless-0.0.4 lib/reqless/server/views/worker.erb
reqless-0.0.3 lib/reqless/server/views/worker.erb
reqless-0.0.2 lib/reqless/server/views/worker.erb
reqless-0.0.1 lib/reqless/server/views/worker.erb
qless-0.12.0 lib/qless/server/views/worker.erb
qless-0.11.0 lib/qless/server/views/worker.erb
qless-0.10.5 lib/qless/server/views/worker.erb
qless-0.10.4 lib/qless/server/views/worker.erb
qless-0.10.3 lib/qless/server/views/worker.erb
qless-0.10.2 lib/qless/server/views/worker.erb
qless-0.10.1 lib/qless/server/views/worker.erb
qless-0.10.0 lib/qless/server/views/worker.erb
qless-0.9.3 lib/qless/server/views/worker.erb
qless-0.9.2 lib/qless/server/views/worker.erb