X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4b88dab6ed8e3b583f0e4c1ea8b8e01adad4a6ad..eae48c31bb338689ec67fbc6a14a2e0b1fb5e3b6:/apps/workbench/app/views/projects/_compute_node_status.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/projects/_compute_node_status.html.erb b/apps/workbench/app/views/projects/_compute_node_status.html.erb index 527dc643e5..c2f5f39429 100644 --- a/apps/workbench/app/views/projects/_compute_node_status.html.erb +++ b/apps/workbench/app/views/projects/_compute_node_status.html.erb @@ -1,50 +1,6 @@ -

Queue

-<% queue = Job.queue %> -<% if queue.any? %> - -<% queue.each do |j| %> -
-
- <%= link_to_if_arvados_object j, friendly_name: true %> -
-
- <%= render_localized_date(j[:created_at]) %> -
-
- <%= render_runtime(Time.now - j[:created_at], false) %> -
-
- <%= j[:priority] %> -
-
-<% end %> -
-
- Job -
-
- Submitted -
-
- Queued -
-
- Priority -
-
- <% if Job.queue_size > queue.size %> - Note: some items in the queue are not visible to you. - <% end %> -
-
-<% else %> - There are currently no jobs in your queue. -<% end %> -

Node status

- <% nodes.sort_by { |n| n.hostname || "" }.each do |n| %> - <% if n.crunch_worker_state.in? ["busy", "idle"] and (Time.now - n[:last_ping_at]) < 3600 %> + <% nodes.each do |n| %>
<%= n.hostname %> @@ -52,10 +8,9 @@
state: <%= n.crunch_worker_state %>
<% [:total_cpu_cores, :total_ram_mb, :total_scratch_mb].each do |i| %> - <%= i.to_s.gsub '_', ' ' %>: <%= n.info[i] %>
+ <%= i.to_s.gsub '_', ' ' %>: <%= n.properties[i] %>
<% end %>
- <% end %> <% end %>