mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 03:41:50 -05:00
* Moves network UI source to awx/client/src/network-ui * Moves network ui partials to awx/ui/client/network-ui * Renames widgets with suffix partial.svg * Updates directives to use bundled partials * Uses ~network-ui for loading UI component
72 lines
3.1 KiB
XML
72 lines
3.1 KiB
XML
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
|
|
|
<g ng-if="!debug.hidden">
|
|
<line ng-attr-x1="{{-50 - 10}}"
|
|
ng-attr-y1="0"
|
|
ng-attr-x2="{{50 + 10}}"
|
|
ng-attr-y2="0"
|
|
class="NetworkUI--debug"></line>
|
|
<line ng-attr-x1="0"
|
|
ng-attr-y1="{{-50 - 10}}"
|
|
ng-attr-x2="0"
|
|
ng-attr-y2="{{50 + 10}}"
|
|
class="NetworkUI--debug"></line>
|
|
<rect ng-attr-x="{{-50}}"
|
|
ng-attr-y="{{-50}}"
|
|
ng-attr-width="{{50 * 2}}"
|
|
ng-attr-height="{{50 * 2}}"
|
|
class="NetworkUI--debug"></rect>
|
|
</g>
|
|
<rect
|
|
x="-52"
|
|
y="-52"
|
|
ng-attr-width="{{100 + 4}}"
|
|
ng-attr-height="{{100 + 4}}"
|
|
ng-attr-class="{{item.selected || item.remote_selected ? item.selected && item.remote_selected ? 'NetworkUI__rack--selected-conflict' : item.selected ? 'NetworkUI__rack--selected' : 'NetworkUI__rack--remote-selected' : 'NetworkUI--hidden'}}"
|
|
rx=10>
|
|
</rect>
|
|
<g class="NetworkUI__rack">
|
|
<rect
|
|
x="-50"
|
|
y="-50"
|
|
ng-attr-width="{{100}}"
|
|
ng-attr-height="{{100}}"
|
|
rx=10
|
|
class="NetworkUI__rack-background">
|
|
</rect>
|
|
<rect
|
|
x="-50"
|
|
y="-50"
|
|
ng-attr-width="{{100}}"
|
|
ng-attr-height="{{30}}"
|
|
rx=10>
|
|
</rect>
|
|
<rect
|
|
x="-50"
|
|
y="-15"
|
|
ng-attr-width="{{100}}"
|
|
ng-attr-height="{{30}}"
|
|
rx=10>
|
|
</rect>
|
|
<rect
|
|
x="-50"
|
|
y="20"
|
|
ng-attr-width="{{100}}"
|
|
ng-attr-height="{{30}}"
|
|
rx=10>
|
|
</rect>
|
|
<circle cx="30" cy="-35" r=7 />
|
|
<circle cx="30" cy="0" r=7 />
|
|
<circle cx="30" cy="35" r=7 />
|
|
</circle>
|
|
</g>
|
|
<g ng-show="item.icon || current_scale > 0.5">
|
|
<text ng-attr-class="{{item.selected && ! item.edit_label ? 'selected' : 'NetworkUI--hidden'}}"
|
|
filter="url(#selected)"
|
|
text-anchor="middle"
|
|
x="0"
|
|
y="6"> {{item.name}} </text>
|
|
<text class="NetworkUI__rack-text" text-anchor="middle" x="0" y="6">{{item.name}}{{item.edit_label?'_':''}}</text>
|
|
</g>
|
|
|