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-10-29 14:50:21 -06:00

19 lines
627 B
Text
Executable file

h3 Queues
- if @queues.size > 0
table class="queues table table-hover table-bordered table-striped table-white"
thead
th Queue
th Size
th Actions
- queues.each do |(queue, size)|
tr
td
a href="#{root_path}queues/#{queue}" #{queue}
td= number_with_delimiter(size)
td width="20%"
form action="#{root_path}queues/#{queue}" method="post"
input.btn.btn-danger.btn-small 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