mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 21:23:34 +00:00
* Update yubikey to yubico * Update icons and descriptions * Change order of 2fa providers * Refactor 2fa providers into separate component * Update i18n messages for 2fa providers * Update design * Fix link * Remove unused SVGs * Undo changes to scss * Add speedbumps to links * Fix missing i18n string * Add a11y tags * Fix incorrect filepath * Remove unused i18n strings * Delete accidentally committed file * Fix premium and enabled checkmark being in new line * Rename two-factor-icon selector * Update authenticator names in two-factor-authenticator setup component * Update text according to figma design * Update keys to notify crowdin translators of changed content * Move svg icons to separate file * Fix incorrect i18n key
46 lines
1.6 KiB
HTML
46 lines
1.6 KiB
HTML
<bit-dialog dialogSize="large">
|
|
<span bitDialogTitle>
|
|
{{ "twoStepOptions" | i18n }}
|
|
</span>
|
|
<ng-container bitDialogContent>
|
|
<div *ngFor="let p of providers" class="tw-m-2">
|
|
<div class="tw-flex tw-items-center tw-justify-center tw-gap-4">
|
|
<div class="tw-flex tw-items-center tw-justify-center tw-min-w-[120px]">
|
|
<auth-two-factor-icon [provider]="p.type" />
|
|
</div>
|
|
<div class="tw-flex-1">
|
|
<h3 bitTypography="h3">{{ p.name }}</h3>
|
|
<p bitTypography="body1">{{ p.description }}</p>
|
|
</div>
|
|
<div class="tw-min-w-20">
|
|
<button bitButton type="button" buttonType="secondary" (click)="choose(p)">
|
|
{{ "select" | i18n }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="tw-m-2" (click)="recover()">
|
|
<div class="tw-flex tw-items-center tw-justify-center tw-gap-4">
|
|
<div class="tw-flex tw-items-center tw-justify-center tw-min-w-[120px]">
|
|
<auth-two-factor-icon provider="rc" />
|
|
</div>
|
|
<div class="tw-flex-1">
|
|
<h3 bitTypography="h3">{{ "recoveryCodeTitle" | i18n }}</h3>
|
|
<p bitTypography="body1">{{ "recoveryCodeDesc" | i18n }}</p>
|
|
</div>
|
|
<div class="tw-min-w-20">
|
|
<button bitButton type="button" buttonType="secondary" (click)="recover()">
|
|
{{ "select" | i18n }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container bitDialogFooter>
|
|
<button bitButton type="button" buttonType="secondary" bitDialogClose>
|
|
{{ "close" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|