Fixed UI. Now aligned with other buttons
This commit is contained in:
parent
5a0c1e235b
commit
82893c703a
2 changed files with 11 additions and 6 deletions
11
index.html
11
index.html
|
|
@ -517,12 +517,11 @@
|
||||||
<pagination ng-show="!onlyPending" total-items="txs.length" items-per-page="txpItemsPerPage" page="txpCurrentPage" on-select-page="show()" class="pagination-small primary"></pagination>
|
<pagination ng-show="!onlyPending" total-items="txs.length" items-per-page="txpItemsPerPage" page="txpCurrentPage" on-select-page="show()" class="pagination-small primary"></pagination>
|
||||||
</div>
|
</div>
|
||||||
<div class="large-12 columns">
|
<div class="large-12 columns">
|
||||||
<h4>Last transactions
|
<h4>Last transactions</h4>
|
||||||
<small>
|
<div class="m10b size-12">
|
||||||
<a ng-click="toogleLast()" ng-disabled="loading" loading="Loading" ng-hide="lastShowed && !loading">Show</a>
|
<a class="text-gray active" ng-click="toogleLast()" ng-disabled="loading" loading="Loading" ng-hide="lastShowed && !loading">[ Show ]</a>
|
||||||
<a ng-click="toogleLast()" ng-disabled="loading" loading="Loading" ng-show="lastShowed && !loading">Hide</a>
|
<a class="text-gray" ng-click="toogleLast()" ng-disabled="loading" loading="Loading" ng-show="lastShowed && !loading">[ Hide ]</a>
|
||||||
</small>
|
</div>
|
||||||
</h4>
|
|
||||||
<div class="btransactions" ng-if="lastShowed">
|
<div class="btransactions" ng-if="lastShowed">
|
||||||
<div ng-if="!blockchain_txs[0].txid && !loading">
|
<div ng-if="!blockchain_txs[0].txid && !loading">
|
||||||
No transactions yet.
|
No transactions yet.
|
||||||
|
|
|
||||||
|
|
@ -158,6 +158,12 @@ angular.module('copayApp.controllers').controller('TransactionsController',
|
||||||
}, 10);
|
}, 10);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$timeout(function() {
|
||||||
|
$scope.loading = false;
|
||||||
|
$scope.lastShowed = false;
|
||||||
|
}, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue