Merge pull request #10 from cmgustavo/bechi/tx-proposal-ui-01

Bechi/tx proposal ui 01
This commit is contained in:
Juan Ignacio Sosa Lopez 2014-12-12 12:44:46 -03:00
commit 113ec3ba01
6 changed files with 75 additions and 86 deletions

View file

@ -172,3 +172,12 @@ a.text-warning:hover {color: #FD7262;}
background: #ddd; background: #ddd;
} }
.reveal-modal .close-reveal-modal:hover, dialog .close-reveal-modal:hover {
background-color: #7A8C9E;
color: #fff;
}
.last-transactions-content.active:hover {
background-color: #E4E8EC;
}

View file

@ -435,10 +435,6 @@ ul.tx-copayers {
background-color: #F5F7F8; background-color: #F5F7F8;
} }
.last-transactions-content.active:hover {
background-color: #E4E8EC;
}
.sign-action { .sign-action {
background: #E4E8EC; background: #E4E8EC;
width: 100%; width: 100%;
@ -803,7 +799,7 @@ input[type=number]::-webkit-outer-spin-button {
background-color: #A02F23; background-color: #A02F23;
} }
.txp-popup .header { .header-modal {
background: #F3F5F6; background: #F3F5F6;
width: 100%; width: 100%;
padding: 0.8rem; padding: 0.8rem;
@ -1625,7 +1621,3 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
border-radius: 3px; border-radius: 3px;
} }
.reveal-modal .close-reveal-modal:hover, dialog .close-reveal-modal:hover {
background-color: #7A8C9E;
color: #fff;
}

View file

@ -294,14 +294,5 @@
padding: 15px; padding: 15px;
} }
.button-popup {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #F3F5F6;
padding: 1rem 0;
}
} }

View file

@ -29,7 +29,7 @@ angular.module('copayApp.controllers').controller('walletForPaymentController',
var modalInstance = $modal.open({ var modalInstance = $modal.open({
templateUrl: 'views/modals/walletSelection.html', templateUrl: 'views/modals/walletSelection.html',
windowClass: 'tiny', windowClass: 'small',
controller: ModalInstanceCtrl, controller: ModalInstanceCtrl,
}); });

View file

@ -12,7 +12,6 @@
</span> </span>
<contact address="{{out.address}}" ng-hide="tx.merchant"> </contact> <contact address="{{out.address}}" ng-hide="tx.merchant"> </contact>
</span> </span>
</span>
</div> </div>
<div class="p25l m10b" ng-class="{'text-gray':!pendingForUs}"> <div class="p25l m10b" ng-class="{'text-gray':!pendingForUs}">

View file

@ -1,5 +1,5 @@
<div class="txp-popup"> <div class="header-modal">
<div class="header"> <div ng-repeat="out in tx.outs">
<div class="ellipsis p10b size-16 m20r"> <div class="ellipsis p10b size-16 m20r">
<span class="tx-proposal size-12 m5r"> <i ng-class="{'active':pendingForUs}" class="fi-arrow-right"></i> </span> <span class="tx-proposal size-12 m5r"> <i ng-class="{'active':pendingForUs}" class="fi-arrow-right"></i> </span>
<span class="text-gray"> <span class="text-gray">
@ -10,10 +10,9 @@
</span> </span>
<contact address="{{out.address}}" ng-hide="tx.merchant"></contact> <contact address="{{out.address}}" ng-hide="tx.merchant"></contact>
</span> </span>
</span>
</div> </div>
<div class="p25l" ng-class="{'text-gray':!pendingForUs}" ng-repeat="out in tx.outs"> <div class="p25l" ng-class="{'text-gray':!pendingForUs}">
<div class="size-21 text-bold m5b"> <div class="size-21 text-bold m5b">
{{out.value}} {{$root.wallet.settings.unitName}} {{out.value}} {{$root.wallet.settings.unitName}}
</div> </div>
@ -21,12 +20,13 @@
{{out.alternativeAmount}} {{out.alternativeIsoCode}} {{out.alternativeAmount}} {{out.alternativeIsoCode}}
</span> </span>
</div> </div>
</div>
<a class="close-reveal-modal" ng-click="cancel()"><i class="fi-x size-18"></i></a> <a class="close-reveal-modal" ng-click="cancel()"><i class="fi-x size-18"></i></a>
</div> </div>
<div class="m10v line-b size-14" ng-show="tx.comment"> <div class="m10v line-b size-14" ng-show="tx.comment">
<div class="oh" ng-if="tx.ts || tx.createdTs "> <div class="oh" ng-if="tx.ts || tx.createdTs ">
<p class="left m5b">Bechilandia@gmail.com</p> <p class="left m5b">{{$root.iden.getName()}}</p>
<div class="text-gray text-right m5t size-12"> <div class="text-gray text-right m5t size-12">
<time>{{ (tx.ts || tx.createdTs ) | amTimeAgo}}</time> <time>{{ (tx.ts || tx.createdTs ) | amTimeAgo}}</time>
</div> </div>
@ -64,7 +64,6 @@
</li> </li>
</ul> </ul>
</div> </div>
</div>
<div class="box-notification" ng-show="error"> <div class="box-notification" ng-show="error">
<div class="box-icon error"> <div class="box-icon error">
@ -76,7 +75,7 @@
<a class="close-notification text-warning" ng-click="error=null">&#215;</a> <a class="close-notification text-warning" ng-click="error=null">&#215;</a>
</div> </div>
<div class="row button-popup" <div class="row"
ng-init="hideSign = false; hideReject = false" ng-init="hideSign = false; hideReject = false"
ng-show="!tx.signedBy[$root.wallet.getMyCopayerId()] && !tx.rejectedBy[$root.wallet.getMyCopayerId()]"> ng-show="!tx.signedBy[$root.wallet.getMyCopayerId()] && !tx.rejectedBy[$root.wallet.getMyCopayerId()]">
<div class="large-6 medium-6 small-6 columns"> <div class="large-6 medium-6 small-6 columns">
@ -96,5 +95,4 @@
</button> </button>
</div> </div>
</div> </div>
</div>