Sha256: 50c60acc6b84c71cd0ce0f2d5672b845d1de5d55f216c540909ec8efcc5b2d72

Contents?: true

Size: 1.52 KB

Versions: 3

Compression:

Stored size: 1.52 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></th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        <% @list.page_jobs.each do |job| %>
          <tr>
            <td><a href="<%= to "jobs/#{job.job_id}" %>"><%= job.run_at.utc %></a></td>
            <td><%= job.error_count %></td>
            <td><%= job.job_class %></td>
            <td><%= job.queue %></td>
            <td><pre><%= job.args.map(&:inspect).join(', ') %></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

3 entries across 3 versions & 1 rubygems

Version Path
que-web-0.2.2 web/views/failing.erb
que-web-0.2.1 web/views/failing.erb
que-web-0.2.0 web/views/failing.erb