mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-18 23:08:14 +00:00
Merge branch 'master' into unit-tests
This commit is contained in:
@ -4,6 +4,7 @@ productName: "GNS3 Web UI"
|
|||||||
artifactName: "${productName}-${os}-${arch}-${version}.${ext}"
|
artifactName: "${productName}-${os}-${arch}-${version}.${ext}"
|
||||||
asar: true
|
asar: true
|
||||||
compression: normal
|
compression: normal
|
||||||
|
generateUpdatesFilesForAllChannels: true
|
||||||
|
|
||||||
directories:
|
directories:
|
||||||
output: build
|
output: build
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gns3-web-ui",
|
"name": "gns3-web-ui",
|
||||||
"version": "0.0.1-beta.0",
|
"version": "2019.1.0-alpha.1dev",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "GNS3 Technology Inc.",
|
"name": "GNS3 Technology Inc.",
|
||||||
"email": "developers@gns3.com"
|
"email": "developers@gns3.com"
|
||||||
|
@ -57,6 +57,12 @@ export class MovingTool {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// disable zooming on wheel
|
||||||
|
this.zoom.filter(() => {
|
||||||
|
const e: D3ZoomEvent<SVGSVGElement, any> = event;
|
||||||
|
return e.type === 'mousedown';
|
||||||
|
});
|
||||||
|
|
||||||
this.zoom.on('zoom', onZoom);
|
this.zoom.on('zoom', onZoom);
|
||||||
selection.call(this.zoom);
|
selection.call(this.zoom);
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="show-menu-wrapper" [ngClass]="{ shadowed: !drawTools.visibility }">
|
<div id="show-menu-wrapper" [ngClass]="{ shadowed: !drawTools.visibility }" *ngIf="!readonly">
|
||||||
<button class="arrow-button" mat-icon-button (click)="showMenu()"><mat-icon>keyboard_arrow_right</mat-icon></button>
|
<button class="arrow-button" mat-icon-button (click)="showMenu()"><mat-icon>keyboard_arrow_right</mat-icon></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<!-- <div>
|
||||||
<mat-checkbox [(ngModel)]="settings.angular_map"
|
<mat-checkbox [(ngModel)]="settings.angular_map"
|
||||||
>Enable experimental Angular Map (WARNING: IT CAN BREAK YOU LABS!)</mat-checkbox
|
>Enable experimental Angular Map (WARNING: IT CAN BREAK YOU LABS!)</mat-checkbox
|
||||||
>
|
>
|
||||||
</div>
|
</div> -->
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
</mat-accordion>
|
</mat-accordion>
|
||||||
</div>
|
</div>
|
||||||
|
@ -67,6 +67,10 @@ header {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding: 0%;
|
||||||
|
}
|
||||||
|
|
||||||
.mat-dialog-content > * {
|
.mat-dialog-content > * {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,7 @@ export class ServerService {
|
|||||||
server.name = 'local';
|
server.name = 'local';
|
||||||
server.host = host;
|
server.host = host;
|
||||||
server.port = port;
|
server.port = port;
|
||||||
|
server.location = 'local';
|
||||||
server.is_local = true;
|
server.is_local = true;
|
||||||
this.create(server).then(created => {
|
this.create(server).then(created => {
|
||||||
resolve(created);
|
resolve(created);
|
||||||
|
Reference in New Issue
Block a user