Sha256: 20de0e7424e296a97565c46a45982d839b7d23acf70ddbcabba6ba726bc10ed1

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 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="<%= 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="<%= 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

1 entries across 1 versions & 1 rubygems

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