diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-28 16:20:23 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-28 16:20:23 +0200 |
commit | 4c9e9d2ee9899ba48b86eda18d44638a78587ac5 (patch) | |
tree | 06395596d7dfdf6c9a93d0dbb5683ab3e26cf1fe /client/src/app/+my-account/my-account-ownership/my-account-accept-ownership | |
parent | afa4456c1a52b1dde78aa2ffb7b89000e6212392 (diff) | |
download | PeerTube-4c9e9d2ee9899ba48b86eda18d44638a78587ac5.tar.gz PeerTube-4c9e9d2ee9899ba48b86eda18d44638a78587ac5.tar.zst PeerTube-4c9e9d2ee9899ba48b86eda18d44638a78587ac5.zip |
align ownership change video list table with moderation tables
Diffstat (limited to 'client/src/app/+my-account/my-account-ownership/my-account-accept-ownership')
2 files changed, 14 insertions, 10 deletions
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html index 222da9542..def1cbab6 100644 --- a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html +++ b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html | |||
@@ -7,27 +7,27 @@ | |||
7 | 7 | ||
8 | <div class="modal-body" [formGroup]="form"> | 8 | <div class="modal-body" [formGroup]="form"> |
9 | <div class="form-group"> | 9 | <div class="form-group"> |
10 | <label i18n for="channel">Select the target channel</label> | 10 | <label i18n for="channel">Select a channel to receive the video</label> |
11 | <select formControlName="channel" id="channel" class="peertube-select-container"> | 11 | <div class="peertube-select-container"> |
12 | <option></option> | 12 | <select formControlName="channel" id="channel" class="form-control"> |
13 | <option *ngFor="let channel of videoChannels" [value]="channel.id">{{ channel.displayName }} | 13 | <option i18n value="undefined" disabled>Channel that will receive the video</option> |
14 | </option> | 14 | <option *ngFor="let channel of videoChannels" [value]="channel.id">{{ channel.displayName }} |
15 | </select> | 15 | </option> |
16 | <div *ngIf="formErrors.channel" class="form-error"> | 16 | </select> |
17 | {{ formErrors.channel }} | ||
18 | </div> | 17 | </div> |
18 | <div *ngIf="formErrors.channel" class="form-error">{{ formErrors.channel }}</div> | ||
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
21 | 21 | ||
22 | <div class="modal-footer inputs"> | 22 | <div class="modal-footer inputs"> |
23 | <div class="form-group inputs"> | 23 | <div class="inputs"> |
24 | <input | 24 | <input |
25 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" | 25 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" |
26 | (click)="dismiss()" (key.enter)="dismiss()" | 26 | (click)="dismiss()" (key.enter)="dismiss()" |
27 | > | 27 | > |
28 | 28 | ||
29 | <input | 29 | <input |
30 | type="submit" i18n-value value="Submit" class="action-button-submit" | 30 | type="submit" i18n-value value="Accept" class="action-button-submit" |
31 | [disabled]="!form.valid" | 31 | [disabled]="!form.valid" |
32 | (click)="close()" | 32 | (click)="close()" |
33 | > | 33 | > |
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.scss b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.scss index ad6117413..c7357f62d 100644 --- a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.scss +++ b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.scss | |||
@@ -5,6 +5,10 @@ select { | |||
5 | display: block; | 5 | display: block; |
6 | } | 6 | } |
7 | 7 | ||
8 | .peertube-select-container { | ||
9 | @include peertube-select-container(350px); | ||
10 | } | ||
11 | |||
8 | .form-group { | 12 | .form-group { |
9 | margin: 20px 0; | 13 | margin: 20px 0; |
10 | } \ No newline at end of file | 14 | } \ No newline at end of file |