mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-09 05:57:40 +02:00
5868d76b91
* rename to LoginWithDeviceLoginStrategy * rename LoginWithDeviceComponent * update translation for web route * rename strategy to AuthRequestLoginStrategy * rename PasswordlessLogInCredentials and PasswordlessCreateAuthRequest * rename setPasswordlessAccessCode * rename startPasswordlessLogin() in template files * rename startPasswordlessLogin() for browser template file * rename AuthenticationType.Passwordless * standardize LogInStrategy to LoginStrategy * standardize PasswordLogInStrategy to PasswordLoginStrategy * standardize SsoLogInStrategy to SsoLoginStrategy * standardize UserApiLogInStrategy to UserApiLoginStrategy * standardize naming of login credentials * rename log-in-credentials.ts to login-credentials.ts
76 lines
2.5 KiB
HTML
76 lines
2.5 KiB
HTML
<!-- Please remove this disable statement when editing this file! -->
|
|
<!-- eslint-disable tailwindcss/no-custom-classname -->
|
|
<div
|
|
class="tw-mx-auto tw-mt-5 tw-flex tw-max-w-lg tw-flex-col tw-items-center tw-justify-center tw-p-8"
|
|
>
|
|
<div>
|
|
<img class="logo logo-themed" alt="Bitwarden" />
|
|
|
|
<ng-container *ngIf="state == StateEnum.StandardAuthRequest">
|
|
<p class="tw-mx-4 tw-mb-4 tw-mt-3 tw-text-center tw-text-xl">
|
|
{{ "loginOrCreateNewAccount" | i18n }}
|
|
</p>
|
|
|
|
<div
|
|
class="tw-mt-3 tw-rounded-md tw-border tw-border-solid tw-border-secondary-300 tw-bg-background tw-p-6"
|
|
>
|
|
<h2 class="tw-mb-6 tw-text-xl tw-font-semibold">{{ "loginInitiated" | i18n }}</h2>
|
|
|
|
<div class="tw-text-light">
|
|
<p class="tw-mb-6">{{ "notificationSentDevice" | i18n }}</p>
|
|
|
|
<p class="tw-mb-6">
|
|
{{ "fingerprintMatchInfo" | i18n }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="tw-mb-6">
|
|
<h4 class="tw-font-semibold">{{ "fingerprintPhraseHeader" | i18n }}</h4>
|
|
<p>
|
|
<code>{{ fingerprintPhrase }}</code>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="tw-my-10" *ngIf="showResendNotification">
|
|
<a [routerLink]="[]" disabled="true" (click)="startAuthRequestLogin()">{{
|
|
"resendNotification" | i18n
|
|
}}</a>
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<div class="tw-text-light tw-mt-3">
|
|
{{ "loginWithDeviceEnabledNote" | i18n }}
|
|
<a routerLink="/login">{{ "viewAllLoginOptions" | i18n }}</a>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container *ngIf="state == StateEnum.AdminAuthRequest">
|
|
<div
|
|
class="tw-mt-3 tw-rounded-md tw-border tw-border-solid tw-border-secondary-300 tw-bg-background tw-p-6"
|
|
>
|
|
<h2 class="tw-mb-6 tw-text-xl tw-font-semibold">{{ "adminApprovalRequested" | i18n }}</h2>
|
|
|
|
<div class="tw-text-light">
|
|
<p class="tw-mb-6">{{ "adminApprovalRequestSentToAdmins" | i18n }}</p>
|
|
<p class="tw-mb-6">{{ "youWillBeNotifiedOnceApproved" | i18n }}</p>
|
|
</div>
|
|
|
|
<div class="tw-mb-6">
|
|
<h4 class="tw-font-semibold">{{ "fingerprintPhraseHeader" | i18n }}</h4>
|
|
<p>
|
|
<code>{{ fingerprintPhrase }}</code>
|
|
</p>
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<div class="tw-text-light tw-mt-3">
|
|
{{ "troubleLoggingIn" | i18n }}
|
|
<a routerLink="/login-initiated">{{ "viewAllLoginOptions" | i18n }}</a>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
</div>
|
|
</div>
|