mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +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">
|
<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>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user