diff options
Diffstat (limited to 'client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html')
-rw-r--r-- | client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html new file mode 100644 index 000000000..def1cbab6 --- /dev/null +++ b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html | |||
@@ -0,0 +1,36 @@ | |||
1 | <ng-template #modal let-close="close" let-dismiss="dismiss"> | ||
2 | <div class="modal-header"> | ||
3 | <h1 i18n class="modal-title">Accept ownership</h1> | ||
4 | |||
5 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon> | ||
6 | </div> | ||
7 | |||
8 | <div class="modal-body" [formGroup]="form"> | ||
9 | <div class="form-group"> | ||
10 | <label i18n for="channel">Select a channel to receive the video</label> | ||
11 | <div class="peertube-select-container"> | ||
12 | <select formControlName="channel" id="channel" class="form-control"> | ||
13 | <option i18n value="undefined" disabled>Channel that will receive the video</option> | ||
14 | <option *ngFor="let channel of videoChannels" [value]="channel.id">{{ channel.displayName }} | ||
15 | </option> | ||
16 | </select> | ||
17 | </div> | ||
18 | <div *ngIf="formErrors.channel" class="form-error">{{ formErrors.channel }}</div> | ||
19 | </div> | ||
20 | </div> | ||
21 | |||
22 | <div class="modal-footer inputs"> | ||
23 | <div class="inputs"> | ||
24 | <input | ||
25 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" | ||
26 | (click)="dismiss()" (key.enter)="dismiss()" | ||
27 | > | ||
28 | |||
29 | <input | ||
30 | type="submit" i18n-value value="Accept" class="action-button-submit" | ||
31 | [disabled]="!form.valid" | ||
32 | (click)="close()" | ||
33 | > | ||
34 | </div> | ||
35 | </div> | ||
36 | </ng-template> | ||