Sha256: 5032ec00d23fed85ff823622ab0ed48652a97b2f4f8c5fef0576b70a6dd8eff5
Contents?: true
Size: 1.3 KB
Versions: 5
Compression:
Stored size: 1.3 KB
Contents
<% if throttles.empty? %> <div class="page-header"> <h1>No Queues To Throttle <small>What a fine predicament to be in...</small></h1> </div> <% else %> <div class="page-header"> <h1>Throttles <small>for queue concurrency</small></h1> </div> <table class="table"> <thead> <tr> <th> Queue </th> <th> Maximum </th> <th> TTL (sets expiration) </th> <th> Reset </th> </tr> </thead> <tbody> <% throttles.each do |throttle| %> <tr class="tracked-row"> <td class="large-text"><%= throttle.id %></td> <td> <input class="span1 <%= throttle.id.gsub(':', '-') %>-maximum" type="text" placeholder="<%= throttle.maximum %>" onchange="update_throttle('<%= throttle.id %>', $(this).val())"></input> </td> <td> <input class="span1 <%= throttle.id.gsub(':', '-') %>-expiration" type="text" placeholder="<%= throttle.ttl %>" onchange="expire_throttle('<%= throttle.id %>', $(this).val())"></input> </td> <td> <button title="delete" class="btn btn-danger" onclick="confirmation(this, 'Delete?', function() { delete_throttle('<%= throttle.id %>', fade) })"> <i class="icon-remove"></i> </button> </td> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems