-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PM-4949] Update Accept Organization Invite Flow (#12202)
* fix(accept-organization): Update accept organization invite flow Removed old accept organization flow and updated stylings to tailwind.
- Loading branch information
1 parent
35f4edd
commit ef70f7d
Showing
2 changed files
with
6 additions
and
45 deletions.
There are no files selected for viewing
41 changes: 4 additions & 37 deletions
41
apps/web/src/app/auth/organization-invite/accept-organization.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,13 @@ | ||
<div class="mt-5 d-flex justify-content-center" *ngIf="loading"> | ||
<div class="tw-mt-5 tw-flex tw-justify-center"> | ||
<div> | ||
<img src="../../images/[email protected]" class="mb-4 logo" alt="Bitwarden" /> | ||
<p class="text-center"> | ||
<img src="../../images/[email protected]" class="logo" alt="Bitwarden" /> | ||
<p class="tw-text-center tw-my-4"> | ||
<i | ||
class="bwi bwi-spinner bwi-spin bwi-2x text-muted" | ||
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="container" *ngIf="!loading"> | ||
<div class="row justify-content-md-center mt-5"> | ||
<div class="col-5"> | ||
<p class="lead text-center mb-4">{{ "joinOrganization" | i18n }}</p> | ||
<div class="card d-block"> | ||
<div class="card-body"> | ||
<p class="text-center"> | ||
{{ orgName$ | async }} | ||
<strong class="d-block mt-2">{{ email }}</strong> | ||
</p> | ||
<p>{{ "joinOrganizationDesc" | i18n }}</p> | ||
<hr /> | ||
<div class="d-flex"> | ||
<a | ||
routerLink="/login" | ||
[queryParams]="{ email: email }" | ||
class="btn btn-primary btn-block" | ||
> | ||
{{ "logIn" | i18n }} | ||
</a> | ||
<a | ||
[routerLink]="registerRoute$ | async" | ||
[queryParams]="{ email: email }" | ||
class="btn btn-primary btn-block ml-2 mt-0" | ||
> | ||
{{ "createAccount" | i18n }} | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters