|
1 | 1 | <div class="jumbotron jumbotron-fluid"> |
2 | | - <div class="container"> |
3 | | - <div class="row"> |
4 | | - <div class="col-sm-4 d-flex justify-content-center justify-content-md-end"> |
5 | | - <img src="assets/logo.svg" alt="ngx-material-password-strength logo" class="logo"> |
6 | | - </div> |
7 | | - <div class="col-sm-8 text-center text-md-left"> |
8 | | - <h1>ngx-material-password-strength</h1> |
9 | | - <p>Material password strength meter to indicate how secure is the provided password</p> |
10 | | - <p>Scroll down to see it in action!</p> |
11 | | - <p class="buttons"> |
12 | | - <a class="btn btn-outline-primary btn-lg" href="https://github.com/anthonynahas/ngx-material-password-strength" target="_blank"><i class="fa fa-github fa-lg"></i> Code on Github</a> |
13 | | - <a class="btn btn-outline-primary btn-lg" href="doc/index.html" target="_blank"><i class="fa fa-book fa-lg"></i> Documentation</a> |
14 | | - </p> |
15 | | - </div> |
16 | | - </div> |
| 2 | + <div class="container"> |
| 3 | + <div class="row"> |
| 4 | + <div class="col-sm-4 d-flex justify-content-center justify-content-md-end"> |
| 5 | + <img src="assets/logo.svg" alt="ngx-material-password-strength logo" class="logo"> |
| 6 | + </div> |
| 7 | + <div class="col-sm-8 text-center text-md-left"> |
| 8 | + <h1>ngx-material-password-strength</h1> |
| 9 | + <p>Material password strength meter to indicate how secure is the provided password</p> |
| 10 | + <p>Scroll down to see it in action!</p> |
| 11 | + <p class="buttons"> |
| 12 | + <a class="btn btn-outline-primary btn-lg" |
| 13 | + href="https://github.com/anthonynahas/ngx-material-password-strength" target="_blank"><i |
| 14 | + class="fa fa-github fa-lg"></i> Code on Github</a> |
| 15 | + <a class="btn btn-outline-primary btn-lg" href="doc/index.html" target="_blank"><i |
| 16 | + class="fa fa-book fa-lg"></i> Documentation</a> |
| 17 | + </p> |
| 18 | + </div> |
| 19 | + </div> |
17 | 20 |
|
18 | | - </div> |
| 21 | + </div> |
19 | 22 | </div> |
20 | 23 |
|
21 | 24 | <section class="home"> |
22 | 25 | <div class="container"> |
23 | | - <!-- put your content here--> |
24 | | - <p>Put your content here. Typically, examples of your library in action (directives, components...)</p> |
25 | | - <ngx-material-password-test-component></ngx-material-password-test-component> |
26 | | - <p>Happy ng-hacking!</p> |
| 26 | + <!-- put your content here--> |
| 27 | + <mat-card fxFlex> |
| 28 | + <mat-card-title>ngx-material-strength-password |
| 29 | + </mat-card-title> |
| 30 | + <mat-card-subtitle> |
| 31 | + <mat-slide-toggle (change)="onSlideToggleChange($event)">Show Password</mat-slide-toggle> |
| 32 | + </mat-card-subtitle> |
| 33 | + |
| 34 | + <mat-card-content> |
| 35 | + <div fxFlex> |
| 36 | + <mat-input-container floatPlaceholder="auto" style="width: 100%"> |
| 37 | + <input matInput #password |
| 38 | + [type]="inputType" |
| 39 | + required |
| 40 | + placeholder="Password"> |
| 41 | + <mat-hint align="end" aria-live="polite"> |
| 42 | + {{password.value.length}} / 25 |
| 43 | + </mat-hint> |
| 44 | + </mat-input-container> |
| 45 | + <ngx-material-password-strength |
| 46 | + [password]="password.value"> |
| 47 | + </ngx-material-password-strength> |
| 48 | + </div> |
| 49 | + </mat-card-content> |
| 50 | + </mat-card> |
27 | 51 | </div> |
28 | 52 | </section> |
0 commit comments