3021: Merge branch 'master' into 3021-workbench-perf
[arvados.git] / apps / workbench / app / views / projects / _compute_node_summary.html.erb
1 <div class="compute-summary-numbers">
2     <table>
3       <colgroup>
4         <col width="25%">
5         <col width="25%">
6         <col width="25%">
7       </colgroup>
8       <tr>
9         <td><%= Job.queue_size %></td>
10         <td><%= nodes.select {|n| n.crunch_worker_state == "busy" }.size %></td>
11         <td><%= nodes.select {|n| n.crunch_worker_state == "idle" }.size %></td>
12       </tr>
13       <tr>
14         <th>Queued jobs</th>
15         <th>Busy nodes</th>
16         <th>Idle nodes</th>
17       </tr>
18     </table>
19 </div>