mirror of
https://github.com/bitwarden/browser
synced 2025-12-27 05:33:59 +00:00
* Migrate vault lock screen to component library * Remove unnecessary divs * Remove card from trial * Migrate to standalone component * refactor to use AnonLayout * revert login component * migrate web component to bitSubmit * remove class * use inject * update web pageTitle translation * validate on submit, not on blur --------- Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>
28 lines
822 B
HTML
28 lines
822 B
HTML
<form [bitSubmit]="submit" [formGroup]="formGroup">
|
|
<bit-form-field>
|
|
<bit-label>{{ "masterPass" | i18n }}</bit-label>
|
|
<input
|
|
type="password"
|
|
formControlName="masterPassword"
|
|
bitInput
|
|
appAutofocus
|
|
name="masterPassword"
|
|
required
|
|
/>
|
|
<button type="button" bitIconButton bitSuffix bitPasswordInputToggle></button>
|
|
<bit-hint>{{ "loggedInAsEmailOn" | i18n: email : webVaultHostname }}</bit-hint>
|
|
</bit-form-field>
|
|
|
|
<hr />
|
|
|
|
<div class="tw-flex tw-gap-2">
|
|
<button type="submit" bitButton bitFormButton buttonType="primary" block>
|
|
<i class="bwi bwi-unlock" aria-hidden="true"></i>
|
|
{{ "unlock" | i18n }}
|
|
</button>
|
|
<button type="button" bitButton bitFormButton block (click)="logOut()">
|
|
{{ "logOut" | i18n }}
|
|
</button>
|
|
</div>
|
|
</form>
|