Merge branch '18947-githttpd'
[arvados.git] / apps / workbench / app / views / projects / _compute_node_summary.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <div class="compute-summary-numbers">
6     <table>
7       <colgroup>
8         <col width="50%">
9         <col width="50%">
10       </colgroup>
11       <tr>
12         <td><%= nodes.select {|n| n.crunch_worker_state == "busy" }.size %></td>
13         <td><%= nodes.select {|n| n.crunch_worker_state == "idle" }.size %></td>
14       </tr>
15       <tr>
16         <th scope="col">Busy nodes</th>
17         <th scope="col">Idle nodes</th>
18       </tr>
19     </table>
20 </div>