Sha256: 72b393ee023ad93fa012e37bd4d80802a6f1e5e6952b566cd22993261a9eb0af

Contents?: true

Size: 1.27 KB

Versions: 11

Compression:

Stored size: 1.27 KB

Contents

<div class="my-3 flex">
  <h2>Processes</h2>
</div>

<div data-live-poll-region="processes">
  <% if !GoodJob::Process.migrated? %>
    <div class="card my-3">
      <div class="card-body">
        <p class="card-text">
          <em>Feature unavailable because of pending database migration.</em>
        </p>
      </div>
    </div>
  <% elsif @processes.present? %>
    <div class="card my-3">
      <div class="table-responsive">
        <table class="table card-table table-bordered table-hover table-sm mb-0">
          <thead>
          <tr>
            <th>Process UUID</th>
            <th>Created At</th></th>
            <th>State</th>
          </tr>
          </thead>
          <tbody>
          <% @processes.each do |process| %>
            <tr class="<%= dom_class(process) %>" id="<%= dom_id(process) %>">
              <td><%= process.id %></td>
              <td><%= relative_time(process.created_at) %></td>
              <td><%= tag.pre JSON.pretty_generate(process.state) %></td>
            </tr>
          <% end %>
          </tbody>
        </table>
      </div>
    </div>
  <% else %>
    <div class="card my-3">
      <div class="card-body">
        <p class="card-text">
          <em>No GoodJob processes found.</em>
        </p>
      </div>
    </div>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
good_job-2.99.0 app/views/good_job/processes/index.html.erb
good_job-2.17.1 app/views/good_job/processes/index.html.erb
good_job-2.17.0 app/views/good_job/processes/index.html.erb
good_job-2.16.1 engine/app/views/good_job/processes/index.html.erb
good_job-2.16.0 engine/app/views/good_job/processes/index.html.erb
good_job-2.15.2 engine/app/views/good_job/processes/index.html.erb
good_job-2.15.1 engine/app/views/good_job/processes/index.html.erb
good_job-2.15.0 engine/app/views/good_job/processes/index.html.erb
good_job-2.14.4 engine/app/views/good_job/processes/index.html.erb
good_job-2.14.3 engine/app/views/good_job/processes/index.html.erb
good_job-2.14.2 engine/app/views/good_job/processes/index.html.erb