Rm wallet color. Rm unused directives

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-05 19:19:07 -03:00
commit a8065be63f
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 8 additions and 13 deletions

View file

@ -1,7 +1,6 @@
<div class="topbar-container">
<nav ng-controller="topbarController as topbar"
ng-style="{'background-color': index.backgroundColor}"
class="tab-bar">
<section class="left-small">
<a class="p10"
@ -27,7 +26,7 @@
<div class="content amazon p20b" ng-controller="amazonController as amazon">
<div class="onGoingProcess" ng-show="amazon.loading">
<div class="onGoingProcess-content" ng-style="{'background-color': index.backgroundColor}">
<div class="onGoingProcess-content">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
@ -52,7 +51,6 @@
</div>
<button class="m10t button black round tiny"
ng-style="{'background-color': index.backgroundColor}"
ng-click="$root.go('buyAmazon')">
Buy now
</button>

View file

@ -1,14 +1,14 @@
<div
class="topbar-container"
ng-include="'views/includes/topbar.html'"
ng-init="titleSection='Buy'; goBackToState = 'amazon'">
ng-init="titleSection='Buy'; goBackToState = 'amazon'; noColor = true">
</div>
<div class="content amazon" ng-controller="buyAmazonController as buy">
<div class="onGoingProcess" ng-show="buy.loading">
<div class="onGoingProcess-content" ng-style="{'background-color': index.backgroundColor}">
<div class="onGoingProcess-content">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
@ -52,9 +52,9 @@
novalidate>
<div class="m20v text-center">
<a class="amazon-select-amount" ng-style="{'background-color': index.backgroundColor}" ng-click="buy.setAmount()">-</a>
<a class="amazon-select-amount" ng-click="buy.setAmount()">-</a>
<span class="amazon-amount">$ {{fiat}}</span>
<a class="amazon-select-amount" ng-style="{'background-color': index.backgroundColor}" ng-click="buy.setAmount(1)">+</a>
<a class="amazon-select-amount" ng-click="buy.setAmount(1)">+</a>
</div>
<div
@ -74,7 +74,6 @@
<div class="input m20t">
<input class="button black round expand"
ng-disabled="buy.loading || !fiat"
ng-style="{'background-color': index.backgroundColor}"
type="submit" value="Order now">
</div>
</form>
@ -123,7 +122,6 @@
</div>
<div class="m10t">
<button class="button black round tiny"
ng-style="{'background-color': index.backgroundColor}"
ng-click="$root.openExternalLink('https://www.amazon.com/gc/redeem?claimCode=' + buy.giftCard.gcClaimCode)">
Redeem Now
</button>

View file

@ -1,4 +1,4 @@
<nav class="tab-bar" ng-style="{'background-color':color}">
<nav class="tab-bar">
<section class="left-small">
<a ng-click="cancel()">
<i class="icon-arrow-left3 icon-back"></i>

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.controllers').controller('amazonController',
function($rootScope, $scope, $timeout, $modal, profileService, configService, storageService, amazonService, isChromeApp, animationService, lodash, nodeWebkit) {
function($rootScope, $scope, $timeout, $modal, profileService, configService, amazonService, animationService, lodash) {
window.ignoreMobilePause = true;
@ -27,7 +27,6 @@ angular.module('copayApp.controllers').controller('amazonController',
var fc = profileService.focusedClient;
var ModalInstanceCtrl = function($scope, $modalInstance) {
$scope.card = card;
$scope.color = fc.backgroundColor;
$scope.cancelGiftCard = function() {
$scope.refresh = true;

View file

@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.services').factory('amazonService', function($http, $log, isCordova, lodash, moment, storageService, configService) {
angular.module('copayApp.services').factory('amazonService', function($http, $log, lodash, moment, storageService, configService) {
var root = {};
var credentials = {};