Merge pull request #867 from bechi/feature/backup-

backup & delete wallet
This commit is contained in:
Matias Alejo Garcia 2014-07-08 15:03:49 -03:00
commit a111d313e1
2 changed files with 14 additions and 10 deletions

View file

@ -159,8 +159,8 @@ a.box-backup {
.box-backup i { .box-backup i {
margin-bottom: 2rem; margin-bottom: 2rem;
display: block; /* display: block;
} */}
h3 { h3 {
font-weight: 100; font-weight: 100;

View file

@ -823,16 +823,20 @@
<script type="text/ng-template" id="backup.html"> <script type="text/ng-template" id="backup.html">
<div class="backup" ng-controller="BackupController"> <div class="backup" ng-controller="BackupController">
<h3>{{title}}</h3> <h3>{{title}}</h3>
<div class="row"> <div class="oh large-8 columns large-centered medium-centered panel radius box-backup">
<div class="large-4 medium-6 columns large-centered medium-centered"> <h4 class="large-12 columns"><i class="fi-download m10r"></i> Backup </h4>
<a class="panel radius box-backup text-center" ng-click="download()"> <p class="large-8 columns text-gray"> Its important to back up your wallet so that you can recover your wallet in case of disaster </p>
<i class="fi-download size-72"></i> <div class="large-4 columns">
<p> Download File </p> <a class="button radius secondary expand" ng-click="download()">Download File</a>
</a>
</div> </div>
</div> </div>
<div class="row text-center"> <div class="large-8 columns large-centered line-dashed"> </div>
<div class="button radius warning small m30v" ng-really-message="Are you sure to delete this wallet from this computer?" ng-really-click="deleteWallet()"><i class="fi-minus-circle large"></i> Delete this wallet from this computer</div> <div class="oh large-8 columns large-centered medium-centered panel radius box-backup">
<h4 class="large-12 columns"><i class="fi-minus-circle m10r"></i> Delete Wallet </h4>
<p class="large-8 columns text-gray"> If all funds have been removed from your wallet and you do not wish to have the wallet data stored on your computer anymore, you can delete your wallet. </p>
<div class="large-4 columns">
<a class="button radius warning expand" ng-really-message="Are you sure to delete this wallet from this computer?" ng-really-click="deleteWallet()"> Delete</a>
</div>
</div> </div>
</div> </div>
</script> </script>