Merge branch 'master' into 3605-improved-dashboard
[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         <col width="25%">
8
9       </colgroup>
10       <tr>
11         <td><%= Job.queue_size %></td>
12         <td><%= nodes.select {|n| n.crunch_worker_state.in? ["busy", "idle"] }.size %></td>
13         <td><%= nodes.select {|n| n.crunch_worker_state == "busy" }.size %></td>
14         <td><%= nodes.select {|n| n.crunch_worker_state == "idle" }.size %></td>
15       </tr>
16       <tr>
17         <th>Queue</th>
18         <th>Nodes</th>
19         <th>Busy</th>
20         <th>Idle</th>
21       </tr>
22     </table>
23 </div>