mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-30 09:48:53 +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>
|
||||
</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-header>
|
||||
<mat-panel-title> Theme settings </mat-panel-title>
|
||||
|
@ -13,7 +13,6 @@ import { UpdatesService } from '../../services/updates.service';
|
||||
})
|
||||
export class SettingsComponent implements OnInit {
|
||||
settings: Settings;
|
||||
consoleCommand: string;
|
||||
integrateLinksLabelsToLinks: boolean;
|
||||
openReadme: boolean;
|
||||
openConsolesInWidget: boolean;
|
||||
@ -29,7 +28,6 @@ export class SettingsComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.settings = this.settingsService.getAll();
|
||||
this.consoleCommand = this.consoleService.command;
|
||||
this.integrateLinksLabelsToLinks = this.mapSettingsService.integrateLinkLabelsToLinks;
|
||||
this.openReadme = this.mapSettingsService.openReadme;
|
||||
this.openConsolesInWidget = this.mapSettingsService.openConsolesInWidget;
|
||||
|
@ -27,10 +27,6 @@
|
||||
<mat-icon>groups</mat-icon>
|
||||
<span>User management</span>
|
||||
</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">
|
||||
<mat-icon>help</mat-icon>
|
||||
<span>Help</span>
|
||||
|
Loading…
Reference in New Issue
Block a user