2020-06-11 17:27:46 +02:00
|
|
|
<div class="layout" [ngClass]="['layout', layout]">
|
|
|
|
<header class="header" *ngIf="layout === 'enterprise2'">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-7">
|
|
|
|
<img
|
|
|
|
alt="Bitwarden"
|
|
|
|
class="logo mb-2"
|
|
|
|
src="../../images/register-layout/logo-horizontal-white.png"
|
2020-06-04 20:12:37 +02:00
|
|
|
/>
|
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
</header>
|
|
|
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" class="container" ngNativeValidate>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-7" *ngIf="layout">
|
|
|
|
<div class="mt-5">
|
|
|
|
<div *ngIf="layout === 'enterprise2'">
|
|
|
|
<h2>Companies globally trust Bitwarden for password management.</h2>
|
|
|
|
<p>Start your 7-day free trial!</p>
|
|
|
|
<p class="highlight">Quickly deploy your <b>organization</b></p>
|
|
|
|
<p>Use Bitwarden across all platforms</p>
|
|
|
|
<p>Collaborate and share securely</p>
|
|
|
|
<figure>
|
|
|
|
<figcaption>
|
|
|
|
<cite>
|
|
|
|
<img src="../../images/register-layout/wired-logo.png" alt="Wired" />
|
2021-12-17 15:57:11 +01:00
|
|
|
</cite>
|
|
|
|
</figcaption>
|
2020-06-11 17:27:46 +02:00
|
|
|
<blockquote>
|
|
|
|
"Bitwarden has become a popular choice among open-source software advocates. After
|
2020-11-02 23:33:15 +01:00
|
|
|
using it for a few months, I can see why." - February 2020
|
2020-06-11 17:27:46 +02:00
|
|
|
</blockquote>
|
|
|
|
</figure>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<div *ngIf="layout === 'enterprise3'">
|
|
|
|
<p>Enterprise 3 layout</p>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<div *ngIf="layout === 'enterprise4'">
|
|
|
|
<p>Enterprise 4 layout</p>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-02 23:33:15 +01:00
|
|
|
<div [ngClass]="{ 'col-5': layout, 'col-12': !layout }">
|
|
|
|
<div class="row justify-content-md-center mt-5">
|
2020-06-11 17:27:46 +02:00
|
|
|
<div [ngClass]="{ 'col-5': !layout, 'col-12': layout }">
|
2020-11-02 23:33:15 +01:00
|
|
|
<p class="lead text-center mb-4" *ngIf="!layout">{{ "createAccount" | i18n }}</p>
|
|
|
|
<div class="card d-block">
|
|
|
|
<div class="card-body">
|
|
|
|
<app-callout
|
|
|
|
title="{{ 'createOrganizationStep1' | i18n }}"
|
|
|
|
type="info"
|
2022-01-27 18:25:58 +01:00
|
|
|
icon="bwi bwi-thumb-tack"
|
2020-06-11 17:27:46 +02:00
|
|
|
*ngIf="showCreateOrgMessage"
|
2021-12-17 15:57:11 +01:00
|
|
|
>
|
2020-06-11 17:27:46 +02:00
|
|
|
{{ "createOrganizationCreatePersonalAccount" | i18n }}
|
|
|
|
</app-callout>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">{{ "emailAddress" | i18n }}</label>
|
2021-12-17 15:57:11 +01:00
|
|
|
<input
|
2020-06-11 17:27:46 +02:00
|
|
|
id="email"
|
|
|
|
class="form-control"
|
|
|
|
type="text"
|
|
|
|
name="Email"
|
|
|
|
[(ngModel)]="email"
|
2021-12-17 15:57:11 +01:00
|
|
|
required
|
2020-06-11 17:27:46 +02:00
|
|
|
[appAutofocus]="email === ''"
|
2020-11-02 23:33:15 +01:00
|
|
|
inputmode="email"
|
2020-06-11 17:27:46 +02:00
|
|
|
appInputVerbatim="false"
|
2021-12-17 15:57:11 +01:00
|
|
|
/>
|
2020-06-11 17:27:46 +02:00
|
|
|
<small class="form-text text-muted">{{ "emailAddressDesc" | i18n }}</small>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">{{ "yourName" | i18n }}</label>
|
2021-12-17 15:57:11 +01:00
|
|
|
<input
|
2020-06-11 17:27:46 +02:00
|
|
|
id="name"
|
|
|
|
class="form-control"
|
|
|
|
type="text"
|
|
|
|
name="Name"
|
|
|
|
[(ngModel)]="name"
|
|
|
|
[appAutofocus]="email !== ''"
|
2021-12-17 15:57:11 +01:00
|
|
|
/>
|
2020-06-11 17:27:46 +02:00
|
|
|
<small class="form-text text-muted">{{ "yourNameDesc" | i18n }}</small>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<div class="form-group">
|
2021-08-30 23:19:31 +02:00
|
|
|
<app-callout
|
|
|
|
type="info"
|
|
|
|
[enforcedPolicyOptions]="enforcedPolicyOptions"
|
2020-06-11 17:27:46 +02:00
|
|
|
*ngIf="enforcedPolicyOptions"
|
2021-12-17 15:57:11 +01:00
|
|
|
>
|
2020-06-11 17:27:46 +02:00
|
|
|
</app-callout>
|
|
|
|
<label for="masterPassword">{{ "masterPass" | i18n }}</label>
|
|
|
|
<div class="d-flex">
|
|
|
|
<div class="w-100">
|
2021-12-17 15:57:11 +01:00
|
|
|
<input
|
2020-06-11 17:27:46 +02:00
|
|
|
id="masterPassword"
|
|
|
|
type="{{ showPassword ? 'text' : 'password' }}"
|
|
|
|
name="MasterPassword"
|
|
|
|
class="text-monospace form-control mb-1"
|
|
|
|
[(ngModel)]="masterPassword"
|
|
|
|
(input)="updatePasswordStrength()"
|
2021-12-17 15:57:11 +01:00
|
|
|
required
|
2020-06-11 17:27:46 +02:00
|
|
|
appInputVerbatim
|
2021-12-17 15:57:11 +01:00
|
|
|
/>
|
2020-06-11 17:27:46 +02:00
|
|
|
<app-password-strength [score]="masterPasswordScore" [showText]="true">
|
|
|
|
</app-password-strength>
|
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
<div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<button
|
2020-06-04 20:12:37 +02:00
|
|
|
type="button"
|
|
|
|
class="ml-1 btn btn-link"
|
2020-06-11 17:27:46 +02:00
|
|
|
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
|
|
|
|
(click)="togglePassword(false)"
|
2021-12-17 15:57:11 +01:00
|
|
|
>
|
|
|
|
<i
|
2022-01-27 18:25:58 +01:00
|
|
|
class="bwi bwi-lg"
|
2020-06-11 17:27:46 +02:00
|
|
|
aria-hidden="true"
|
|
|
|
[ngClass]="{
|
2022-01-27 18:25:58 +01:00
|
|
|
'bwi-eye': !showPassword,
|
|
|
|
'bwi-eye-slash': showPassword
|
2021-12-17 15:57:11 +01:00
|
|
|
}"
|
|
|
|
></i>
|
2020-06-04 20:12:37 +02:00
|
|
|
</button>
|
2020-06-11 17:27:46 +02:00
|
|
|
<div class="progress-bar invisible"></div>
|
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<small class="form-text text-muted">{{ "masterPassDesc" | i18n }}</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="masterPasswordRetype">{{ "reTypeMasterPass" | i18n }}</label>
|
|
|
|
<div class="d-flex">
|
2020-11-02 23:33:15 +01:00
|
|
|
<input
|
|
|
|
id="masterPasswordRetype"
|
|
|
|
type="{{ showPassword ? 'text' : 'password' }}"
|
2020-06-11 17:27:46 +02:00
|
|
|
name="MasterPasswordRetype"
|
|
|
|
class="text-monospace form-control"
|
|
|
|
[(ngModel)]="confirmMasterPassword"
|
2021-12-17 15:57:11 +01:00
|
|
|
required
|
2020-06-11 17:27:46 +02:00
|
|
|
appInputVerbatim
|
2021-12-17 15:57:11 +01:00
|
|
|
/>
|
2020-06-11 17:27:46 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="ml-1 btn btn-link"
|
|
|
|
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
|
|
|
|
(click)="togglePassword(true)"
|
|
|
|
>
|
|
|
|
<i
|
2022-01-27 18:25:58 +01:00
|
|
|
class="bwi bwi-lg"
|
2020-06-11 17:27:46 +02:00
|
|
|
aria-hidden="true"
|
2022-01-27 18:25:58 +01:00
|
|
|
[ngClass]="{ 'bwi-eye': !showPassword, 'bwi-eye-slash': showPassword }"
|
2021-12-17 15:57:11 +01:00
|
|
|
></i>
|
2020-06-11 17:27:46 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="hint">{{ "masterPassHint" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="hint"
|
|
|
|
class="form-control"
|
|
|
|
type="text"
|
|
|
|
name="Hint"
|
|
|
|
[(ngModel)]="hint"
|
|
|
|
/>
|
|
|
|
<small class="form-text text-muted">{{ "masterPassHintDesc" | i18n }}</small>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2021-07-23 21:30:04 +02:00
|
|
|
<div [hidden]="!showCaptcha()">
|
|
|
|
<iframe id="hcaptcha_iframe" height="80"></iframe>
|
2020-06-11 17:27:46 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group" *ngIf="showTerms">
|
|
|
|
<div class="form-check">
|
|
|
|
<input
|
|
|
|
class="form-check-input"
|
2020-06-04 20:12:37 +02:00
|
|
|
type="checkbox"
|
2020-06-11 17:27:46 +02:00
|
|
|
id="acceptPolicies"
|
|
|
|
[(ngModel)]="acceptPolicies"
|
|
|
|
name="AcceptPolicies"
|
|
|
|
/>
|
2020-11-02 23:33:15 +01:00
|
|
|
<label class="form-check-label small text-muted" for="acceptPolicies">
|
|
|
|
{{ "acceptPolicies" | i18n }}<br />
|
|
|
|
<a href="https://bitwarden.com/terms/" target="_blank" rel="noopener">{{
|
|
|
|
"termsOfService" | i18n
|
|
|
|
}}</a
|
|
|
|
>,
|
|
|
|
<a href="https://bitwarden.com/privacy/" target="_blank" rel="noopener">{{
|
|
|
|
"privacyPolicy" | i18n
|
|
|
|
}}</a>
|
|
|
|
</label>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2020-11-02 23:33:15 +01:00
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
<hr />
|
|
|
|
<div class="d-flex mb-2">
|
|
|
|
<button
|
|
|
|
type="submit"
|
|
|
|
class="btn btn-primary btn-block btn-submit"
|
|
|
|
[disabled]="form.loading"
|
|
|
|
>
|
|
|
|
<span>{{ "submit" | i18n }}</span>
|
|
|
|
<i
|
2022-01-27 18:25:58 +01:00
|
|
|
class="bwi bwi-spinner bwi-spin"
|
2020-06-11 17:27:46 +02:00
|
|
|
title="{{ 'loading' | i18n }}"
|
|
|
|
aria-hidden="true"
|
|
|
|
></i>
|
2020-06-04 20:12:37 +02:00
|
|
|
</button>
|
2020-06-11 17:27:46 +02:00
|
|
|
<a routerLink="/" class="btn btn-outline-secondary btn-block ml-2 mt-0">
|
|
|
|
{{ "cancel" | i18n }}
|
|
|
|
</a>
|
2018-06-05 21:02:53 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2018-06-05 21:02:53 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
2018-06-05 21:02:53 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-11 17:27:46 +02:00
|
|
|
</form>
|
|
|
|
</div>
|