X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fsystem%2Fjobs%2Fjobs.component.html;h=021e4f8d0ac0bdd295586cfe9783033486bae630;hb=1378c0d343028f3d40d7d795422684ab9e6a1599;hp=de43b644842ddc99ed3069d282a5f421289dd5d7;hpb=566c125d6eee3bd907404523d94e1e0b5e403a46;p=github%2FChocobozzz%2FPeerTube.git
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html
index de43b6448..021e4f8d0 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.html
+++ b/client/src/app/+admin/system/jobs/jobs.component.html
@@ -1,68 +1,120 @@
0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions"
+ [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="uniqId" [first]="pagination.start"
+ [tableStyle]="{'table-layout':'auto'}" (onPage)="onPage($event)"
+ [showCurrentPageReport]="true" i18n-currentPageReportTemplate
+ currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} jobs"
+ (onPage)="onPage($event)" [expandedRowKeys]="expandedRows"
>
- |
- ID |
- Type |
- State |
- Created |
- Processed on |
- Finished on |
+ |
+ ID |
+ Type |
+ Priority (1 = highest priority) |
+ State |
+ Progress |
+ Created |
-
-
+ |
+
|
- {{ job.id }} |
- {{ job.type }} |
- {{ job.state }} |
- {{ job.createdAt }} |
- {{ job.processedOn }} |
- {{ job.finishedOn }} |
+
+ {{ job.id }} |
+ {{ job.type }} |
+ {{ job.priority }} |
+
+
+ {{ job.state }}
+ |
+
+
+ {{ getProgress(job) }}
+ |
+
+ {{ job.createdAt | date: 'short' }} |
-
+ |
+ {{ [
+ 'Job: ' + job.id,
+ 'Type: ' + job.type,
+ 'Processed on ' + (job.processedOn || '-'),
+ 'Finished on ' + (job.finishedOn || '-')
+ ].join('\n') }}
+ |
+
+
+
{{ job.data }}
|
-
+ |
{{ job.error }}
|
+
+
+
+
+
+
+
+ No jobs found.
+ No {{ jobType }} jobs found.
+
+
+ No {{ jobState }} jobs found.
+ No {{ jobType }} jobs found that are {{ jobState }}.
+
+
+
+ |
+
+