+
<% if running_pipelines.empty? %>
No pipelines are currently running.
<% end %>
@@ -67,7 +67,8 @@
- Started at
<%= p[:created_at] %>.
+ Started at
<%= p[:created_at] %>.
<% pipeline_time = Time.now - (p[:started_at] || p[:created_at]) %>
Active for <%= runtime(pipeline_time, false) %>.
@@ -87,44 +88,64 @@
Recently finished pipelines
-
+
<% finished_pipelines(8).each do |p| %>
-
+
<%= link_to_if_arvados_object p, friendly_name: true %>
-
+
<%= render partial: "pipeline_status_label", locals: {p: p}%>
- <% outputs = [] %>
- <% p.components.each do |k, c| %>
- <% outputs << c[:output_uuid] if c[:output_uuid] %>
- <% end %>
- <%= outputs %>
+ <%= p[:modified_at] %>
-
- Finished at
<%= p[:modified_at] %>.
<% if p[:started_at] and p[:finished_at] %>
<% pipeline_time = p[:finished_at] - p[:started_at] %>
- Active for <%= runtime(pipeline_time, false) %>.
+ Active for <%= runtime(pipeline_time, false) %>
<% end %>
+
+
+ <% outputs = [] %>
+ <% p.components.each do |k, c| %>
+ <% outputs << c[:output_uuid] if c[:output_uuid] %>
+ <% end %>
+ <% if outputs.size == 0 %>
+ No output.
+ <% elsif outputs.size == 1 %>
+ <%= link_to_if_arvados_object outputs[0], friendly_name: true %>
+ <% else %>
+ Outputs
+ <% end %>
+
+
+
+
+ <% outputs.each do |out| %>
+
+ <%= link_to_if_arvados_object out, friendly_name: true %>
+
+ <% end %>
+
+
+
<% end %>
-
+
<% nodes = Node.all %>
-
+
<%= render partial: 'compute_node_summary', locals: {nodes: nodes} %>
@@ -136,15 +157,17 @@
Recent collections
-
+
<% r = recent_collections(8) %>
<% r[:collections].each do |p| %>
<%= link_to_if_arvados_object r[:owners][p[:owner_uuid]], friendly_name: true %>/
- p[:modified_at]
+ <%= p[:modified_at]%>
-
<%= link_to_if_arvados_object p, friendly_name: true %>
+
<%= link_to_if_arvados_object p, friendly_name: true %>
<% end %>