TONS of work in shapeshift integration
This commit is contained in:
parent
8e2263cc9a
commit
b16a4215d2
14 changed files with 267 additions and 58 deletions
2
www/views/includes/fromWalletIcon.html
Normal file
2
www/views/includes/fromWalletIcon.html
Normal 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"/>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
2
www/views/includes/toWalletIcon.html
Normal file
2
www/views/includes/toWalletIcon.html
Normal 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"/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue