X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/44d97727200a7efecd115cd01fb520f371ebfe3b..556503e1f98b8e262fcc1227ac4afdc78a2c05ca:/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 528d0ea0eb..da5871cb7a 100644
--- a/apps/workbench/app/views/projects/_compute_node_status.html.erb
+++ b/apps/workbench/app/views/projects/_compute_node_status.html.erb
@@ -1,7 +1,50 @@
+
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 the queue.
+<% end %>
+
+Node status
<% nodes.sort_by { |n| n.hostname || "" }.each do |n| %>
- <% if n.crunch_worker_state.in? ["busy", "idle"] %>
+ <% if n.crunch_worker_state.in? ["busy", "idle"] and (Time.now - n[:last_ping_at]) < 3600 %>