mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-02 11:06:44 +00:00
Merge pull request #1306 from GNS3/bugfix/1223
I removed electron specific Ui / code
This commit is contained in:
commit
8ec2b806a9
@ -18,20 +18,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
|
|
||||||
<mat-expansion-panel [expanded]="false">
|
|
||||||
<mat-expansion-panel-header>
|
|
||||||
<mat-panel-title> Console settings </mat-panel-title>
|
|
||||||
<mat-panel-description> Customize console settings </mat-panel-description>
|
|
||||||
</mat-expansion-panel-header>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<mat-form-field class="full-width-field">
|
|
||||||
<input matInput placeholder="console" [value]="consoleCommand" readonly="true" />
|
|
||||||
<a mat-icon-button matSuffix routerLink="/settings/console"><mat-icon>mode_edit</mat-icon></a>
|
|
||||||
</mat-form-field>
|
|
||||||
</div>
|
|
||||||
</mat-expansion-panel>
|
|
||||||
|
|
||||||
<mat-expansion-panel [expanded]="false">
|
<mat-expansion-panel [expanded]="false">
|
||||||
<mat-expansion-panel-header>
|
<mat-expansion-panel-header>
|
||||||
<mat-panel-title> Theme settings </mat-panel-title>
|
<mat-panel-title> Theme settings </mat-panel-title>
|
||||||
|
@ -13,7 +13,6 @@ import { UpdatesService } from '../../services/updates.service';
|
|||||||
})
|
})
|
||||||
export class SettingsComponent implements OnInit {
|
export class SettingsComponent implements OnInit {
|
||||||
settings: Settings;
|
settings: Settings;
|
||||||
consoleCommand: string;
|
|
||||||
integrateLinksLabelsToLinks: boolean;
|
integrateLinksLabelsToLinks: boolean;
|
||||||
openReadme: boolean;
|
openReadme: boolean;
|
||||||
openConsolesInWidget: boolean;
|
openConsolesInWidget: boolean;
|
||||||
@ -29,7 +28,6 @@ export class SettingsComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.settings = this.settingsService.getAll();
|
this.settings = this.settingsService.getAll();
|
||||||
this.consoleCommand = this.consoleService.command;
|
|
||||||
this.integrateLinksLabelsToLinks = this.mapSettingsService.integrateLinkLabelsToLinks;
|
this.integrateLinksLabelsToLinks = this.mapSettingsService.integrateLinkLabelsToLinks;
|
||||||
this.openReadme = this.mapSettingsService.openReadme;
|
this.openReadme = this.mapSettingsService.openReadme;
|
||||||
this.openConsolesInWidget = this.mapSettingsService.openConsolesInWidget;
|
this.openConsolesInWidget = this.mapSettingsService.openConsolesInWidget;
|
||||||
|
@ -27,10 +27,6 @@
|
|||||||
<mat-icon>groups</mat-icon>
|
<mat-icon>groups</mat-icon>
|
||||||
<span>User management</span>
|
<span>User management</span>
|
||||||
</button>
|
</button>
|
||||||
<button mat-menu-item routerLink="/installed-software" [disabled]="!isInstalledSoftwareAvailable">
|
|
||||||
<mat-icon>cloud_download</mat-icon>
|
|
||||||
<span>Installed software</span>
|
|
||||||
</button>
|
|
||||||
<button mat-menu-item routerLink="/help">
|
<button mat-menu-item routerLink="/help">
|
||||||
<mat-icon>help</mat-icon>
|
<mat-icon>help</mat-icon>
|
||||||
<span>Help</span>
|
<span>Help</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user