Sha256: 339b13cde2c245401cc8bf51bd6d8d6e9ae5dfd0e155978f8bb0f7ac3c76e138

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 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="fa fa-refresh"></i>
        </div>
      </div>
    </div>
    <table class='table datatable active-workers-datatable' 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

4 entries across 4 versions & 1 rubygems

Version Path
rocketjob_mission_control-3.0.3 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-3.0.2 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-3.0.1 app/views/rocket_job_mission_control/active_workers/index.html.erb
rocketjob_mission_control-3.0.0 app/views/rocket_job_mission_control/active_workers/index.html.erb