aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/system/jobs
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-08 14:05:55 +0200
committerChocobozzz <me@florianbigard.com>2020-04-08 14:05:55 +0200
commitb1f3b635edf48949d268ce3d72fc33f126932a21 (patch)
tree1e5f9806358131355e93489e1d89d87a8f19415e /client/src/app/+admin/system/jobs
parenta911462d02bb9134f539ba904d440693608a27c2 (diff)
downloadPeerTube-b1f3b635edf48949d268ce3d72fc33f126932a21.tar.gz
PeerTube-b1f3b635edf48949d268ce3d72fc33f126932a21.tar.zst
PeerTube-b1f3b635edf48949d268ce3d72fc33f126932a21.zip
Improve admin tables row expand
Diffstat (limited to 'client/src/app/+admin/system/jobs')
-rw-r--r--client/src/app/+admin/system/jobs/jobs.component.html11
-rw-r--r--client/src/app/+admin/system/jobs/jobs.component.scss2
2 files changed, 9 insertions, 4 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html
index b0f68eadd..3dd4e8a2a 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.html
+++ b/client/src/app/+admin/system/jobs/jobs.component.html
@@ -1,6 +1,4 @@
1<div class="admin-sub-header"> 1<div class="admin-sub-header">
2 <div i18n class="form-sub-title">Jobs list</div>
3
4 <div class="select-filter-block"> 2 <div class="select-filter-block">
5 <label for="jobType" i18n>Job type</label> 3 <label for="jobType" i18n>Job type</label>
6 <div class="peertube-select-container"> 4 <div class="peertube-select-container">
@@ -27,6 +25,7 @@
27> 25>
28 <ng-template pTemplate="header"> 26 <ng-template pTemplate="header">
29 <tr> 27 <tr>
28 <th style="width: 40px"></th>
30 <th class="job-id" i18n>ID</th> 29 <th class="job-id" i18n>ID</th>
31 <th class="job-type" i18n>Type</th> 30 <th class="job-type" i18n>Type</th>
32 <th class="job-date" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> 31 <th class="job-date" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
@@ -35,7 +34,13 @@
35 </ng-template> 34 </ng-template>
36 35
37 <ng-template pTemplate="body" let-expanded="expanded" let-job> 36 <ng-template pTemplate="body" let-expanded="expanded" let-job>
38 <tr class="expander" [pRowToggler]="job"> 37 <tr>
38 <td class="expand-cell">
39 <span class="expander" [pRowToggler]="job" i18n-ngbTooltip ngbTooltip="More information">
40 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
41 </span>
42 </td>
43
39 <td class="job-id" [title]="job.id">{{ job.id }}</td> 44 <td class="job-id" [title]="job.id">{{ job.id }}</td>
40 <td class="job-type">{{ job.type }}</td> 45 <td class="job-type">{{ job.type }}</td>
41 <td class="job-date">{{ job.createdAt }}</td> 46 <td class="job-date">{{ job.createdAt }}</td>
diff --git a/client/src/app/+admin/system/jobs/jobs.component.scss b/client/src/app/+admin/system/jobs/jobs.component.scss
index 4cb706d2d..4a3de9274 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.scss
+++ b/client/src/app/+admin/system/jobs/jobs.component.scss
@@ -18,7 +18,7 @@
18} 18}
19 19
20.admin-sub-header { 20.admin-sub-header {
21 align-items: flex-end; 21 justify-content: flex-end;
22 22
23 .select-filter-block { 23 .select-filter-block {
24 &:not(:last-child) { 24 &:not(:last-child) {