2018-06-21 17:43:50 +02:00
|
|
|
<div *ngIf="loading">
|
2022-01-27 18:25:58 +01:00
|
|
|
<i
|
|
|
|
class="bwi bwi-spinner bwi-spin text-muted"
|
|
|
|
title="{{ 'loading' | i18n }}"
|
|
|
|
aria-hidden="true"
|
|
|
|
></i>
|
2021-12-17 15:57:11 +01:00
|
|
|
<span class="sr-only">{{ "loading" | i18n }}</span>
|
2018-06-21 17:43:50 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
<form
|
|
|
|
*ngIf="profile && !loading"
|
|
|
|
#form
|
|
|
|
(ngSubmit)="submit()"
|
|
|
|
[appApiAction]="formPromise"
|
|
|
|
ngNativeValidate
|
|
|
|
>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">{{ "name" | i18n }}</label>
|
|
|
|
<input id="name" class="form-control" type="text" name="Name" [(ngModel)]="profile.name" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">{{ "email" | i18n }}</label>
|
|
|
|
<input
|
|
|
|
id="email"
|
|
|
|
class="form-control"
|
|
|
|
type="text"
|
|
|
|
name="Email"
|
|
|
|
[(ngModel)]="profile.email"
|
|
|
|
readonly
|
|
|
|
/>
|
|
|
|
</div>
|
2018-06-21 17:43:50 +02:00
|
|
|
</div>
|
2021-12-17 15:57:11 +01:00
|
|
|
<div class="col-6">
|
|
|
|
<div class="mb-3">
|
2023-02-15 19:04:43 +01:00
|
|
|
<dynamic-avatar text="{{ profile | userName }}" [id]="profile.id" [size]="'large'">
|
|
|
|
</dynamic-avatar>
|
2023-01-01 16:30:09 +01:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="btn btn-outline-secondary tw-ml-3.5"
|
|
|
|
appStopClick
|
|
|
|
appStopProp
|
|
|
|
(click)="openChangeAvatar()"
|
|
|
|
>
|
|
|
|
<i class="bwi bwi-lg bwi-pencil-square" aria-hidden="true"></i>
|
|
|
|
Customize
|
|
|
|
</button>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
[AC-1416] Expose Organization Fingerprint (#5557)
* refactor: change getFingerprint param to fingerprintMaterial, refs PM-1522
* feat: generate and show fingerprint for organization (WIP), refs AC-1416
* feat: update legacy params subscription to best practice (WIP), refs AC-1461
* refactor: update to use reactive forms, refs AC-1416
* refactor: remove boostrap specific classes and update to component library paradigms, refs AC-1416
* refactor: remove boostrap specific classes and update to component library paradigms, refs AC-1416
* refactor: create shared fingerprint component to redude boilerplate for settings fingerprint views, refs AC-1416
* refactor: use grid to emulate col-6 and remove unnecessary theme extensions, refs AC-1416
* refactor: remove negative margin and clean up extra divs, refs AC-1416
* [AC-1431] Add missing UserVerificationModule import (#5555)
* [PM-2238] Add nord and solarize themes (#5491)
* Fix simple configurable dialog stories (#5560)
* chore(deps): update bitwarden/gh-actions digest to 72594be (#5523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* refactor: remove extra div leftover from card-body class, refs AC-1416
* refactor: use bitTypography for headers, refs AC-1416
* fix: update crypto service abstraction path, refs AC-1416
* refactor: remove try/catch on handler, remove bootstrap class, update api chaining in observable, refs AC-1416
* fix: replace faulty combineLatest logic, refs AC-1416
* refactor: simplify observable logic again, refs AC-1416
---------
Co-authored-by: Shane Melton <smelton@bitwarden.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 04:03:48 +02:00
|
|
|
<app-account-fingerprint
|
|
|
|
[fingerprintMaterial]="fingerprintMaterial"
|
|
|
|
fingerprintLabel="{{ 'yourAccountsFingerprint' | i18n }}"
|
|
|
|
>
|
|
|
|
</app-account-fingerprint>
|
2021-12-17 15:57:11 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
2022-01-27 18:25:58 +01:00
|
|
|
<i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
2021-12-17 15:57:11 +01:00
|
|
|
<span>{{ "save" | i18n }}</span>
|
|
|
|
</button>
|
2018-06-21 17:43:50 +02:00
|
|
|
</form>
|
2023-01-01 16:30:09 +01:00
|
|
|
<ng-template #avatarModalTemplate></ng-template>
|