20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / views / application / _svg_div.html.erb
diff --git a/apps/workbench/app/views/application/_svg_div.html.erb b/apps/workbench/app/views/application/_svg_div.html.erb
deleted file mode 100644 (file)
index 8a417d9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<%= content_for :css do %>
-/* Need separate style for each instance of svg div because javascript will manipulate the properties. */
-#<%= divId %> {
- padding-left: 3px;
- overflow: auto;
- border: solid;
- border-width: 1px;
- border-color: gray;
- position: absolute;
- left: 25px;
- right: 25px;
-}
-path:hover {
-stroke-width: 5;
-}
-path {
-stroke-linecap: round;
-}
-<% end %>
-
-<%= content_for :js do %>
-    $(window).on('load', function() {
-      $(window).on('load resize scroll', function () { graph_zoom("<%= divId %>","<%=svgId %>", 1) } );
-    });
-<% end %>
-
-<div id="_<%= divId %>_container">
-  <div style="text-align: right">
-    <a style="cursor: pointer"><span class="glyphicon glyphicon-zoom-out" onclick="graph_zoom('<%= divId %>', '<%= svgId %>', .9)"></span></a>
-    <a style="cursor: pointer"><span class="glyphicon glyphicon-zoom-in" onclick="graph_zoom('<%= divId %>', '<%= svgId %>', 1./.9)"></span></a>
-  </div>
-
-  <div id="<%= divId %>" class="smart-scroll">
-    <span id="_<%= divId %>_center" style="padding-left: 0px"></span>
-    <%= raw(svg) %>
-  </div>
-</div>