2014-12-01 12:21:39 -08:00
< div class = "backup" ng-controller = "ProfileController" ng-init = "init()" >
2014-11-26 13:50:58 -08:00
< div class = "row hide-for-large-up" >
< div class = "large-12 medium-12 small-12 columns" >
< h1 > {{$root.title}}< / h1 >
< / div >
< / div >
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" >
< div class = "row" >
< div class = "large-2 medium-2 columns text-center" >
< a class = "photo-container profile" href = "https://en.gravatar.com/" ng-init = "isHover=0" ng-mouseenter = "isHover=1" ng-mouseleave = "isHover=0" target = "_blank" >
< 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 >
2014-11-12 19:07:33 -08:00
< div class = "large-7 medium-7 columns" >
2014-11-21 07:00:24 -08:00
< h2 > Profile < span class = "size-12 text-warning" ng-if = "$root.iden.backupNeeded" > [ Needs Backup ]< / span > < / h2 >
2014-11-12 19:07:33 -08:00
< p 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< / p >
< / div >
< div class = "large-3 medium-3 columns" >
< a translate class = "button primary m0" ng-click = "downloadProfileBackup()"
ng-show="!isSafari">Backup profile< / a >
< a translate class = "button primary m0" ng-click = "viewProfileBackup()"
ng-show="isSafari & & !hideViewProfileBackup">View profile backup< / a >
< / div >
< / div >
< div class = "row" ng-show = "backupProfilePlainText" >
< div class = "large-12 columns" >
2014-11-27 19:52:15 -08:00
< textarea class = "show-for-large-up" readonly rows = "5" > {{backupProfilePlainText}}< / textarea >
< textarea class = "hide-for-large-up" rows = "5" > {{backupProfilePlainText}}< / textarea >
< div translate class = "size-12 m10t text-gray text-right" >
Copy this text as it is in a safe place (notepad or email)
2014-11-12 19:07:33 -08:00
< / div >
2014-11-11 11:01:33 -08:00
< / div >
< / div >
< / div >
2014-10-22 11:03:28 -07:00
< / div >
< / div >
2014-12-01 07:13:11 -08:00
2014-11-10 11:41:07 -08:00
< div class = "line-dashed-h m20b" > < / div >
2014-12-01 12:21:39 -08:00
< div class = "row" ng-init = "setWallets()" >
2014-11-10 11:41:07 -08:00
< div class = "large-12 columns" >
2014-11-11 11:01:33 -08:00
< h2 > Manage wallets< / h2 >
2014-11-14 09:00:23 -08:00
< table >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
2014-11-14 23:04:05 -08:00
< th class = "hide-for-small-only" > Status< / th >
2014-11-14 09:00:23 -08:00
< th > Balance< / th >
2014-11-30 06:08:51 -08:00
< th > Approx Size< / th >
2014-11-14 23:04:05 -08:00
< th class = "text-right" > Actions< / th >
2014-11-14 09:00:23 -08:00
< / tr >
< / thead >
< tbody >
< tr
2014-11-14 23:04:05 -08:00
data-ng-repeat="item in wallets | orderBy:'name'"
2014-11-29 19:31:17 -08:00
ng-init="isComplete = item.isComplete();
2014-11-14 23:04:05 -08:00
networkName = item.getNetworkName()"
ng-class="{'deleting':loading==item.id}">
2014-11-14 09:00:23 -08:00
< td > {{item.name || item.id }}< / td >
< td > {{item.requiredCopayers}} of {{item.totalCopayers}} - {{networkName}}< / td >
2014-11-14 23:04:05 -08:00
< td class = "hide-for-small-only" >
2014-11-29 19:31:17 -08:00
{{isComplete ? 'Complete' : 'Waiting for copayers...'}}
2014-11-14 23:04:05 -08:00
< / td >
2014-11-14 09:00:23 -08:00
< td >
2014-11-29 19:31:17 -08:00
< span ng-if = "!isComplete" > -< / span >
< span ng-if = "isComplete" >
2014-12-01 00:24:19 -08:00
{{item.balanceInfo.totalBalance || 0}} {{item.settings.unitName}}
2014-11-14 09:00:23 -08:00
< / span >
< / td >
2014-11-30 06:08:51 -08:00
< td >
< span >
2014-12-01 12:21:39 -08:00
{{item.kb}} kB
2014-12-01 14:17:22 -08:00
< span ng-if = "item.usage" > ({{item.usage}}%) < / span >
2014-11-30 06:08:51 -08:00
< / span >
< / td >
2014-11-14 23:04:05 -08:00
< td class = "text-right" >
2014-11-14 09:00:23 -08:00
< div ng-show = "loading != item.id" >
< a title = "Download Backup" class = "text-gray" ng-click = "downloadWalletBackup(item)"
2014-11-14 23:04:05 -08:00
ng-show="!isSafari">< i class = "fi-download size-18 m10r" > < / i > < / a >
2014-11-14 09:00:23 -08:00
< a title = "View Backup" ng-click = "viewWalletBackup(item)"
2014-11-14 23:04:05 -08:00
ng-show="isSafari">< i class = "fi-eye" > < / i > < / a >
2014-11-14 09:00:23 -08:00
< a title = "Delete Wallet" ng-really-message = "{{'Are you sure you want to delete the wallet'}} {{(item.name || item.id)}}"
2014-11-14 23:04:05 -08:00
ng-really-click="deleteWallet(item)"
ng-show="loading != item.id">< i class = "fi-trash text-gray size-18" > < / i > < / a >
2014-11-14 09:00:23 -08:00
< / div >
2014-11-14 23:04:05 -08:00
< span ng-show = "loading == item.id" > < i class = "fi-bitcoin-circle icon-rotate spinner" > < / i > < / span >
< / td >
< / tr >
< / tbody >
< / table >
2014-12-01 12:21:39 -08:00
< div class = "size-12" >
< div ng-if = "perItem" >
< p > Your current Insight server usage quotas are: {{perItem}}kB per walelt and up to {{nrWallets}} wallets.
< / div >
< div ng-if = "$root.needsEmailConfirmation" >
< p > < i class = "fi-alert" > < / i > Confirming for email with increase your storage usage limits.
< / div >
< / div >
2014-11-10 11:41:07 -08:00
< / div >
2014-11-11 11:01:33 -08:00
< / div >
2014-12-01 07:13:11 -08:00
< div class = "line-dashed-h m20b" > < / div >
< div class = "m20b row" >
< div class = "large-12 columns" >
< a class = "size-12" ng-click = "hideAdv=!hideAdv" >
< 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 >
< div ng-hide = "hideAdv" class = "row" >
< div class = "row" >
< 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 >
< a translate class = "button warning m0" ng-really-message = "{{'Are you sure you want to delete this profile?' | translate}}"
ng-really-click="deleteProfile()">Delete Profile
< / a >
< / div >
< / div >
< / div >
< / div >
2014-10-11 13:26:10 -07:00
< / div >