<%# Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: AGPL-3.0 %> <div class="compute-summary-numbers"> <table> <colgroup> <col width="50%"> <col width="50%"> </colgroup> <tr> <td><%= nodes.select {|n| n.crunch_worker_state == "busy" }.size %></td> <td><%= nodes.select {|n| n.crunch_worker_state == "idle" }.size %></td> </tr> <tr> <th>Busy nodes</th> <th>Idle nodes</th> </tr> </table> </div>