11065: Merge branch 'master' into 11065-rotate-logs
[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="50%">
5         <col width="50%">
6       </colgroup>
7       <tr>
8         <td><%= nodes.select {|n| n.crunch_worker_state == "busy" }.size %></td>
9         <td><%= nodes.select {|n| n.crunch_worker_state == "idle" }.size %></td>
10       </tr>
11       <tr>
12         <th>Busy nodes</th>
13         <th>Idle nodes</th>
14       </tr>
15     </table>
16 </div>