mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
stub out change email/password components
This commit is contained in:
parent
e46f3073b4
commit
306f8a43e1
@ -32,6 +32,8 @@ import { TwoFactorOptionsComponent } from './accounts/two-factor-options.compone
|
|||||||
import { TwoFactorComponent } from './accounts/two-factor.component';
|
import { TwoFactorComponent } from './accounts/two-factor.component';
|
||||||
|
|
||||||
import { AccountComponent } from './settings/account.component';
|
import { AccountComponent } from './settings/account.component';
|
||||||
|
import { ChangeEmailComponent } from './settings/change-email.component';
|
||||||
|
import { ChangePasswordComponent } from './settings/change-password.component';
|
||||||
import { ProfileComponent } from './settings/profile.component';
|
import { ProfileComponent } from './settings/profile.component';
|
||||||
import { SettingsComponent } from './settings/settings.component';
|
import { SettingsComponent } from './settings/settings.component';
|
||||||
|
|
||||||
@ -96,6 +98,8 @@ import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe';
|
|||||||
BulkDeleteComponent,
|
BulkDeleteComponent,
|
||||||
BulkMoveComponent,
|
BulkMoveComponent,
|
||||||
BulkShareComponent,
|
BulkShareComponent,
|
||||||
|
ChangeEmailComponent,
|
||||||
|
ChangePasswordComponent,
|
||||||
CiphersComponent,
|
CiphersComponent,
|
||||||
CollectionsComponent,
|
CollectionsComponent,
|
||||||
ExportComponent,
|
ExportComponent,
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<div class="secondary-header">
|
<div class="secondary-header">
|
||||||
<h1>Change Email</h1>
|
<h1>Change Email</h1>
|
||||||
</div>
|
</div>
|
||||||
|
<app-change-email></app-change-email>
|
||||||
<div class="secondary-header">
|
<div class="secondary-header">
|
||||||
<h1>Change Master Password</h1>
|
<h1>Change Master Password</h1>
|
||||||
</div>
|
</div>
|
||||||
|
<app-change-password></app-change-password>
|
||||||
|
1
src/app/settings/change-email.component.html
Normal file
1
src/app/settings/change-email.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
change your email
|
24
src/app/settings/change-email.component.ts
Normal file
24
src/app/settings/change-email.component.ts
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
import {
|
||||||
|
Component,
|
||||||
|
} from '@angular/core';
|
||||||
|
|
||||||
|
import { ToasterService } from 'angular2-toaster';
|
||||||
|
import { Angulartics2 } from 'angulartics2';
|
||||||
|
|
||||||
|
import { ApiService } from 'jslib/abstractions/api.service';
|
||||||
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-change-email',
|
||||||
|
templateUrl: 'change-email.component.html',
|
||||||
|
})
|
||||||
|
export class ChangeEmailComponent {
|
||||||
|
formPromise: Promise<any>;
|
||||||
|
|
||||||
|
constructor(private apiService: ApiService, private i18nService: I18nService,
|
||||||
|
private analytics: Angulartics2, private toasterService: ToasterService) { }
|
||||||
|
|
||||||
|
async submit() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
1
src/app/settings/change-password.component.html
Normal file
1
src/app/settings/change-password.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
change your password
|
24
src/app/settings/change-password.component.ts
Normal file
24
src/app/settings/change-password.component.ts
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
import {
|
||||||
|
Component,
|
||||||
|
} from '@angular/core';
|
||||||
|
|
||||||
|
import { ToasterService } from 'angular2-toaster';
|
||||||
|
import { Angulartics2 } from 'angulartics2';
|
||||||
|
|
||||||
|
import { ApiService } from 'jslib/abstractions/api.service';
|
||||||
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-change-password',
|
||||||
|
templateUrl: 'change-password.component.html',
|
||||||
|
})
|
||||||
|
export class ChangePasswordComponent {
|
||||||
|
formPromise: Promise<any>;
|
||||||
|
|
||||||
|
constructor(private apiService: ApiService, private i18nService: I18nService,
|
||||||
|
private analytics: Angulartics2, private toasterService: ToasterService) { }
|
||||||
|
|
||||||
|
async submit() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user