diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-31 20:03:28 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-10 14:01:49 +0200 |
commit | e6dfa58689e88633db8304a8541a75edd893c645 (patch) | |
tree | b8a06bf38370328e753940a8c2ae85d6d03413a5 /client/src | |
parent | b84d4c809f0b1c4b3f2029f56b81dbca37364f36 (diff) | |
download | PeerTube-e6dfa58689e88633db8304a8541a75edd893c645.tar.gz PeerTube-e6dfa58689e88633db8304a8541a75edd893c645.tar.zst PeerTube-e6dfa58689e88633db8304a8541a75edd893c645.zip |
space optimizations for `node_modules` and client stats removal
- replace sharp with lighter jimp alternative
- remove stats in builds
fixes #2807
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/system/jobs/jobs.component.html | 4 | ||||
-rw-r--r-- | client/src/app/header/search-typeahead.component.html | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html index 038dfa522..596117ab7 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.html +++ b/client/src/app/+admin/system/jobs/jobs.component.html | |||
@@ -36,7 +36,7 @@ | |||
36 | <ng-template pTemplate="body" let-expanded="expanded" let-job> | 36 | <ng-template pTemplate="body" let-expanded="expanded" let-job> |
37 | <tr> | 37 | <tr> |
38 | <td class="expand-cell"> | 38 | <td class="expand-cell"> |
39 | <span class="expander" [pRowToggler]="job" i18n-ngbTooltip ngbTooltip="More information"> | 39 | <span class="expander" [pRowToggler]="job" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> |
40 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | 40 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> |
41 | </span> | 41 | </span> |
42 | </td> | 42 | </td> |
@@ -44,7 +44,7 @@ | |||
44 | <td class="job-id" [title]="job.id">{{ job.id }}</td> | 44 | <td class="job-id" [title]="job.id">{{ job.id }}</td> |
45 | <td class="job-type">{{ job.type }}</td> | 45 | <td class="job-type">{{ job.type }}</td> |
46 | <td class="job-date">{{ job.createdAt }}</td> | 46 | <td class="job-date">{{ job.createdAt }}</td> |
47 | <td class="job-state" *ngIf="job.state === 'delayed'" class="text-muted"><span class="glyphicon glyphicon-repeat"></span> <span i18n>Delayed.</span></td> | 47 | <td class="job-state" *ngIf="job.state === 'delayed'" class="text-muted"><span class="glyphicon glyphicon-repeat"></span> <span i18n>Delayed</span></td> |
48 | <td class="job-state" *ngIf="job.state === 'waiting'" class="text-warning"><span class="glyphicon glyphicon-hourglass"></span> <span i18n>Will start soon...</span></td> | 48 | <td class="job-state" *ngIf="job.state === 'waiting'" class="text-warning"><span class="glyphicon glyphicon-hourglass"></span> <span i18n>Will start soon...</span></td> |
49 | <td class="job-state" *ngIf="job.state === 'active'" class="text-warning"><span class="glyphicon glyphicon-cog"></span> <span i18n>Running...</span></td> | 49 | <td class="job-state" *ngIf="job.state === 'active'" class="text-warning"><span class="glyphicon glyphicon-cog"></span> <span i18n>Running...</span></td> |
50 | <td class="job-state" *ngIf="job.state === 'completed'" class="text-success"><span class="glyphicon glyphicon-ok"></span> <span i18n>Finished</span></td> | 50 | <td class="job-state" *ngIf="job.state === 'completed'" class="text-success"><span class="glyphicon glyphicon-ok"></span> <span i18n>Finished</span></td> |
diff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.html index 6d931db20..bbf3834c5 100644 --- a/client/src/app/header/search-typeahead.component.html +++ b/client/src/app/header/search-typeahead.component.html | |||
@@ -38,16 +38,16 @@ | |||
38 | </div> | 38 | </div> |
39 | <ul> | 39 | <ul> |
40 | <li> | 40 | <li> |
41 | <em>@channel_id@domain</em> <span class="flex-auto text-muted" i18n>channel</span> | 41 | <em>@channel_id@domain</em> <span class="flex-auto text-muted" i18n>will list the matching channel</span> |
42 | </li> | 42 | </li> |
43 | <li> | 43 | <li> |
44 | <em>URL</em> <span class="text-muted" i18n>channel</span> | 44 | <em>URL</em> <span class="text-muted" i18n>will list the matching channel</span> |
45 | </li> | 45 | </li> |
46 | <li> | 46 | <li> |
47 | <em>UUID</em> <span class="text-muted" i18n>video</span> | 47 | <em>UUID</em> <span class="text-muted" i18n>will list the matching video</span> |
48 | </li> | 48 | </li> |
49 | </ul> | 49 | </ul> |
50 | <span class="text-muted" i18n>Any other text will return matching video or channel names.</span> | 50 | <span class="text-muted" i18n>Any other input will return matching video or channel names.</span> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | 53 | ||