2014-12-01 17:21:39 -03:00
< div class = "backup" ng-controller = "ProfileController" ng-init = "init()" >
2014-11-26 18:50:58 -03: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 17:33:51 -03:00
< div class = "row" >
2014-11-11 16:01:33 -03:00
< div class = "large-12 columns" >
2014-11-13 00:07:33 -03: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 16:01:33 -03:00
< / div >
2014-11-13 00:07:33 -03:00
< div class = "large-7 medium-7 columns" >
2014-11-21 12:00:24 -03:00
< h2 > Profile < span class = "size-12 text-warning" ng-if = "$root.iden.backupNeeded" > [ Needs Backup ]< / span > < / h2 >
2014-11-13 00:07:33 -03: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()"
2014-12-12 05:43:27 +01:00
ng-show="!isSafari & & !isCordova">Backup profile< / a >
2014-11-13 00:07:33 -03:00
< a translate class = "button primary m0" ng-click = "viewProfileBackup()"
2014-12-12 05:43:27 +01:00
ng-show="isSafari || isCordova & & !hideViewProfileBackup">View profile backup< / a >
2014-11-13 00:07:33 -03:00
< / div >
< / div >
< div class = "row" ng-show = "backupProfilePlainText" >
< div class = "large-12 columns" >
2014-11-28 00:52:15 -03: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-13 00:07:33 -03:00
< / div >
2014-11-11 16:01:33 -03:00
< / div >
< / div >
< / div >
2014-10-22 15:03:28 -03:00
< / div >
< / div >
2014-12-01 12:13:11 -03:00
2014-11-10 16:41:07 -03:00
< div class = "line-dashed-h m20b" > < / div >
2014-12-01 17:21:39 -03:00
< div class = "row" ng-init = "setWallets()" >
2014-11-10 16:41:07 -03:00
< div class = "large-12 columns" >
2014-12-09 14:37:12 -03:00
< h2 > Manage wallets< / h2 >
< div class = "box-notification" ng-show = "success" >
< div class = "box-icon success" >
< i class = "fi-check size-24" > < / i >
< / div >
< span class = "text-success size-14" >
{{success|translate}}
< / span >
< a href ng-click = "success=false" class = "close-notification success" > × < / a >
< / div >
2014-12-09 12:48:03 -03:00
< table class = "manage-wallets" >
2014-11-14 14:00:23 -03:00
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
2014-11-15 04:04:05 -03:00
< th class = "hide-for-small-only" > Status< / th >
2014-12-09 12:48:03 -03:00
< th class = "hide-for-small-only" > Balance< / th >
< th class = "hide-for-small-only" > Approx Size< / th >
2014-11-14 14:00:23 -03:00
< / tr >
< / thead >
< tbody >
< tr
2014-11-15 04:04:05 -03:00
data-ng-repeat="item in wallets | orderBy:'name'"
2014-12-09 12:48:03 -03:00
ng-init="isComplete = item.isComplete(); networkName = item.getNetworkName()"
2014-12-09 19:29:56 -03:00
ng-click="showWalletInfo(item)">
2014-12-09 12:48:03 -03:00
< td >
< span ng-show = "loading == item.id" > < i class = "fi-bitcoin-circle icon-rotate spinner" > < / i > < / span >
< span ng-show = "loading != item.id" >
{{item.name || item.id }}
< / span >
< / td >
2014-11-14 14:00:23 -03:00
< td > {{item.requiredCopayers}} of {{item.totalCopayers}} - {{networkName}}< / td >
2014-11-15 04:04:05 -03:00
< td class = "hide-for-small-only" >
2014-11-30 00:31:17 -03:00
{{isComplete ? 'Complete' : 'Waiting for copayers...'}}
2014-11-15 04:04:05 -03:00
< / td >
2014-12-09 12:48:03 -03:00
< td class = "hide-for-small-only" >
2014-11-30 00:31:17 -03:00
< span ng-if = "!isComplete" > -< / span >
< span ng-if = "isComplete" >
2014-12-01 05:24:19 -03:00
{{item.balanceInfo.totalBalance || 0}} {{item.settings.unitName}}
2014-11-14 14:00:23 -03:00
< / span >
< / td >
2014-12-09 12:48:03 -03:00
< td class = "hide-for-small-only" >
2014-11-30 11:08:51 -03:00
< span >
2014-12-01 17:21:39 -03:00
{{item.kb}} kB
2014-12-01 19:17:22 -03:00
< span ng-if = "item.usage" > ({{item.usage}}%) < / span >
2014-11-30 11:08:51 -03:00
< / span >
< / td >
2014-11-15 04:04:05 -03:00
< / tr >
< / tbody >
< / table >
2014-12-01 17:21:39 -03:00
< div class = "size-12" >
< div ng-if = "perItem" >
2014-12-12 14:45:36 -03:00
Your current server usage quotas are: < b > {{perItem}}kB< / b > per wallet and up to < b > {{nrWallets}}< / b > wallets.
2014-12-01 17:21:39 -03:00
< / div >
2014-12-12 14:37:40 -03:00
< div ng-if = "$root.needsEmailConfirmation" class = "m10t" >
2014-12-12 14:45:36 -03:00
< i class = "fi-alert" > < / i > Confirm your email address to increase storage usage limits.
2014-12-01 17:21:39 -03:00
< / div >
< / div >
2014-11-10 16:41:07 -03:00
< / div >
2014-11-11 16:01:33 -03:00
< / div >
2014-12-01 12:13:11 -03:00
< div class = "line-dashed-h m20b" > < / div >
2014-12-09 17:03:24 -03:00
< div class = "m20b row oh" >
2014-12-01 12:13:11 -03:00
< div class = "large-12 columns" >
2014-12-09 17:03:24 -03:00
< a class = "small left button-setup" ng-click = "hideAdv=!hideAdv" >
2014-12-01 12:13:11 -03: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 >
< div ng-hide = "hideAdv" class = "row" >
2014-12-09 17:03:24 -03: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 17:10:28 -03: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" >
< h2 > Are you sure you want to delete this profile?< / h2 >
< div class = "row" >
< div class = "large-6 medium-6 small-6 columns" >
2015-01-06 17:15:44 -03:00
< a translate class = "button gray m0" ng-click = "confirmDelete=!confirmDelete" > Cancel< / a >
2015-01-06 17:10:28 -03:00
< / div >
< div class = "large-6 medium-6 small-6 columns" >
< a translate class = "button warning m0" ng-click = "deleteProfile()" > Delete< / a >
< / div >
< / div >
< / div >
2014-12-01 12:13:11 -03:00
< / div >
< / div >
< / div >
2014-10-11 17:26:10 -03:00
< / div >