mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-06 02:28:25 +00:00
10 lines
457 B
HTML
10 lines
457 B
HTML
<div class="context-menu" [style.left]="leftPosition" [style.top]="topPosition" *ngIf="node">
|
|
<span [matMenuTriggerFor]="selectInterfaceMenu"></span>
|
|
<mat-menu [style.min-height]="0" #selectInterfaceMenu="matMenu" class="context-menu-items">
|
|
<button mat-menu-item *ngFor="let port of availablePorts" (click)="chooseInterface(port)">
|
|
<mat-icon>add_circle_outline</mat-icon>
|
|
<span>{{ port.name }}</span>
|
|
</button>
|
|
</mat-menu>
|
|
</div>
|