rename explorer -> workbench
[arvados.git] / apps / explorer / app / views / pipeline_instances / index.html.erb
diff --git a/apps/explorer/app/views/pipeline_instances/index.html.erb b/apps/explorer/app/views/pipeline_instances/index.html.erb
deleted file mode 100644 (file)
index 8d6073c..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<table class="table table-hover">
-  <thead>
-    <tr class="contain-align-left">
-      <th>
-       status
-      </th><th>
-       id
-      </th><th>
-       name
-      </th><th>
-       template
-      </th><th>
-       owner
-      </th><th>
-       components
-      </th><th>
-       dependencies
-      </th><th>
-       created
-      </th>
-    </tr>
-  </thead>
-  <tbody>
-
-    <% @objects.sort_by { |ob| ob[:created_at] }.reverse.each do |ob| %>
-
-    <tr>
-      <td>
-        <% if ob.success %>
-        <span class="label label-success">success</span>
-        <% elsif ob.active %>
-        <span class="label label-info">active</span>
-        <% end %>
-      </td><td>
-        <%= link_to_if_orvos_object ob %>
-      </td><td>
-        <%= ob.name %>
-      </td><td>
-        <%= link_to_if_orvos_object ob.pipeline_template_uuid %>
-      </td><td>
-        <%= link_to_if_orvos_object ob.owner %>
-      </td><td>
-        <% ob.components.each do |cname, c| %>
-        <% status = if !c[:job] then nil elsif c[:job][:success] then 'success' elsif c[:job][:running] then 'info' else 'warning' end %>
-        <span class="label <%= "label-#{status}" if status %>"><%= cname.to_s %></span>
-        <% end %>
-      </td><td>
-        <small>
-          <% ob.dependencies.each do |d| %>
-          <%= d %><br />
-          <% end %>
-        </small>
-      </td><td>
-        <%= ob.created_at %>
-      </td>
-    </tr>
-
-    <% end %>
-
-  </tbody>
-</table>