1 <div class=
"margin-content">
3 <div i18n
class=
"title-page title-page-single">
7 <my-signup-success *
ngIf=
"signupDone" [message]=
"success"></my-signup-success>
8 <div *
ngIf=
"info" class=
"alert alert-info">{{ info }}
</div>
10 <div class=
"wrapper" [hidden]=
"signupDone">
11 <div class=
"register-form">
12 <my-custom-stepper linear *
ngIf=
"!signupDone">
13 <cdk-step [stepControl]=
"formStepTerms" i18n-label=
"Stepper label for the registration page describing terms of service" label=
"Terms">
14 <div class=
"instance-information">
15 <my-instance-about-accordion (init)=
"onInstanceAboutAccordionInit($event)" [panels]=
"instanceInformationPanels"></my-instance-about-accordion>
18 <my-register-step-terms
19 [hasCodeOfConduct]=
"!!aboutHtml.codeOfConduct"
20 [minimumAge]=
"minimumAge"
21 (formBuilt)=
"onTermsFormBuilt($event)" (termsClick)=
"onTermsClick()" (codeOfConductClick)=
"onCodeOfConductClick()"
22 ></my-register-step-terms>
24 <button cdkStepperNext [disabled]=
"!formStepTerms || !formStepTerms.valid">{{ defaultNextStepButtonLabel }}
</button>
27 <cdk-step [stepControl]=
"formStepUser" i18n-label=
"Stepper label for the registration page asking user informations" label=
"User">
28 <my-register-step-user (formBuilt)=
"onUserFormBuilt($event)" [videoUploadDisabled]=
"videoUploadDisabled"></my-register-step-user>
30 <button cdkStepperPrevious
>{{ defaultPreviousStepButtonLabel }}
</button>
31 <button cdkStepperNext [disabled]=
"!formStepUser || !formStepUser.valid" (click)=
"videoUploadDisabled && signup()">{{ stepUserButtonLabel }}
</button>
34 <cdk-step [stepControl]=
"formStepChannel" i18n-label=
"Stepper label for the registration page asking information about the default channel" label=
"Channel" *
ngIf=
"!videoUploadDisabled">
35 <my-register-step-channel (formBuilt)=
"onChannelFormBuilt($event)" [username]=
"getUsername()"></my-register-step-channel>
37 <button cdkStepperPrevious
>{{ defaultPreviousStepButtonLabel }}
</button>
38 <button cdkStepperNext [disabled]=
"!formStepChannel || !formStepChannel.valid || hasSameChannelAndAccountNames()" (click)=
"signup()" i18n
>
43 <cdk-step i18n-label
label=
"Done" editable=
"false">
44 <div *
ngIf=
"!signupDone && !error" class=
"done-loader">
45 <my-loader [loading]=
"true"></my-loader>
47 <div i18n
>PeerTube is creating your account...
</div>
50 <div *
ngIf=
"error" class=
"alert alert-danger">{{ error }}
</div>