Sha256: 502ed42a06d90b9fa42c03b99b8b4d820f98957ebc273ccef14ff178a15c1736
Contents?: true
Size: 1.78 KB
Versions: 1
Compression:
Stored size: 1.78 KB
Contents
<header class="row"> <div class="col-sm-6"> <h3><%= t("In-flight") %></h3> </div> <div class="col-sm-4"> <%= erb :_paging, locals: { url: "#{root_path}in-flight" } %> </div> </header> <div class="table_container"> <table id="inflight-stats" class="inflight table table-hover table-bordered table-striped table-white"> <thead> <th><%= t("Total In-flight") %></th> <th><%= t("Estimated Lost") %></th> </thead> <tbody> <tr> <td><%= number_with_delimiter(@total_size) %> </td> <td><%= number_with_delimiter(@total_size - workers.size) %> </td> </tr> </tbody> </table> </div> <div class="table_container"> <table id="inflight-jobs" class="inflight table table-hover table-bordered table-striped table-white"> <thead> <th><%= t("Job") %></th> <th><%= t("Args") %></th> <th><%= t("Queue") %></th> <th><%= t("Expires at") %></th> <th><%= t("Actions") %></th> </thead> <tbody> <% @jobs.each do |job| %> <tr> <td><%= h job["class"] %> </td> <td><%= h job["args"] %> </td> <td> <a href="<%= root_path %>queues/<%= CGI.escape(job["queue"]) %>"><%= h job["queue"] %></a> </td> <td> <%= relative_time(Time.at(job["expire_at"])) %> </td> <td> <form action="<%= root_path %>in-flight/<%= CGI.escape(job["jid"]) %>/delete" method="post"> <%= csrf_tag if respond_to?(:csrf_tag) %> <input id="jid-<%= job["jid"] %>" class='btn btn-xs btn-danger pull-left' type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('Are you sure?', :jid => job["jid"]) %>"/> </form> </td> </tr> <% end %> </tbody> </table> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atomic-sidekiq-1.3.0 | web/views/in_flight.erb |