]>
Commit | Line | Data |
---|---|---|
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 | |
b247a132 | 7 | <my-signup-success *ngIf="signupDone" [message]="success"></my-signup-success> |
1d5342ab | 8 | <div *ngIf="info" class="alert alert-info">{{ info }}</div> |
8a19bee1 | 9 | |
421d935d C |
10 | <div class="wrapper" [hidden]="signupDone"> |
11 | <div class="register-form"> | |
1d5342ab | 12 | <my-custom-stepper linear *ngIf="!signupDone"> |
5eb9bde8 | 13 | <cdk-step [stepControl]="formStepUser" i18n-label label="User"> |
421d935d C |
14 | <my-register-step-user |
15 | [hasCodeOfConduct]="!!aboutHtml.codeOfConduct" | |
16 | (formBuilt)="onUserFormBuilt($event)" (termsClick)="onTermsClick()" (codeOfConductClick)="onCodeOfConductClick()" | |
17 | > | |
18 | </my-register-step-user> | |
a184c71b | 19 | |
1d5342ab C |
20 | <button i18n cdkStepperNext [disabled]="!formStepUser || !formStepUser.valid">Next</button> |
21 | </cdk-step> | |
a184c71b | 22 | |
5eb9bde8 | 23 | <cdk-step [stepControl]="formStepChannel" i18n-label label="Channel"> |
b247a132 | 24 | <my-register-step-channel (formBuilt)="onChannelFormBuilt($event)" [username]="getUsername()"></my-register-step-channel> |
a184c71b | 25 | |
1d5342ab C |
26 | <button i18n cdkStepperNext (click)="signup()" |
27 | [disabled]="!formStepChannel || !formStepChannel.valid || hasSameChannelAndAccountNames()" | |
28 | > | |
29 | Create my account | |
30 | </button> | |
31 | </cdk-step> | |
32 | ||
33 | <cdk-step i18n-label label="Done" editable="false"> | |
1f20622f C |
34 | <div *ngIf="!signupDone && !error" class="done-loader"> |
35 | <my-loader [loading]="true"></my-loader> | |
36 | ||
37 | <div i18n>PeerTube is creating your account...</div> | |
38 | </div> | |
39 | ||
1d5342ab C |
40 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
41 | </cdk-step> | |
42 | </my-custom-stepper> | |
43 | </div> | |
b4a929ac | 44 | |
421d935d C |
45 | <div class="instance-information"> |
46 | <ngb-accordion [closeOthers]="true" #accordion="ngbAccordion"> | |
47 | <ngb-panel id="instance-features" i18n-title title="Features found on this instance"> | |
48 | <ng-template ngbPanelContent> | |
49 | <my-instance-features-table></my-instance-features-table> | |
50 | </ng-template> | |
51 | </ngb-panel> | |
52 | ||
53 | <ng-container *ngIf="about"> | |
54 | <ngb-panel | |
55 | *ngIf="aboutHtml.administrator || about.instance.maintenanceLifetime || about.instance.businessModel" | |
56 | id="admin-sustainability" i18n-title title="Administrators & Sustainability" | |
57 | > | |
58 | <ng-template ngbPanelContent> | |
59 | <div class="block"> | |
60 | <strong i18n>Who are we?</strong> | |
61 | <div [innerHTML]="aboutHtml.administrator"></div> | |
62 | </div> | |
63 | ||
64 | <div class="block"> | |
65 | <strong i18n>How long do we plan to maintain this instance?</strong> | |
66 | <div [innerHTML]="about.instance.maintenanceLifetime"></div> | |
67 | </div> | |
68 | ||
69 | <div class="block"> | |
34398be4 | 70 | <strong i18n>How will we finance this instance?</strong> |
421d935d C |
71 | <div [innerHTML]="about.instance.businessModel"></div> |
72 | </div> | |
73 | </ng-template> | |
74 | </ngb-panel> | |
75 | ||
76 | <ngb-panel *ngIf="aboutHtml.moderationInformation" id="moderation-information" i18n-title title="Moderation information"> | |
77 | <ng-template ngbPanelContent> | |
78 | <div class="block" [innerHTML]="aboutHtml.moderationInformation"></div> | |
79 | </ng-template> | |
80 | </ngb-panel> | |
81 | ||
82 | <ngb-panel *ngIf="aboutHtml.codeOfConduct" id="code-of-conduct" i18n-title title="Code of conduct"> | |
83 | <ng-template ngbPanelContent> | |
84 | <div class="block" [innerHTML]="aboutHtml.codeOfConduct"></div> | |
85 | </ng-template> | |
86 | </ngb-panel> | |
87 | ||
88 | <ngb-panel *ngIf="aboutHtml.terms" id="terms" i18n-title title="Terms"> | |
89 | <ng-template ngbPanelContent> | |
90 | <div class="block" [innerHTML]="aboutHtml.terms"></div> | |
91 | </ng-template> | |
92 | </ngb-panel> | |
93 | </ng-container> | |
94 | </ngb-accordion> | |
b4a929ac | 95 | </div> |
07872fdf | 96 | </div> |
897ec54d | 97 | |
897ec54d | 98 | </div> |