Sha256: f494bfcf0822083d178497efed2f1fbbf4d1e5cd430d4a36f920ebbd65aaa601
Contents?: true
Size: 1.55 KB
Versions: 105
Compression:
Stored size: 1.55 KB
Contents
<header class="row"> <div class="col-sm-5"> <h3> <%= t('Pools') %> </h3> </div> <% if @pools.any? && @total_size > @count.to_i %> <div class="col-sm-4"> <%= erb get_template(:_pagination), locals: { url: "#{root_path}pools" } %> </div> <% end %> </header> <% if @pools.any? %> <div class="table_container"> <table class="table table-striped table-bordered table-hover"> <thead> <tr> <th><%= t('Created') %></th> <th><%= t('PID') %></th> <th><%= t('Description') %></th> <th><%= t('Type') %></th> <th><%= t('Concurrency') %></th> <th><%= t('Utilization') %></th> <th><%= t('Pending Tasks') %></th> </tr> </thead> <% @pools.each do |pool| %> <tr> <td><%= safe_relative_time(pool.created_at.to_f) %></th> <td><a href="<%= root_path %>pools/<%= pool.pid %>"><%= pool.pid %></a></td> <td><%= pool.description %></th> <td><%= pool.order.to_s.upcase %></th> <td><%= pool.concurrency %></th> <td><%= pool.active_count %></th> <td><%= pool.pending_count %></th> </tr> <% end %> </table> </div> <% end %> <form action="<%= root_path %>pools/all" method="post"> <%= csrf_tag %> <input class="btn btn-danger btn-xs pull-right flip" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" /> </form>
Version data entries
105 entries across 105 versions & 1 rubygems