Sha256: fd9f020066e6141718d7ae8cf7664d98ffa176baf0e8185afa5c1a56b54c6463

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

<div class="row">
  <div class="small-12 columns">
    <h1><%= @list.total %> Failing Job<%= @list.total == 1 ? "" : "s" %></h1>
  </div>
</div>
<div class="row">
  <div class="small-12 columns">
    <table>
      <thead>
        <tr>
          <th>Next Run</th>
          <th>Failures</th>
          <th>Job</th>
          <th>Queue</th>
          <th>Args</th>
          <th>Error</th>
          <th></th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        <% @list.page_jobs.each do |job| %>
          <tr>
            <td><a href="<%= to "jobs/#{job.job_id}" %>">
              <%== relative_time job.run_at %></a>
              <%== erb :_past_due, locals: {job: job} %>
            </td>
            <td><%= job.error_count %></td>
            <td><%= job.job_class %></td>
            <td><%= job.queue %></td>
            <td><pre><%= format_args job %></pre></td>
            <td><%= format_error job %></pre></td>
            <td>
              <form action="<%= to "jobs/#{job.job_id}" %>" method="post">
                <input type="hidden" name="_method" value="put" />
                <button class="plain" title="Retry Immediately"><i class="fa fa-refresh"></i></button>
              </form>
            </td>
            <td>
              <form action="<%= to "jobs/#{job.job_id}" %>" method="post">
                <input type="hidden" name="_method" value="delete" />
                <button class="plain" title="Delete"><i class="fa fa-trash"></i></button>
              </form>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>

  </div>
</div>
<div class="row">
  <div class="small-12 columns">
    <%== erb :_pager %>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
que-web-0.4.0 web/views/failing.erb