Sha256: 92988ed2e7718eb9ed8e030f5c4351e163820ab887f52145ce3a724c0eb7ce00
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
<div class="row"> <div class="small-12 columns"> <h1><%= @list.total %> Scheduled Job<%= @list.total == 1 ? "" : "s" %></h1> </div> </div> <div class="row"> <div class="small-12 columns"> <table> <thead> <tr> <th>Run At</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}" %>"><%== relative_time job.run_at %></a> <%== erb :_past_due, locals: {job: job}%> </td> <td><%= job.job_class %></td> <td><%= job.queue %></td> <td><pre><%= format_args job %></pre></td> <td> <form action="<%= to "jobs/#{job.job_id}" %>" method="post"> <input type="hidden" name="_method" value="put" /> <button class="plain" title="Run Immediately"><i class="fa fa-play-circle"></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/scheduled.erb |