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