26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
|
<ng-container *ngIf="!usesKeyConnector">
|
||
|
<div class="box-content-row" appBoxRow>
|
||
|
<label for="masterPassword">{{'masterPass' | i18n}}</label>
|
||
|
<input id="masterPassword" type="password" name="MasterPasswordHash" class="form-control"
|
||
|
[formControl]="secret" required appAutofocus appInputVerbatim>
|
||
|
</div>
|
||
|
</ng-container>
|
||
|
<ng-container *ngIf="usesKeyConnector">
|
||
|
<div class="box-content-row" appBoxRow>
|
||
|
<label class="d-block">{{'sendVerificationCode' | i18n}}</label>
|
||
|
<button type="button" class="btn btn-outline-secondary" (click)="requestOTP()" [disabled]="disableRequestOTP">
|
||
|
{{'sendCode' | i18n}}
|
||
|
</button>
|
||
|
<span class="ml-2 text-success" role="alert" @sent *ngIf="sentCode">
|
||
|
<i class="fa fa-check-circle-o" aria-hidden="true"></i>
|
||
|
{{'codeSent' | i18n}}
|
||
|
</span>
|
||
|
</div>
|
||
|
|
||
|
<div class="box-content-row" appBoxRow>
|
||
|
<label for="verificationCode">{{'verificationCode' | i18n}}</label>
|
||
|
<input id="verificationCode" type="input" name="verificationCode" class="form-control"
|
||
|
[formControl]="secret" required appAutofocus appInputVerbatim>
|
||
|
</div>
|
||
|
</ng-container>
|