Sha256: 5e96f42ae3424c4b8bc1ceb6393c6dda1370480e05fdbe696829cf0da1b76821

Contents?: true

Size: 1.54 KB

Versions: 8

Compression:

Stored size: 1.54 KB

Contents

<div class="row">
  <div class="small-12 columns">
    <h1>Job <%= @job.job_id %></h1>
  </div>
</div>
<div class="row">
  <div class="small-12 columns">
    <table>
      <tbody>
        <tr>
          <th>Job</th>
          <td><%= @job.job_class %></td>
        </tr>
        <tr>
          <th>Queue</th>
          <td><%= @job.queue %></td>
        </tr>
        <tr>
          <th>Priority</th>
          <td><%= @job.priority %></td>
        </tr>
        <tr>
          <th>Run At</th>
          <td>
            <%== relative_time @job.run_at %>
            <%== erb :_past_due, locals: {job: @job} %>
          </td>
        </tr>
        <tr>
          <th>Failures</th>
          <td><pre><%= @job.error_count %></pre></td>
        </tr>
        <tr>
          <th>Args</th>
          <td><pre><%= @job.args.map(&:inspect).join(', ') %></pre></td>
        </tr>
        <tr>
          <th>Last Error</th>
          <td><pre><%= @job.last_error %></pre></td>
        </tr>
      </tbody>
    </table>
  </div>
</div>
<div class="row">
  <div class="small-12 columns">
    <form class="form-inline" action="<%= link_to "/jobs/#{@job.job_id}" %>" method="post">
      <input type="hidden" name="_method" value="put" />
      <button><i class="fa fa-play-circle"></i> Run Immediately</button>
    </form>
    <form class="form-inline" maction="<%= link_to "/jobs/#{@job.job_id}" %>" method="post">
      <input type="hidden" name="_method" value="Delete" />
      <button class="button alert"><i class="fa fa-trash"></i> Delete</button>
    </form>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
que-web-0.7.2 web/views/show.erb
que-web-0.7.1 web/views/show.erb
que-web-0.7.0 web/views/show.erb
que-web-0.6.3 web/views/show.erb
que-web-0.6.2 web/views/show.erb
que-web-0.6.1 web/views/show.erb
que-web-0.6.0 web/views/show.erb
que-web-0.5.0 web/views/show.erb