Sha256: 71efe0dad8d459814ef3a135b3afdb12b0d81e221e8087f3eccb56c5c8840c4e

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

<div class='job-list'>
  <div class='list'>
    <div class='row'>
      <div class='col-sm-10'>
        <h2>Active Workers</h2>

        <% if @server_name %>
          <h4><%= " For Server: #{@server_name}" %></h4>
        <% end %>

        <% if @job %>
          <h4> For Job: <%= link_to(@job.class.name, job_path(@job)) %> ID:<%= link_to(@job.id, job_path(@job)) %></h4>
        <% end %>
      </div>

      <div class='col-sm-2'>
        <div class='btn btn-default pull-right dt-reload' data-behavior='reload'>
          <i class='fas fa-sync'></i>
        </div>
      </div>
    </div>

    <table class='table datatable active-workers-datatable' data-turbolinks='false' data-source='<%= active_workers_url(format: 'json') %>' style='width: 100%'>
      <thead>
        <tr>
          <th>Worker Name</th>
          <th>Class</th>
          <th>Description</th>
          <th>Started</th>
        </tr>
      </thead>

      <tbody></tbody>
    </table>
  </div>
</div>

<script>
  jQuery(function() {
    new RjmcDatatable(
      $('.active-workers-datatable'),
      [{data: '0'}, {data: '1'}, {data: '2'}, {data: '3'}],
      { ordering: false, searching: false });
  });
</script>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.1.0 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-6.0.7 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-6.0.6 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-6.0.5 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-6.0.4 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-6.0.3 app/views/rocket_job_mission_control/active_workers/index.html.erb