commit | 9de21357a2cad5aefd5a18a505de6b9d61f44aac | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Sat Apr 06 19:22:27 2019 +0100 |
committer | Sean Condon <sean@opennetworking.org> | Mon Apr 08 08:06:34 2019 +0000 |
tree | 8272a36b4fb80835a3c01a4fd15df3ca599a9d7f | |
parent | e288e5b5087d8061988efff5dfddab4f2ae99955 [diff] [blame] |
GUI2 Command to Unpin or Freeze selected or all nodes Change-Id: I4f0494a3fadc04dd09afbd096ea1f0d4f73d5c4f
diff --git a/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html b/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html index e87e1a8..8a5e1b5 100644 --- a/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html +++ b/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html
@@ -69,6 +69,10 @@ --> <svg:rect x="-16" y="-16" width="32" height="32" style="fill: url(#diagonal_blue)"> </svg:rect> + <svg:path *ngIf="device.location && device.location.locType != 'none'" + d="M-15 12 v3 h5" style="stroke: white; stroke-width: 1; fill: none"></svg:path> + <svg:path *ngIf="device.fx != null" + d="M15 -12 v-3 h-5" style="stroke: white; stroke-width: 1; fill: none"></svg:path> <!-- Template explanation: Creates an SVG Text element and in line 1) make it left aligned and slightly down and to the right of the last rect line 2) set its text length to be the calculated value - see that function