2015-08-08 09:30:50 -03:00
< div
class="topbar-container"
ng-include="'views/includes/topbar.html'"
2015-08-08 10:58:30 -03:00
ng-init="titleSection='Export'; goBackToState = 'preferencesAdvanced'">
2015-08-08 09:30:50 -03:00
< / div >
< div class = "content p20v" ng-controller = "backupController as backup" >
< div class = "row" >
< div class = "columns" ng-show = "!backup.backupWalletPlainText" >
< div class = "text-warning size-14 m20b" ng-show = "backup.error" >
< i class = "fi-alert size-12" > < / i >
< span translate > Failed to export < / span >
< / div >
< div class = "text-warning size-14 m20b" ng-show = "backup.isEncrypted" >
< i class = "fi-alert size-12" > < / i >
< span translate > The private key for this wallet is encrypted. Exporting keep the private key encrypted in the export archive.< / span >
< / div >
< label for = "password" translate > Set up a Export Password < / label >
< div class = "input" >
< input type = "password" class = "form-control"
placeholder="{{'Your export password'|translate}}"
name="password" ng-model="backup.password">
< / div >
< label for = "password" translate > Repeat password< / label >
< div class = "input" >
< input type = "password" class = "form-control"
placeholder="{{'Repeat password'|translate}}"
name="password" ng-model="backup.repeatpassword">
< / div >
2015-08-08 10:58:30 -03:00
< div class = "row" >
2015-08-08 09:30:50 -03:00
< div class = "large-12 columns" >
< label for = "no-sign" class = "line-b oh" >
< span translate > Do not include private key< / span >
< switch id = "no-sign" name = "noSign" ng-model = "noSign" class = "green right m5t m10b" > < / switch >
< / label >
< / div >
2015-09-03 17:19:46 -03:00
< / div >
2015-08-08 09:30:50 -03:00
2015-09-03 17:19:46 -03:00
< div class = "box-notification" ng-show = "noSign" >
< span class = "text-warning size-14" >
< i class = "fi-alert" > < / i >
< span translate >
WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so < b > funds will not be accessable from the export< / b > .
< / span >
< / span >
2015-08-08 09:30:50 -03:00
< / div >
< button class = "black round expand m0" ng-click = "backup.downloadWalletBackup()"
ng-disabled="(!backup.password || backup.password != backup.repeatpassword)"
ng-style="{'background-color':index.backgroundColor}"
ng-show="!backup.isSafari & & !backup.isCordova">< i class = "fi-download" > < / i >
< span translate > Download backup< / span > < / button >
< button class = "black round expand m0" ng-click = "backup.viewWalletBackup()"
ng-disabled="(!backup.password || backup.password != backup.repeatpassword)"
ng-style="{'background-color':index.backgroundColor}"
ng-show="backup.isSafari & & !backup.isCordova">< i class = "fi-eye" > < / i >
< span translate > View backup< / span > < / button >
< div ng-show = "backup.isCordova" >
< h4 translate > Backup options< / h4 >
< button class = "black round expand" ng-disabled = "(!backup.password || backup.password != backup.repeatpassword)"
ng-style="{'background-color':index.backgroundColor}"
ng-click="backup.copyWalletBackup()">< i class = "fi-clipboard-pencil" > < / i >
< span translate > Copy to clipboard< / span > < / button >
< button class = "black round expand m0" ng-disabled = "(!backup.password || backup.password != backup.repeatpassword)"
ng-style="{'background-color':index.backgroundColor}"
ng-click="backup.sendWalletBackup()">< i class = "fi-mail" > < / i >
< span translate > Send by email< / span > < / button >
< / div >
< / div >
< / div >
< div class = "row" ng-show = "backup.backupWalletPlainText" >
< div class = "large-12 columns" >
< h3 translate > Copy backup to a safe place< / h3 >
< div class = "input" >
< textarea rows = "12" > {{backup.backupWalletPlainText}}< / textarea >
< / div >
< div class = "size-12 text-gray text-right" >
< i class = "icon-compose" > < / i >
< span translate > Copy this text as it is to a safe place (notepad or email)< / span >
< / div >
< / div >
< / div >
< / div >
< div class = "extra-margin-bottom" > < / div >