TONS of work in shapeshift integration

This commit is contained in:
Kadir Sekha 2017-12-12 17:15:39 +09:00
commit b16a4215d2
14 changed files with 267 additions and 58 deletions

View file

@ -0,0 +1,2 @@
<img ng-if="fromWallet.network == 'testnet'" src="img/icon-wallet-testnet.svg" ng-class="{'wallet-background-color-default': !fromWallet.color}" ng-style="{'background-color': fromWallet.color}" class="bg"/>
<img ng-if="fromWallet.network != 'testnet'" src="img/icon-wallet.svg" ng-class="{'wallet-background-color-default': !fromWallet.color}" ng-style="{'background-color': fromWallet.color}" class="bg"/>

View file

@ -1,4 +1,4 @@
<div>
<div ng-hide="direction=='in' || direction=='out'">
<div>
<select ng-model="selectedCoinModel.coin" ng-change="getMarketData(selectedCoinModel.coin)">
<option ng-repeat="(k, coin) in coins" value="{{coin.symbol}}">
@ -12,14 +12,14 @@
<label>{{ label }}</label>
<input type="text" ng-model="coinAddress">
</div>
<div ng-show="direction=='out'">
<div ng-show="direction=='in'">
<label>Amount</label>
<input type="text" ng-model="amount">
</div>
</div>
<div ng-if="direction=='in'">
<div>Deposit Limit: {{marketData.limit}}</div>
<div>Minimum Amount: {{marketData.minimum}}</div>
<div>Maximum Amount: {{marketData.limit}}</div>
<div>MinerFee: {{marketData.minerFee}}</div>
<div>Rate: {{marketData.rate}}</div>
</div>

View file

@ -1,5 +1,7 @@
<div>
<div>
<button type="button" ng-click="shiftIt()">{{ShiftState}}</button>
<button type="button" class="button button-standard button-primary" ng-click="shiftIt()">
{{ShiftState}}
</button>
</div>
</div>

View file

@ -0,0 +1,2 @@
<img ng-if="toWallet.network == 'testnet'" src="img/icon-wallet-testnet.svg" ng-class="{'wallet-background-color-default': !toWallet.color}" ng-style="{'background-color': toWallet.color}" class="bg"/>
<img ng-if="toWallet.network != 'testnet'" src="img/icon-wallet.svg" ng-class="{'wallet-background-color-default': !toWallet.color}" ng-style="{'background-color': toWallet.color}" class="bg"/>