Merge pull request #1306 from GNS3/bugfix/1223

I removed electron specific Ui / code
This commit is contained in:
Jeremy Grossmann 2022-05-06 11:56:02 +07:00 committed by GitHub
commit 8ec2b806a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 20 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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>