1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

danger zone

This commit is contained in:
Kyle Spearrin 2018-06-21 15:57:28 -04:00
parent 22093d5111
commit 989f4c3aa5
3 changed files with 41 additions and 4 deletions

View File

@ -1,12 +1,19 @@
<div class="page-header">
<h1>My Account</h1>
<h1>{{'myAccount' | i18n}}</h1>
</div>
<app-profile></app-profile>
<div class="secondary-header">
<h1>Change Email</h1>
<h1>{{'changeEmail' | i18n}}</h1>
</div>
<app-change-email></app-change-email>
<div class="secondary-header">
<h1>Change Master Password</h1>
<h1>{{'changeMasterPassword' | i18n}}</h1>
</div>
<app-change-password></app-change-password>
<div class="secondary-header text-danger">
<h1>{{'dangerZone' | i18n}}</h1>
</div>
<p>{{'dangerZoneDesc' | i18n}}</p>
<button type="button" class="btn btn-outline-secondary" (click)="deauthorizeSessions()">{{'deauthorizeSessions' | i18n}}</button>
<button type="button" class="btn btn-outline-secondary" (click)="purgeVault()">{{'purgeVault' | i18n}}</button>
<button type="button" class="btn btn-outline-secondary" (click)="deleteAccount()">{{'deleteAccount' | i18n}}</button>

View File

@ -4,4 +4,16 @@ import { Component } from '@angular/core';
selector: 'app-account',
templateUrl: 'account.component.html',
})
export class AccountComponent { }
export class AccountComponent {
deauthorizeSessions() {
}
purgeVault() {
}
deleteAccount() {
}
}

View File

@ -808,5 +808,23 @@
},
"confirmNewMasterPass": {
"message": "Confirm New Master Password"
},
"dangerZone": {
"message": "Danger Zone"
},
"dangerZoneDesc": {
"message": "Careful, these actions are not reversible!"
},
"deauthorizeSessions": {
"message": "Deauthorize Sessions"
},
"purgeVault": {
"message": "Purge Vault"
},
"deleteAccount": {
"message": "Delete Account"
},
"myAccount": {
"message": "My Account"
}
}