-
-
-
-
-
-
- Useful shortcuts
-
-
- ctrl + + to zoom in
- ctrl + - to zoom out
- ctrl + 0 to reset zoom
- ctrl + h to hide toolbar
- ctrl + a to select all items on map
- ctrl + shift + a to deselect all items on map
- ctrl + shift + s to go to preferences
-
-
-
-
- Third party components
-
-
-
-
-
- Release notes
-
-
-
-
-
-
-
- Go to documentation
-
-
-
- Report an issue
-
+
+
+
+
+
+
+ Useful shortcuts
+
+
+ ctrl + + to zoom in
+ ctrl + - to zoom out
+ ctrl + 0 to reset zoom
+ ctrl + h to hide toolbar
+ ctrl + a to select all items on map
+ ctrl + shift + a to deselect all items on map
+ ctrl + shift + s to go to preferences
+
+
+
+
+ Third party components
+
+
+
+
+
+ Release notes
+
+
+
+
+
+ Go to documentation
+
+
Report an issue
+
diff --git a/src/app/components/help/help.component.scss b/src/app/components/help/help.component.scss
index c2f6270d..d6a023a9 100644
--- a/src/app/components/help/help.component.scss
+++ b/src/app/components/help/help.component.scss
@@ -1,4 +1,4 @@
.full-width {
- width: 50%;
- margin-top: 20px;
+ width: 50%;
+ margin-top: 20px;
}
diff --git a/src/app/components/help/help.component.ts b/src/app/components/help/help.component.ts
index 512a9d21..ceee8fea 100644
--- a/src/app/components/help/help.component.ts
+++ b/src/app/components/help/help.component.ts
@@ -2,32 +2,30 @@ import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
@Component({
-selector: 'app-help',
-templateUrl: './help.component.html',
-styleUrls: ['./help.component.scss']
+ selector: 'app-help',
+ templateUrl: './help.component.html',
+ styleUrls: ['./help.component.scss'],
})
export class HelpComponent implements OnInit {
- thirdpartylicenses = '';
- releasenotes = '';
+ thirdpartylicenses = '';
+ releasenotes = '';
- constructor(
- private httpClient: HttpClient
- ) {}
+ constructor(private httpClient: HttpClient) {}
- ngOnInit() {
- this.httpClient.get(window.location.href + '/3rdpartylicenses.txt', {responseType: 'text'})
- .subscribe(data => {
- this.thirdpartylicenses = data.replace(new RegExp('\n', 'g'), "
")
- },
- error => {
- if (error.status === 404) {
- this.thirdpartylicenses = 'File not found';
- }
- });
+ ngOnInit() {
+ this.httpClient.get(window.location.href + '/3rdpartylicenses.txt', { responseType: 'text' }).subscribe(
+ (data) => {
+ this.thirdpartylicenses = data.replace(new RegExp('\n', 'g'), '
');
+ },
+ (error) => {
+ if (error.status === 404) {
+ this.thirdpartylicenses = 'File not found';
+ }
+ }
+ );
- this.httpClient.get('ReleaseNotes.txt', {responseType: 'text'})
- .subscribe(data => {
- this.releasenotes = data.replace(new RegExp('\n', 'g'), "
")
- });
- }
+ this.httpClient.get('ReleaseNotes.txt', { responseType: 'text' }).subscribe((data) => {
+ this.releasenotes = data.replace(new RegExp('\n', 'g'), '
');
+ });
+ }
}
diff --git a/src/app/components/installed-software/install-software/install-software.component.html b/src/app/components/installed-software/install-software/install-software.component.html
index dba60bbf..d6140ef6 100644
--- a/src/app/components/installed-software/install-software/install-software.component.html
+++ b/src/app/components/installed-software/install-software/install-software.component.html
@@ -1,3 +1,3 @@
{{ buttonText }}
-
\ No newline at end of file
+
diff --git a/src/app/components/installed-software/install-software/install-software.component.spec.ts b/src/app/components/installed-software/install-software/install-software.component.spec.ts
index 33f9e4df..48dc892f 100644
--- a/src/app/components/installed-software/install-software/install-software.component.spec.ts
+++ b/src/app/components/installed-software/install-software/install-software.component.spec.ts
@@ -8,9 +8,8 @@ describe('InstallSoftwareComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ InstallSoftwareComponent ]
- })
- .compileComponents();
+ declarations: [InstallSoftwareComponent],
+ }).compileComponents();
}));
beforeEach(() => {
diff --git a/src/app/components/installed-software/install-software/install-software.component.ts b/src/app/components/installed-software/install-software/install-software.component.ts
index 88733ada..ce9da63c 100644
--- a/src/app/components/installed-software/install-software/install-software.component.ts
+++ b/src/app/components/installed-software/install-software/install-software.component.ts
@@ -4,7 +4,7 @@ import { ElectronService } from 'ngx-electron';
@Component({
selector: 'app-install-software',
templateUrl: './install-software.component.html',
- styleUrls: ['./install-software.component.scss']
+ styleUrls: ['./install-software.component.scss'],
})
export class InstallSoftwareComponent implements OnInit, OnDestroy, OnChanges {
@Input('software')
@@ -12,14 +12,12 @@ export class InstallSoftwareComponent implements OnInit, OnDestroy, OnChanges {
@Output()
installedChanged = new EventEmitter();
-
+
public disabled = false;
public readyToInstall = true;
public buttonText: string;
- constructor(
- private electronService: ElectronService
- ) { }
+ constructor(private electronService: ElectronService) {}
ngOnInit() {
this.electronService.ipcRenderer.on(this.responseChannel, (event, data) => {
@@ -38,7 +36,7 @@ export class InstallSoftwareComponent implements OnInit, OnDestroy, OnChanges {
install() {
this.disabled = true;
- this.buttonText = "Installing";
+ this.buttonText = 'Installing';
this.electronService.ipcRenderer.send('installed-software-install', this.software);
}
@@ -50,10 +48,9 @@ export class InstallSoftwareComponent implements OnInit, OnDestroy, OnChanges {
this.disabled = this.software.installed;
if (this.software.installed) {
- this.buttonText = "Installed";
- }
- else {
- this.buttonText = "Install";
+ this.buttonText = 'Installed';
+ } else {
+ this.buttonText = 'Install';
}
}
}
diff --git a/src/app/components/installed-software/installed-software.component.html b/src/app/components/installed-software/installed-software.component.html
index f81d01e4..1cd1f121 100644
--- a/src/app/components/installed-software/installed-software.component.html
+++ b/src/app/components/installed-software/installed-software.component.html
@@ -1,36 +1,37 @@
-
-
-
-
-
-
- Name
-
-
- {{ row.name }}
-
+
+
+
+
+
+ Name
+
+
+ {{ row.name }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
diff --git a/src/app/components/installed-software/installed-software.component.spec.ts b/src/app/components/installed-software/installed-software.component.spec.ts
index c52bc58a..736df6da 100644
--- a/src/app/components/installed-software/installed-software.component.spec.ts
+++ b/src/app/components/installed-software/installed-software.component.spec.ts
@@ -8,9 +8,8 @@ describe('InstalledSoftwareComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ InstalledSoftwareComponent ]
- })
- .compileComponents();
+ declarations: [InstalledSoftwareComponent],
+ }).compileComponents();
}));
beforeEach(() => {
diff --git a/src/app/components/installed-software/installed-software.component.ts b/src/app/components/installed-software/installed-software.component.ts
index 8ebdb4b0..27915788 100644
--- a/src/app/components/installed-software/installed-software.component.ts
+++ b/src/app/components/installed-software/installed-software.component.ts
@@ -6,7 +6,7 @@ import { Observable, of, BehaviorSubject } from 'rxjs';
@Component({
selector: 'app-installed-software',
templateUrl: './installed-software.component.html',
- styleUrls: ['./installed-software.component.scss']
+ styleUrls: ['./installed-software.component.scss'],
})
export class InstalledSoftwareComponent implements OnInit {
dataSource: InstalledSoftwareDataSource;
@@ -15,7 +15,7 @@ export class InstalledSoftwareComponent implements OnInit {
constructor(
private installedSoftwareService: InstalledSoftwareService,
private changeDetectorRef: ChangeDetectorRef
- ) { }
+ ) {}
ngOnInit() {
this.dataSource = new InstalledSoftwareDataSource(this.installedSoftwareService);
@@ -32,7 +32,7 @@ export class InstalledSoftwareComponent implements OnInit {
}
}
-export class InstalledSoftwareDataSource extends DataSource
 {
+export class InstalledSoftwareDataSource extends DataSource {
installed = new BehaviorSubject([]);
constructor(private installedSoftwareService: InstalledSoftwareService) {
@@ -49,9 +49,8 @@ export class InstalledSoftwareDataSource extends DataSource {
refresh() {
let installedSoftware = this.installedSoftwareService.list();
installedSoftware.push({
- type: 'adbutler'
+ type: 'adbutler',
});
this.installed.next(installedSoftware);
}
-
}
diff --git a/src/app/components/page-not-found/page-not-found.component.html b/src/app/components/page-not-found/page-not-found.component.html
index 0c777606..d4b33a2d 100644
--- a/src/app/components/page-not-found/page-not-found.component.html
+++ b/src/app/components/page-not-found/page-not-found.component.html
@@ -1,6 +1,7 @@
-
+
diff --git a/src/app/components/page-not-found/page-not-found.component.scss b/src/app/components/page-not-found/page-not-found.component.scss
index b3dfebed..cc26754b 100644
--- a/src/app/components/page-not-found/page-not-found.component.scss
+++ b/src/app/components/page-not-found/page-not-found.component.scss
@@ -1,3 +1,3 @@
div {
- text-align: center
+ text-align: center;
}
diff --git a/src/app/components/page-not-found/page-not-found.component.ts b/src/app/components/page-not-found/page-not-found.component.ts
index ec0871c7..db812fa7 100644
--- a/src/app/components/page-not-found/page-not-found.component.ts
+++ b/src/app/components/page-not-found/page-not-found.component.ts
@@ -1,10 +1,10 @@
import { Component } from '@angular/core';
@Component({
- selector: 'app-page-not-found',
- templateUrl: './page-not-found.component.html',
- styleUrls: ['./page-not-found.component.scss']
+ selector: 'app-page-not-found',
+ templateUrl: './page-not-found.component.html',
+ styleUrls: ['./page-not-found.component.scss'],
})
export class PageNotFoundComponent {
- constructor(){}
+ constructor() {}
}
diff --git a/src/app/components/preferences/built-in/built-in-preferences.component.html b/src/app/components/preferences/built-in/built-in-preferences.component.html
index 06e03fd3..04a5bb21 100644
--- a/src/app/components/preferences/built-in/built-in-preferences.component.html
+++ b/src/app/components/preferences/built-in/built-in-preferences.component.html
@@ -1,23 +1,23 @@
-