Merge branch '18947-githttpd'
[arvados.git] / apps / workbench / app / views / projects / _compute_node_summary.html.erb
index 9a58d094b9b471c517e0722bfe736c4f57922620..474fc7b9f5d5405ff7505c4178f45e40f8bb3193 100644 (file)
@@ -1,23 +1,20 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <div class="compute-summary-numbers">
     <table>
       <colgroup>
-        <col width="25%">
-        <col width="25%">
-        <col width="25%">
-        <col width="25%">
-
+        <col width="50%">
+        <col width="50%">
       </colgroup>
       <tr>
-        <td><%= Job.queue_size %></td>
-        <td><%= nodes.select {|n| n.crunch_worker_state.in? ["busy", "idle"] }.size %></td>
         <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>Queue</th>
-        <th>Nodes</th>
-        <th>Busy</th>
-        <th>Idle</th>
+        <th scope="col">Busy nodes</th>
+        <th scope="col">Idle nodes</th>
       </tr>
     </table>
 </div>