fix wallet info modal

This commit is contained in:
bechi 2014-12-15 20:11:22 -03:00
commit 859b6956be
2 changed files with 7 additions and 7 deletions

View file

@ -96,7 +96,7 @@ angular.module('copayApp.controllers').controller('ProfileController', function(
var modalInstance = $modal.open({ var modalInstance = $modal.open({
templateUrl: 'views/modals/wallet-info.html', templateUrl: 'views/modals/wallet-info.html',
windowClass: 'tiny', windowClass: 'medium',
controller: ModalInstanceCtrl controller: ModalInstanceCtrl
}); });

View file

@ -1,4 +1,4 @@
<div class="text-center" ng-init="isComplete = item.isComplete(); networkName = item.getNetworkName()"> <div class="text-center" ng-init="isComplete = item.isComplete(); networkName = item.getNetworkName()">
<h1>{{item.name || item.id }}</h1> <h1>{{item.name || item.id }}</h1>
<h3> <h3>
{{item.requiredCopayers}} of {{item.totalCopayers}} - {{networkName}} {{item.requiredCopayers}} of {{item.totalCopayers}} - {{networkName}}
@ -22,14 +22,14 @@
</div> </div>
<div class="row" ng-show="!backupWalletPlainText && !error"> <div class="row" ng-show="!backupWalletPlainText && !error">
<div class="large-6 medium-6 small-6 columns"> <div class="large-6 medium-6 small-12 columns">
<button class="primary tiny" ng-click="downloadWalletBackup()" ng-disabled="loading" <button class="primary expand" ng-click="downloadWalletBackup()" ng-disabled="loading"
ng-show="!isSafari"><i class="fi-download"></i> Download backup</button> ng-show="!isSafari"><i class="fi-download"></i> Download backup</button>
<button class="primary tiny" ng-click="viewWalletBackup()" ng-disabled="loading" <button class="primary expand" ng-click="viewWalletBackup()" ng-disabled="loading"
ng-show="isSafari"><i class="fi-eye"></i> View Backup</button> ng-show="isSafari"><i class="fi-eye"></i> View Backup</button>
</div> </div>
<div class="large-6 medium-6 small-6 columns"> <div class="large-6 medium-6 small-12 columns">
<button class="warning tiny" ng-disabled="loading" <button class="warning expand" ng-disabled="loading"
ng-really-message="{{'Are you sure you want to delete the wallet'}} {{(item.name || item.id)}}" ng-really-message="{{'Are you sure you want to delete the wallet'}} {{(item.name || item.id)}}"
ng-really-click="deleteWallet()"> ng-really-click="deleteWallet()">
<span ng-show="!loading"> <span ng-show="!loading">