mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
update profile
This commit is contained in:
@@ -1,3 +1,34 @@
|
||||
<div class="page-header">
|
||||
<h1>My Account</h1>
|
||||
</div>
|
||||
<div *ngIf="loading">
|
||||
<i class="fa fa-spinner fa-spin text-muted"></i>
|
||||
</div>
|
||||
<form *ngIf="profile && !loading" #profileForm (ngSubmit)="submit()" [appApiAction]="submitPromise">
|
||||
<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>
|
||||
<div class="form-group">
|
||||
<label for="masterPasswordHint">{{'masterPassHintLabel' | i18n}}</label>
|
||||
<input id="masterPasswordHint" class="form-control" type="text" name="MasterPasswordHint" [(ngModel)]="profile.masterPasswordHint">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary" appBlurClick [disabled]="profileForm.loading">
|
||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!profileForm.loading"></i>
|
||||
{{'save' | i18n}}
|
||||
</button>
|
||||
</form>
|
||||
<div class="secondary-header">
|
||||
<h1>Change Email</h1>
|
||||
</div>
|
||||
<div class="secondary-header">
|
||||
<h1>Change Master Password</h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user