mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
move status column in service list
This commit is contained in:
@@ -27,6 +27,9 @@ import { i18nPipe } from '@start9labs/shared'
|
||||
<th tuiTh [requiredSort]="true" [sorter]="name">
|
||||
{{ 'Name' | i18n }}
|
||||
</th>
|
||||
<th tuiTh [requiredSort]="true" [sorter]="status">
|
||||
{{ 'Status' | i18n }}
|
||||
</th>
|
||||
<th tuiTh>{{ 'Version' | i18n }}</th>
|
||||
<th
|
||||
tuiTh
|
||||
@@ -36,9 +39,6 @@ import { i18nPipe } from '@start9labs/shared'
|
||||
>
|
||||
{{ 'Uptime' | i18n }}
|
||||
</th>
|
||||
<th tuiTh [requiredSort]="true" [sorter]="status">
|
||||
{{ 'Status' | i18n }}
|
||||
</th>
|
||||
<th [style.width.rem]="8" [style.text-indent.rem]="1.5"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -26,6 +26,12 @@ import { StatusComponent } from './status.component'
|
||||
<td [style.grid-area]="'1 / 2'">
|
||||
<a [routerLink]="routerLink">{{ manifest.title }}</a>
|
||||
</td>
|
||||
<td
|
||||
appStatus
|
||||
[pkg]="pkg"
|
||||
[hasDepErrors]="hasError(depErrors)"
|
||||
[style.grid-area]="'3 / 2'"
|
||||
></td>
|
||||
<td [style.grid-area]="'2 / 2'">{{ manifest.version }}</td>
|
||||
<td class="uptime">
|
||||
@if ($any(pkg.status)?.started; as started) {
|
||||
@@ -35,12 +41,6 @@ import { StatusComponent } from './status.component'
|
||||
-
|
||||
}
|
||||
</td>
|
||||
<td
|
||||
appStatus
|
||||
[pkg]="pkg"
|
||||
[hasDepErrors]="hasError(depErrors)"
|
||||
[style.grid-area]="'3 / 2'"
|
||||
></td>
|
||||
<td [style.grid-area]="'2 / 3'" [style.text-align]="'center'">
|
||||
<fieldset
|
||||
appControls
|
||||
|
||||
Reference in New Issue
Block a user