Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I removed electron specific Ui / code #1306

Merged
merged 1 commit into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/app/components/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 0 additions & 2 deletions src/app/components/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions src/app/layouts/default-layout/default-layout.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down