Rebase to master when repo went private

This commit is contained in:
Your Name
2020-08-17 13:31:05 +01:00
commit fe20b27432
345 changed files with 28876 additions and 0 deletions
@@ -0,0 +1,7 @@
<div class="container">
<h4 *ngIf="!processService.tasks.length" [ngClass]="{'text-dark-theme':appService.currentTheme === 'dark','text-light-theme':appService.currentTheme === 'light'}">No tasks running...</h4>
<div class="row" *ngIf="processService.tasks.length">
<app-current-task-item *ngFor="let task of processService.tasks;" [task]="task"></app-current-task-item>
</div>
</div>
@@ -0,0 +1,24 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CurrentTasksComponent } from './current-tasks.component';
describe('CurrentTasksComponent', () => {
let component: CurrentTasksComponent;
let fixture: ComponentFixture<CurrentTasksComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [CurrentTasksComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CurrentTasksComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,22 @@
import { Component, OnInit } from '@angular/core';
import { AdbClientService, ConnectionStatus } from '../adb-client.service';
import { ProcessBucketService } from '../process-bucket.service';
import { AppService } from '../app.service';
@Component({
selector: 'app-current-tasks',
templateUrl: './current-tasks.component.html',
styleUrls: ['./current-tasks.component.css'],
})
export class CurrentTasksComponent implements OnInit {
constructor(public processService: ProcessBucketService, public appService: AppService) {
this.appService.resetTop();
appService.webService.isWebviewOpen = false;
this.appService.showTaskActions = true;
appService.isTasksOpen = true;
}
ngOnInit() {
this.appService.setTitle('Current Tasks');
}
}