Sha256: 4a70e08be1e07cfe83f025e6ea6741feaab32f72b00353c2fcac01d8565e0941

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

<% if @worker.jobs.empty? %>
  <%= blank_status_notice "This worker is idle" %>
<% else %>
  <h2 class="subtitle">Running <%= worker.jobs.size %> jobs</h2>

  <table class="jobs table workers is-hoverable is-fullwidth">
    <tbody>
    <thead>
    <tr>
      <th style="width: 30%;">Job</th>
      <th></th>
      <th style="width: 15%;">Running for</th>
    </tr>
    </thead>

    <%= render partial: "mission_control/jobs/workers/job", collection: @worker.jobs %>

    </tbody>
  </table>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mission_control-jobs-0.1.1 app/views/mission_control/jobs/workers/_jobs.html.erb
mission_control-jobs-0.1.0 app/views/mission_control/jobs/workers/_jobs.html.erb