move status column in service list

This commit is contained in:
Matt Hill
2025-08-26 13:59:16 -06:00
parent ec72fb4bfd
commit 7a94086d45
2 changed files with 9 additions and 9 deletions

View File

@@ -27,6 +27,9 @@ import { i18nPipe } from '@start9labs/shared'
<th tuiTh [requiredSort]="true" [sorter]="name"> <th tuiTh [requiredSort]="true" [sorter]="name">
{{ 'Name' | i18n }} {{ 'Name' | i18n }}
</th> </th>
<th tuiTh [requiredSort]="true" [sorter]="status">
{{ 'Status' | i18n }}
</th>
<th tuiTh>{{ 'Version' | i18n }}</th> <th tuiTh>{{ 'Version' | i18n }}</th>
<th <th
tuiTh tuiTh
@@ -36,9 +39,6 @@ import { i18nPipe } from '@start9labs/shared'
> >
{{ 'Uptime' | i18n }} {{ 'Uptime' | i18n }}
</th> </th>
<th tuiTh [requiredSort]="true" [sorter]="status">
{{ 'Status' | i18n }}
</th>
<th [style.width.rem]="8" [style.text-indent.rem]="1.5"></th> <th [style.width.rem]="8" [style.text-indent.rem]="1.5"></th>
</tr> </tr>
</thead> </thead>

View File

@@ -26,6 +26,12 @@ import { StatusComponent } from './status.component'
<td [style.grid-area]="'1 / 2'"> <td [style.grid-area]="'1 / 2'">
<a [routerLink]="routerLink">{{ manifest.title }}</a> <a [routerLink]="routerLink">{{ manifest.title }}</a>
</td> </td>
<td
appStatus
[pkg]="pkg"
[hasDepErrors]="hasError(depErrors)"
[style.grid-area]="'3 / 2'"
></td>
<td [style.grid-area]="'2 / 2'">{{ manifest.version }}</td> <td [style.grid-area]="'2 / 2'">{{ manifest.version }}</td>
<td class="uptime"> <td class="uptime">
@if ($any(pkg.status)?.started; as started) { @if ($any(pkg.status)?.started; as started) {
@@ -35,12 +41,6 @@ import { StatusComponent } from './status.component'
- -
} }
</td> </td>
<td
appStatus
[pkg]="pkg"
[hasDepErrors]="hasError(depErrors)"
[style.grid-area]="'3 / 2'"
></td>
<td [style.grid-area]="'2 / 3'" [style.text-align]="'center'"> <td [style.grid-area]="'2 / 3'" [style.text-align]="'center'">
<fieldset <fieldset
appControls appControls