X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fsystem%2Fjobs%2Fjobs.component.html;h=638d2380a4f8fb709d8db5b83995ab6324fba2fa;hb=e6492b2de61e5eef5ea9bc1bf19463c065f3f41d;hp=0e31db5477c90d282106ce26b915322a9d3af4ef;hpb=b8cf27c0f86d205a279d03b83e0e6728f46da67f;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 0e31db547..638d2380a 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.html
+++ b/client/src/app/+admin/system/jobs/jobs.component.html
@@ -10,51 +10,72 @@
-
-
-
+
+
+ any
+
+
+ {{ state }}
+
+
+
+
+
+
0" [totalRecords]="totalRecords" [rows]="rowsPerPage" dataKey="uniqId"
- [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" [first]="pagination.start"
+ [value]="jobs" [lazy]="true" [paginator]="totalRecords > 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'}"
+ [showCurrentPageReport]="true" i18n-currentPageReportTemplate
+ currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} jobs"
+ [expandedRowKeys]="expandedRows"
>
|
- ID |
- Type |
- Created |
- State |
+ ID |
+ Type |
+ Priority (1 = highest priority) |
+ State |
+ Progress |
+ Created |
-
-
-
-
+ |
+
+ |
+
+ {{ job.id }} |
+ {{ job.type }} |
+ {{ job.priority }} |
+
+
+ {{ job.state }}
|
- {{ job.id }} |
- {{ job.type }} |
- {{ job.createdAt }} |
- Delayed. |
- Will start soon... |
- Running... |
- Finished |
- Failed |
+
+ {{ getProgress(job) }}
+ |
+
+ {{ job.createdAt | date: 'short' }} |
-
+ |
{{ [
'Job: ' + job.id,
'Type: ' + job.type,
@@ -64,15 +85,35 @@
|
-
+ |
{{ job.data }}
|
-
+ |
{{ job.error }}
|
+
+
+
+
+
+
+
+ No jobs found.
+ No {{ jobType }} jobs found.
+
+
+
+ No {{ jobState }} jobs found.
+ No {{ jobType }} jobs found that are {{ jobState }}.
+
+
+
+ |
+
+