This commit is contained in:
Matt Hill
2021-10-11 11:15:12 -06:00
committed by Aiden McClelland
parent 36f0959bc2
commit e864d0eb64
22 changed files with 18665 additions and 1268 deletions

View File

@@ -1,4 +1,5 @@
import { Component, Input } from '@angular/core'
import { BehaviorSubject, Subject } from 'rxjs'
@Component({
selector: 'alert',
@@ -12,5 +13,8 @@ export class AlertComponent {
titleColor: string
}
loading$ = new BehaviorSubject(false)
cancel$ = new Subject<void>()
load () { }
}

View File

@@ -6,4 +6,5 @@
>
{{ disconnected ? 'Unknown' : rendering.display }}
<ion-spinner *ngIf="rendering.showDots" class="dots dots-small" name="dots"></ion-spinner>
<span *ngIf="installProgress">{{ installProgress }}%</span>
</p>

View File

@@ -1,4 +1,5 @@
import { Component, Input } from '@angular/core'
import { InstallProgress } from 'src/app/services/patch-db/data-model'
import { StatusRendering } from 'src/app/services/pkg-status-rendering.service'
@Component({
@@ -12,5 +13,6 @@ export class StatusComponent {
@Input() style?: string = 'regular'
@Input() weight?: string = 'normal'
@Input() disconnected?: boolean = false
@Input() installProgress?: number
}