aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-19 14:05:14 +0200
committerChocobozzz <me@florianbigard.com>2023-05-19 14:11:22 +0200
commit01283e2066314aaa167a2b0b55952b2ae26e650a (patch)
tree6ba58d8c0c6b42d72e0edebbce2edfa03fdabbbe /client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html
parentbe6162706703c2b2a715eaf7759c0f513a3fe765 (diff)
downloadPeerTube-01283e2066314aaa167a2b0b55952b2ae26e650a.tar.gz
PeerTube-01283e2066314aaa167a2b0b55952b2ae26e650a.tar.zst
PeerTube-01283e2066314aaa167a2b0b55952b2ae26e650a.zip
Improve remote runner config UX
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html
index b17c51532..d3fc2e481 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html
@@ -37,20 +37,6 @@
37 37
38 <ng-container ngProjectAs="extra"> 38 <ng-container ngProjectAs="extra">
39 39
40 <div class="form-group" formGroupName="remoteRunners" [ngClass]="getTranscodingDisabledClass()">
41 <my-peertube-checkbox
42 inputName="transcodingRemoteRunnersEnabled" formControlName="enabled"
43 i18n-labelText labelText="Enable remote runners"
44 >
45 <ng-container ngProjectAs="description">
46 <span i18n>
47 Use <a routerLink="/admin/system/runners/runners-list">remote runners</a> to process VOD transcoding.
48 Remote runners has to register on your instance first.
49 </span>
50 </ng-container>
51 </my-peertube-checkbox>
52 </div>
53
54 <div class="callout callout-light pt-2 pb-0"> 40 <div class="callout callout-light pt-2 pb-0">
55 <label i18n>Input formats</label> 41 <label i18n>Input formats</label>
56 42
@@ -155,7 +141,21 @@
155 </my-peertube-checkbox> 141 </my-peertube-checkbox>
156 </div> 142 </div>
157 143
158 <div class="form-group mt-4" [ngClass]="getTranscodingDisabledClass()"> 144 <div class="form-group mt-4" formGroupName="remoteRunners" [ngClass]="getTranscodingDisabledClass()">
145 <my-peertube-checkbox
146 inputName="transcodingRemoteRunnersEnabled" formControlName="enabled"
147 i18n-labelText labelText="Enable remote runners for VOD"
148 >
149 <ng-container ngProjectAs="description">
150 <span i18n>
151 Use <a routerLink="/admin/system/runners/runners-list">remote runners</a> to process VOD transcoding.
152 Remote runners has to register on your instance first.
153 </span>
154 </ng-container>
155 </my-peertube-checkbox>
156 </div>
157
158 <div class="form-group mt-4" [ngClass]="getLocalTranscodingDisabledClass()">
159 <label i18n for="transcodingThreads">Transcoding threads</label> 159 <label i18n for="transcodingThreads">Transcoding threads</label>
160 160
161 <span class="small muted ms-1"> 161 <span class="small muted ms-1">
@@ -178,7 +178,7 @@
178 <div *ngIf="formErrors.transcoding.threads" class="form-error">{{ formErrors.transcoding.threads }}</div> 178 <div *ngIf="formErrors.transcoding.threads" class="form-error">{{ formErrors.transcoding.threads }}</div>
179 </div> 179 </div>
180 180
181 <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> 181 <div class="form-group" [ngClass]="getLocalTranscodingDisabledClass()">
182 <label i18n for="transcodingConcurrency">Transcoding jobs concurrency</label> 182 <label i18n for="transcodingConcurrency">Transcoding jobs concurrency</label>
183 <span class="small muted ms-1" i18n>allows to transcode multiple files in parallel. ⚠️ Requires a PeerTube restart</span> 183 <span class="small muted ms-1" i18n>allows to transcode multiple files in parallel. ⚠️ Requires a PeerTube restart</span>
184 184
@@ -190,7 +190,7 @@
190 <div *ngIf="formErrors.transcoding.concurrency" class="form-error">{{ formErrors.transcoding.concurrency }}</div> 190 <div *ngIf="formErrors.transcoding.concurrency" class="form-error">{{ formErrors.transcoding.concurrency }}</div>
191 </div> 191 </div>
192 192
193 <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> 193 <div class="form-group" [ngClass]="getLocalTranscodingDisabledClass()">
194 <label i18n for="transcodingProfile">Transcoding profile</label> 194 <label i18n for="transcodingProfile">Transcoding profile</label>
195 <span class="small muted ms-1" i18n>new transcoding profiles can be added by PeerTube plugins</span> 195 <span class="small muted ms-1" i18n>new transcoding profiles can be added by PeerTube plugins</span>
196 196
@@ -234,7 +234,7 @@
234 <div class="form-group" formGroupName="remoteRunners" [ngClass]="getStudioDisabledClass()"> 234 <div class="form-group" formGroupName="remoteRunners" [ngClass]="getStudioDisabledClass()">
235 <my-peertube-checkbox 235 <my-peertube-checkbox
236 inputName="videoStudioRemoteRunnersEnabled" formControlName="enabled" 236 inputName="videoStudioRemoteRunnersEnabled" formControlName="enabled"
237 i18n-labelText labelText="Enable remote runners" 237 i18n-labelText labelText="Enable remote runners for studio"
238 > 238 >
239 <ng-container ngProjectAs="description"> 239 <ng-container ngProjectAs="description">
240 <span i18n> 240 <span i18n>