20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / views / work_units / _show_component.html.erb
diff --git a/apps/workbench/app/views/work_units/_show_component.html.erb b/apps/workbench/app/views/work_units/_show_component.html.erb
deleted file mode 100644 (file)
index 4cce090..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<%# Work unit status %>
-
-<div class="row">
-  <div class="col-md-4">
-    <% if wu.is_paused? %>
-      <p>
-        This <%= wu.title %> is paused. Children that were running
-        were cancelled and no new processes will be submitted.
-      </p>
-    <% end %>
-
-    <%= raw(wu.show_runtime) %>
-  </div>
-  <%# Need additional handling for main object display  %>
-  <% if @object.uuid == wu.uuid %>
-    <div class="col-md-3">
-      <% if wu.is_running? and wu.child_summary_str %>
-        <%= wu.child_summary_str %>
-      <% end %>
-    </div>
-    <div class="col-md-3">
-      <%= render partial: 'work_units/progress', locals: {wu: wu} %>
-    </div>
-    <div class="col-md-2">
-      <% if wu.can_cancel? and @object.editable? %>
-        <% confirm = if wu.confirm_cancellation then {confirm: wu.confirm_cancellation} else {} end %>
-        <%= form_tag "#{wu.uri}/cancel", remote: true, style: "display:inline; padding-left: 1em" do |f| %>
-          <%= hidden_field_tag :return_to, url_for(@object) %>
-          <%= button_tag "Cancel", {class: 'btn btn-xs btn-warning', id: "cancel-obj-button", data: confirm} %>
-        <% end %>
-      <% end %>
-    </div>
-  <% end %>
-</div>
-
-<%# Display runtime error information %>
-<% if wu.runtime_status.andand[:error] %>
-<div class="container">
-  <div class="col-md-12">
-    <div class="panel panel-danger">
-      <div class="panel-heading">
-        <h4 class="panel-title">
-          <a class="component-detail-panel" data-toggle="collapse" href="#errorDetail">
-            <span class="caret"></span> Error: <%= h(wu.runtime_status[:error]) %>
-          </a>
-        </h4>
-      </div>
-      <div id="errorDetail" class="panel-body panel-collapse collapse">
-        <% if wu.runtime_status[:errorDetail] %>
-          <pre><%= h(wu.runtime_status[:errorDetail]) %></pre>
-        <% else %>
-          No detailed information available.
-        <% end %>
-      </div>
-    </div>
-  </div>
-</div>
-<% end %>
-
-<%# Display runtime warning message %>
-<% if wu.runtime_status.andand[:warning] %>
-<div class="container">
-  <div class="col-md-12">
-    <div class="panel panel-warning">
-      <div class="panel-heading">
-        <h4 class="panel-title">
-          <a class="component-detail-panel" data-toggle="collapse" href="#warningDetail">
-            <span class="caret"></span> Warning: <%= h(wu.runtime_status[:warning]) %>
-          </a>
-        </h4>
-      </div>
-      <div id="warningDetail" class="panel-body panel-collapse collapse">
-        <% if wu.runtime_status[:warningDetail] %>
-          <pre><%= h(wu.runtime_status[:warningDetail]) %></pre>
-        <% else %>
-          No detailed information available.
-        <% end %>
-      </div>
-    </div>
-  </div>
-</div>
-<% end %>
-
-<p>
-  <%= render(partial: 'work_units/component_detail', locals: {current_obj: wu}) %>
-</p>
-
-<%# Work unit children %>
-<% if wu.has_unreadable_children %>
-  <%= render(partial: "pipeline_instances/show_components_json",
-             locals: {error_name: "Unreadable components", backtrace: nil, wu: wu}) %>
-<% else %>
-  <% wu.children.each do |c| %>
-    <%= render(partial: 'work_units/show_child', locals: {current_obj: c, i: (c.uuid || rand(2**128).to_s(36)), expanded: false}) %>
-  <% end %>
-<% end %>