2014-12-01 12:21:39 -08:00
< div class = "backup" ng-controller = "ProfileController" ng-init = "init()" >
2014-11-05 12:33:51 -08:00
< div class = "row" >
2014-11-11 11:01:33 -08:00
< div class = "large-12 columns" >
2014-11-12 19:07:33 -08:00
< div class = "panel" >
2015-01-22 10:08:19 -08:00
< div class = "row collapse" >
2014-11-12 19:07:33 -08:00
< div class = "large-2 medium-2 columns text-center" >
2015-02-04 07:30:12 -08:00
< a class = "photo-container profile"
ng-click="$root.openExternalLink('https://gravatar.com/')"
ng-init="isHover=0"
ng-mouseenter="isHover=1"
ng-mouseleave="isHover=0">
2014-11-12 19:07:33 -08:00
< img ng-show = "!isHover" gravatar-src = "'{{username}}'" gravatar-size = "80" >
< img ng-show = "isHover" src = "img/change-avatar.png" with = "80" >
< / a >
2014-11-11 11:01:33 -08:00
< / div >
2015-01-22 10:08:19 -08:00
< div class = "large-10 medium-10 columns" >
2015-02-23 09:55:19 -08:00
< h2 >
< span translate > Profile< / span >
< span class = "size-12 text-warning" ng-if = "$root.iden.backupNeeded" >
[ < span translate > Needs Backup< / span > ]
< / span >
< / h2 >
< span translate class = "text-gray" > It's important to backup your profile so that you can recover it in case of disaster. The backup will include all your profile's wallets< / span >
2015-01-22 10:08:19 -08:00
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "row" ng-show = "!backupProfilePlainText" >
< div class = "large-12 columns" >
< button class = "primary expand" ng-click = "downloadProfileBackup()" ng-disabled = "loading"
2015-02-23 09:55:19 -08:00
ng-show="!isSafari & & !isCordova">< i class = "fi-download" > < / i >
< span translate > Download backup< / span > < / button >
2015-01-22 10:08:19 -08:00
< button class = "primary expand" ng-click = "viewProfileBackup()" ng-disabled = "loading"
2015-02-23 09:55:19 -08:00
ng-show="isSafari & & !isCordova">< i class = "fi-eye" > < / i >
< span translate > View backup< / span > < / button >
2015-01-22 10:08:19 -08:00
< div ng-show = "isCordova" >
2015-02-23 09:55:19 -08:00
< h4 translate > Backup options< / h4 >
2015-01-22 10:08:19 -08:00
< button class = "primary expand"
2015-02-23 09:55:19 -08:00
ng-click="copyProfileBackup()">< i class = "fi-clipboard-pencil" > < / i >
< span translate > Copy to clipboard< / span > < / button >
2015-01-22 10:08:19 -08:00
< button class = "primary expand"
2015-02-23 09:55:19 -08:00
ng-click="sendProfileBackup()">< i class = "fi-mail" > < / i >
< span translate > Send by email< / span > < / button >
2015-01-22 10:08:19 -08:00
< / div >
< / div >
< / div >
< div class = "row m20b" ng-show = "backupProfilePlainText" >
< div class = "large-12 columns" >
2015-02-23 09:55:19 -08:00
< h3 translate > Copy backup in a safe place< / h3 >
2015-01-22 10:08:19 -08:00
< div class = "input" >
< textarea class = "show-for-large-up" readonly rows = "5" > {{backupProfilePlainText}}< / textarea >
< textarea class = "hide-for-large-up" rows = "5" > {{backupProfilePlainText}}< / textarea >
< / div >
2015-02-23 09:55:19 -08:00
< div class = "size-12 text-gray text-right" >
2015-01-22 10:08:19 -08:00
< i class = "icon-compose" > < / i >
2015-02-23 09:55:19 -08:00
< span translate > Copy this text as it is in a safe place (notepad or email)< / span >
2014-11-11 11:01:33 -08:00
< / div >
2014-10-22 11:03:28 -07:00
< / div >
< / div >
2014-12-01 07:13:11 -08:00
2015-01-22 10:08:19 -08:00
< div ng-show = "$root.quotaPerItem" >
2015-01-22 09:44:27 -08:00
< div class = "line-dashed-h m20b" > < / div >
< div class = "row size-12 m20b" >
< div class = "large-12 columns" >
2015-02-23 09:55:19 -08:00
< div ng-if = "perItem" translate >
2015-01-22 09:44:27 -08:00
Your current server usage quotas are: < b > {{perItem}}kB< / b > per wallet and up to < b > {{nrWallets}}< / b > wallets.
< / div >
< div ng-if = "$root.needsEmailConfirmation" class = "m10t" >
2015-02-23 09:55:19 -08:00
< i class = "fi-alert" > < / i >
< span translate > Confirm your email address to increase storage usage limits.< / span >
2015-01-22 09:44:27 -08:00
< / div >
2014-12-01 12:21:39 -08:00
< / div >
2015-01-22 09:44:27 -08:00
< / div >
< / div >
2014-12-01 07:13:11 -08:00
< div class = "line-dashed-h m20b" > < / div >
2015-01-15 21:25:33 -08:00
< div class = "row oh m20b" >
2014-12-01 07:13:11 -08:00
< div class = "large-12 columns" >
2015-01-28 12:59:26 -08:00
< a class = "button outline light-gray tiny" ng-click = "hideAdv=!hideAdv" >
2014-12-01 07:13:11 -08:00
< i class = "fi-widget m3r" > < / i >
< span translate ng-hide = "!hideAdv" > Show< / span >
< span translate ng-hide = "hideAdv" > Hide< / span >
< span translate > advanced options< / span >
< i ng-if = "hideAdv" class = "icon-arrow-down4" > < / i >
< i ng-if = "!hideAdv" class = "icon-arrow-up4" > < / i >
< / a >
< / div >
< / div >
2015-01-15 12:16:51 -08:00
< div ng-hide = "hideAdv" class = "row" >
2014-12-09 12:03:24 -08:00
< div class = "large-12 columns" >
< div class = "panel" >
< h2 > < i class = "fi-minus-circle m10r" > < / i >
< span translate > Delete Profile< / span >
< / h2 >
< p translate class = "text-gray" > Permanently delete this profile and all its wallets. WARNING: this action cannot be reversed.< / p >
2015-01-06 12:10:28 -08:00
< div ng-show = "!confirmDelete" >
< a translate class = "button warning m0" ng-click = "confirmDelete=!confirmDelete" > Delete Profile
< / a >
< / div >
< div class = "text-center" ng-show = "confirmDelete" >
2015-02-23 09:55:19 -08:00
< h2 translate > Are you sure you want to delete this profile?< / h2 >
2015-01-06 12:10:28 -08:00
< div class = "row" >
< div class = "large-6 medium-6 small-6 columns" >
2015-01-14 10:33:19 -08:00
< button class = "gray" ng-disabled = "loading"
2015-02-23 09:55:19 -08:00
ng-click="confirmDelete=!confirmDelete" translate>Cancel< / button >
2015-01-06 12:10:28 -08:00
< / div >
< div class = "large-6 medium-6 small-6 columns" >
2015-01-14 10:33:19 -08:00
< button class = "warning" ng-disabled = "loading" ng-click = "deleteProfile()" >
2015-02-23 09:55:19 -08:00
< i class = "fi-trash" > < / i > < span translate > Delete< / span >
2015-01-14 10:33:19 -08:00
< / button >
2015-01-06 12:10:28 -08:00
< / div >
< / div >
< / div >
2014-12-01 07:13:11 -08:00
< / div >
< / div >
< / div >
2014-10-11 13:26:10 -07:00
< / div >
2015-01-15 12:16:51 -08:00
< div class = "extra-margin-bottom" > < / div >