- @if (update === true) {
-
- Download complete, restart to apply changes
- } @else if (
- update.overall && update.overall !== true && update.overall.total
- ) {
-
- Downloading:
- {{ getProgress(update.overall.total, update.overall.done) }}%
- } @else {
-
- Calculating download size
- }
+
+ @if (update === true) {
+
+ Download complete, restart to apply changes
+ } @else if (
+ update.overall && update.overall !== true && update.overall.total
+ ) {
+
+ Downloading:
+ {{ getProgress(update.overall.total, update.overall.done) }}%
+ } @else {
+
+ Calculating download size
+ }
+
@if (update === true) {
}
@@ -91,6 +94,12 @@ import { HeaderComponent } from './components/header/header.component'
filter: none;
}
}
+
+ [tuiCell] {
+ padding: 0;
+ white-space: normal;
+ text-wrap: balance;
+ }
`,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
@@ -104,6 +113,7 @@ import { HeaderComponent } from './components/header/header.component'
TuiIcon,
TuiButton,
TuiPopup,
+ TuiCell,
],
})
export class PortalComponent {
diff --git a/web/projects/ui/src/app/routes/portal/routes/services/components/dependencies.component.ts b/web/projects/ui/src/app/routes/portal/routes/services/components/dependencies.component.ts
index 384db648a..3eba51ac7 100644
--- a/web/projects/ui/src/app/routes/portal/routes/services/components/dependencies.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/services/components/dependencies.component.ts
@@ -23,7 +23,7 @@ import { ToManifestPipe } from '../../../pipes/to-manifest'
[queryParams]="services[d.key] ? {} : { search: d.key }"
[class.error]="getError(d.key)"
>
-
+
-
+
{{ title() || fallback()?.title }}
diff --git a/web/projects/ui/src/app/routes/portal/routes/services/dashboard/service.component.ts b/web/projects/ui/src/app/routes/portal/routes/services/dashboard/service.component.ts
index 33e028f28..29158f008 100644
--- a/web/projects/ui/src/app/routes/portal/routes/services/dashboard/service.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/services/dashboard/service.component.ts
@@ -6,6 +6,7 @@ import {
} from '@angular/core'
import { RouterLink } from '@angular/router'
import { i18nPipe } from '@start9labs/shared'
+import { TuiAvatar } from '@taiga-ui/kit'
import { ServiceUptimeComponent } from 'src/app/routes/portal/routes/services/components/uptime.component'
import { PkgDependencyErrors } from 'src/app/services/dep-error.service'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
@@ -16,7 +17,9 @@ import { StatusComponent } from './status.component'
selector: 'tr[appService]',
template: `
-
+
+
+
|
{{ manifest().title }}
@@ -50,13 +53,6 @@ import { StatusComponent } from './status.component'
display: none;
}
- img {
- display: block;
- height: 2rem;
- width: 2rem;
- border-radius: 100%;
- }
-
a {
color: var(--tui-text-primary);
font-weight: bold;
@@ -93,7 +89,7 @@ import { StatusComponent } from './status.component'
background: none;
}
- img {
+ [tuiAvatar] {
height: 3rem;
width: 3rem;
}
@@ -141,7 +137,13 @@ import { StatusComponent } from './status.component'
}
`,
changeDetection: ChangeDetectionStrategy.OnPush,
- imports: [RouterLink, StatusComponent, ServiceUptimeComponent, i18nPipe],
+ imports: [
+ RouterLink,
+ StatusComponent,
+ ServiceUptimeComponent,
+ i18nPipe,
+ TuiAvatar,
+ ],
})
export class ServiceComponent {
readonly pkg = input.required()
diff --git a/web/projects/ui/src/app/routes/portal/routes/services/routes/outlet.component.ts b/web/projects/ui/src/app/routes/portal/routes/services/routes/outlet.component.ts
index 31380252c..ab81e3ec4 100644
--- a/web/projects/ui/src/app/routes/portal/routes/services/routes/outlet.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/services/routes/outlet.component.ts
@@ -33,14 +33,19 @@ import { getManifest } from 'src/app/utils/get-package-data'
{{ 'Back' | i18n }}
-
+
{{ manifest()?.title }}
|