1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/queues.slim
2012-08-31 10:21:44 -04:00

19 lines
559 B
Text

h1 Queues
- if @queues.size > 0
table class="table table-striped table-bordered"
tr
th Queue
th Size
th
- queues.each do |(queue, size)|
tr
td
a href="#{root_path}queues/#{queue}" #{queue}
td= number_with_delimiter(size)
td
form action="#{root_path}queues/#{queue}" method="post"
input.btn.btn-danger type="submit" name="delete" value="Delete" data-confirm="Are you sure you want to delete the #{queue} queue?"
- else
p No queues found.
a href="#{root_path}" Back