aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/system/jobs
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-20 11:35:09 +0200
committerChocobozzz <me@florianbigard.com>2021-10-20 11:35:09 +0200
commitd94b8ecf7dddb82b84302854c5fb761f90a82e39 (patch)
tree567d4f8e3159ae4217ebf9653aae15e0d2192535 /client/src/app/+admin/system/jobs
parentdbb76162b9cf2d048505e4d6170b694388f68e75 (diff)
downloadPeerTube-d94b8ecf7dddb82b84302854c5fb761f90a82e39.tar.gz
PeerTube-d94b8ecf7dddb82b84302854c5fb761f90a82e39.tar.zst
PeerTube-d94b8ecf7dddb82b84302854c5fb761f90a82e39.zip
Improve admin tables responsive
Diffstat (limited to 'client/src/app/+admin/system/jobs')
-rw-r--r--client/src/app/+admin/system/jobs/jobs.component.html1
-rw-r--r--client/src/app/+admin/system/jobs/jobs.component.scss22
2 files changed, 13 insertions, 10 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html
index 021e4f8d0..5701172cb 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.html
+++ b/client/src/app/+admin/system/jobs/jobs.component.html
@@ -107,6 +107,7 @@
107 <ng-container *ngIf="jobType === 'all'" i18n>No jobs found.</ng-container> 107 <ng-container *ngIf="jobType === 'all'" i18n>No jobs found.</ng-container>
108 <ng-container *ngIf="jobType !== 'all'" i18n>No <code>{{ jobType }}</code> jobs found.</ng-container> 108 <ng-container *ngIf="jobType !== 'all'" i18n>No <code>{{ jobType }}</code> jobs found.</ng-container>
109 </ng-container> 109 </ng-container>
110
110 <ng-container *ngIf="jobState !== 'all'"> 111 <ng-container *ngIf="jobState !== 'all'">
111 <ng-container *ngIf="jobType === 'all'" i18n>No <span class="badge" [ngClass]="getJobStateClass(jobState)">{{ jobState }}</span> jobs found.</ng-container> 112 <ng-container *ngIf="jobType === 'all'" i18n>No <span class="badge" [ngClass]="getJobStateClass(jobState)">{{ jobState }}</span> jobs found.</ng-container>
112 <ng-container *ngIf="jobType !== 'all'" i18n>No <code>{{ jobType }}</code> jobs found that are <span class="badge" [ngClass]="getJobStateClass(jobState)">{{ jobState }}</span>.</ng-container> 113 <ng-container *ngIf="jobType !== 'all'" i18n>No <code>{{ jobType }}</code> jobs found that are <span class="badge" [ngClass]="getJobStateClass(jobState)">{{ jobState }}</span>.</ng-container>
diff --git a/client/src/app/+admin/system/jobs/jobs.component.scss b/client/src/app/+admin/system/jobs/jobs.component.scss
index 5e0075a27..4d564f4b7 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.scss
+++ b/client/src/app/+admin/system/jobs/jobs.component.scss
@@ -5,18 +5,20 @@
5 min-width: 120px; 5 min-width: 120px;
6} 6}
7 7
8.job-id { 8@media screen and (min-width: $primeng-breakpoint) {
9 max-width: 30vw !important; 9 .job-id {
10} 10 max-width: 30vw !important;
11 }
11 12
12.job-type, 13 .job-type,
13.job-state, 14 .job-state,
14.job-priority { 15 .job-priority {
15 width: 150px !important; 16 width: 150px !important;
16} 17 }
17 18
18.job-date { 19 .job-date {
19 width: 170px !important; 20 width: 170px !important;
21 }
20} 22}
21 23
22.admin-sub-header { 24.admin-sub-header {