mirror of
https://github.com/bitwarden/browser
synced 2026-03-01 02:51:24 +00:00
* adds aria-hidden to bit-icon when no aria-label provided * add ariaLabel to logo svg usages * add ariaLabel documentation * default ariaLable value to undefined * add logo label to translations * adds i18n pipe to component * Add binding to example docs
30 lines
930 B
HTML
30 lines
930 B
HTML
<div class="tw-mt-12 tw-flex tw-justify-center" *ngIf="loading">
|
|
<div>
|
|
<bit-icon
|
|
class="tw-w-72 tw-block tw-mb-4"
|
|
[icon]="logo"
|
|
[ariaLabel]="'appLogoLabel' | i18n"
|
|
></bit-icon>
|
|
<p class="tw-text-center">
|
|
<i
|
|
class="bwi bwi-spinner bwi-spin bwi-2x tw-text-muted"
|
|
title="{{ 'loading' | i18n }}"
|
|
aria-hidden="true"
|
|
></i>
|
|
<span class="tw-sr-only">{{ "loading" | i18n }}</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="tw-flex tw-flex-row tw-justify-center tw-mt-12" *ngIf="!loading && !authed">
|
|
<div class="tw-w-[400px] tw-mt-5">
|
|
<h2 class="tw-flex tw-justify-center tw-mb-4">{{ "setupProvider" | i18n }}</h2>
|
|
<bit-card>
|
|
<p>{{ "setupProviderLoginDesc" | i18n }}</p>
|
|
<hr />
|
|
<button bitButton type="button" [block]="true" (click)="login()" buttonType="primary">
|
|
{{ "logIn" | i18n }}
|
|
</button>
|
|
</bit-card>
|
|
</div>
|
|
</div>
|