Sha256: 34e1256c962f2e5074c7528d273e9123dae901e54797a7d8da85673df8e7b793
Contents?: true
Size: 1.67 KB
Versions: 13
Compression:
Stored size: 1.67 KB
Contents
<div class="subnav subnav-fixed"> <ul class="nav nav-pills"> <% failed.sort_by { |f| -f['total'] }.each do |f| %> <li><a href="#<%= sanitize_attr(f['type']) %>" data-toggle="tab"><%= f['type'] %> (<%= f['total'] %>)</a></li> <% end %> </ul> </div> <div id="alerts" style="margin-top: 40px"></div> <% if failed.empty? %> <div class="page-header"> <h1>No Failed Jobs <small>You Have Done Well!</small></h1> </div> <% else %> <div class="page-header"> <h1>Failed Jobs <small>Failure is a Part of Success!</small></h1> </div> <% end %> <div class="tab-content"> <% failed.sort_by { |f| -f['total'] }.each do |f| %> <div class="tab-pane active" id="<%= sanitize_attr(f['type']) %>"> <div class="page-header"> <div class="row"> <div class="span8"> <h2> <a href="<%= u "/failed/#{f['type']}" %>"><%= f['type'] %></a> | <%= f['total'] %> <small>Jobs</small </h2> </div> <div class="span4"> <div class="btn-group" style="float:right; margin-top: 5px"> <button class="btn btn-danger" title="cancel" onclick="confirmation(this, 'Cancel?', function() { cancelall('<%= f['type'] %>', fade) })"><i class="icon-remove"></i></button> <button class="btn btn-success" title="retry all" onclick="retryall('<%= f['type'] %>', fade)"><i class="icon-repeat"></i></button> </div> </div> </div> </div> <div class="row"> <div class="span12"> <% f['jobs'][0..5].each do |job| %> <%= erb :_job, :layout => false, :locals => { :job => job, :queues => queues, :brief => true } %> <% end %> </div> </div> </div> <% end %> </div>
Version data entries
13 entries across 13 versions & 2 rubygems