Sha256: 58905bfa7d8810aad8787b2ba42279f7cc90c7d73ba5d64bb3593320e496ac5b
Contents?: true
Size: 1.7 KB
Versions: 1
Compression:
Stored size: 1.7 KB
Contents
<header class="row"> <div class="col-sm-5"> <h3> <%= t('CurrentMessagesInQueue', :queue => h(@name)) %> <% if @queue.paused? %> <span class="label label-danger"><%= t('Paused') %></span> <% end %> </h3> </div> <div class="col-sm-4 pull-right"> <%= erb :_paging, locals: { url: "#{root_path}queues/#{CGI.escape(@name)}" } %> </div> </header> <div class="table_container"> <table class="queue table table-hover table-bordered table-striped"> <thead> <th><%= t('Job') %></th> <th><%= t('Arguments') %></th> <th></th> </thead> <% @messages.each_with_index do |msg, index| %> <tr> <td><%= h(msg.display_class) %></td> <td> <% a = msg.display_args.inspect %> <% if a.size > 100 %> <span class="worker_<%= index %>"><%= h(msg.display_args.inspect[0..100]) + "... " %></span> <button data-toggle="collapse" data-target=".worker_<%= index %>" class="btn btn-default btn-xs"><%= t('ShowAll') %></button> <div class="toggle worker_<%= index %>"><%= h(msg.display_args) %></div> <% else %> <%= h(msg.display_args) %> <% end %> </td> <td> <form action="<%= root_path %>queues/<%= CGI.escape(@name) %>/delete" method="post"> <%= csrf_tag %> <input name="key_val" value="<%= h Sidekiq.dump_json(msg.item) %>" type="hidden" /> <input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSure') %>" /> </form> </td> </tr> <% end %> </table> </div> <%= erb :_paging, locals: { url: "#{root_path}queues/#{@name}" } %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-4.2.10 | web/views/queue.erb |