]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/signup/signup.component.html
Multi step registration
[github/Chocobozzz/PeerTube.git] / client / src / app / signup / signup.component.html
CommitLineData
d235f6b0 1<div class="margin-content">
a184c71b 2
b1d40cff 3 <div i18n class="title-page title-page-single">
f3aaa9a9 4 Create an account
d235f6b0 5 </div>
a184c71b 6
07872fdf 7
1d5342ab
C
8 <my-success *ngIf="signupDone"></my-success>
9 <div *ngIf="info" class="alert alert-info">{{ info }}</div>
10 <div *ngIf="success" class="alert alert-success">{{ success }}</div>
8a19bee1 11
1d5342ab
C
12 <div class="wrapper" *ngIf="!signupDone">
13 <div>
14 <my-custom-stepper linear *ngIf="!signupDone">
15 <cdk-step [stepControl]="formStepUser" i18n-label label="User information">
16 <my-signup-step-user (formBuilt)="onUserFormBuilt($event)"></my-signup-step-user>
a184c71b 17
1d5342ab
C
18 <button i18n cdkStepperNext [disabled]="!formStepUser || !formStepUser.valid">Next</button>
19 </cdk-step>
a184c71b 20
1d5342ab
C
21 <cdk-step [stepControl]="formStepChannel" i18n-label label="Channel information">
22 <my-signup-step-channel (formBuilt)="onChannelFormBuilt($event)" [username]="getUsername()"></my-signup-step-channel>
a184c71b 23
1d5342ab
C
24 <button i18n cdkStepperNext (click)="signup()"
25 [disabled]="!formStepChannel || !formStepChannel.valid || hasSameChannelAndAccountNames()"
26 >
27 Create my account
28 </button>
29 </cdk-step>
30
31 <cdk-step i18n-label label="Done" editable="false">
32 <div *ngIf="error" class="alert alert-danger">{{ error }}</div>
33 </cdk-step>
34 </my-custom-stepper>
35 </div>
b4a929ac 36
07872fdf 37 <div>
56af5222 38 <label i18n>Features found on this instance</label>
07872fdf 39 <my-instance-features-table></my-instance-features-table>
b4a929ac 40 </div>
07872fdf 41 </div>
897ec54d 42
897ec54d 43</div>