1
0
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:
Kyle Spearrin 2018-06-21 11:47:23 -04:00
parent e46f3073b4
commit 306f8a43e1
6 changed files with 56 additions and 0 deletions

View File

@ -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,

View File

@ -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>

View File

@ -0,0 +1 @@
change your email

View 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() {
}
}

View File

@ -0,0 +1 @@
change your password

View 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() {
}
}