added lots of shapeshift related code
This commit is contained in:
parent
2f07290dea
commit
c4c8008573
12 changed files with 669 additions and 0 deletions
19
www/views/includes/shapeshift-coin-deposit-info.html
Normal file
19
www/views/includes/shapeshift-coin-deposit-info.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div ng-if="depositInfo">
|
||||
<div>
|
||||
{{DepositStatus.status}}
|
||||
</div>
|
||||
<div>
|
||||
<qrcode version="20" error-correction-level="H" size=200 data="{{depositInfo.depositQR}}"></qrcode>
|
||||
</div>
|
||||
<div>
|
||||
<div>Deposit Type: {{depositInfo.depositType}}</div>
|
||||
<div ng-if="depositInfo.depositAmount">Deposit Amount: {{depositInfo.depositAmount}}</div>
|
||||
<div>Deposit Address: {{depositInfo.deposit}}</div>
|
||||
<div>Withdrawal Type: {{depositInfo.withdrawalType}}</div>
|
||||
<div>Withdrawal Address: {{depositInfo.withdrawal}}</div>
|
||||
<div ng-if="depositInfo.withdrawalAmount">Withdrawal Amount: {{depositInfo.withdrawalAmount}}</div>
|
||||
<div ng-if="depositInfo.quotedRate">Quoted Rate: {{depositInfo.quotedRate}}</div>
|
||||
<div ng-if="depositInfo.minerFee">Miner Fee: {{depositInfo.minerFee}}</div>
|
||||
<div ng-if="depositInfo.expiration">Expires: {{depositInfo.expiration}}</div>
|
||||
</div>
|
||||
</div>
|
||||
3
www/views/includes/shapeshift-coin-error.html
Normal file
3
www/views/includes/shapeshift-coin-error.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<div ng-if="ssError">
|
||||
<div>{{ssError}}</div>
|
||||
</div>
|
||||
28
www/views/includes/shapeshift-coin-selector.html
Normal file
28
www/views/includes/shapeshift-coin-selector.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<div>
|
||||
<div>
|
||||
<select ng-model="selectedCoinModel.coin" ng-change="getMarketData(selectedCoinModel.coin)">
|
||||
<option ng-repeat="(k, coin) in coins" value="{{coin.symbol}}">
|
||||
{{coin.symbol}}
|
||||
</option>
|
||||
</select>
|
||||
<br/>
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
<label>{{ label }}</label>
|
||||
<input type="text" ng-model="coinAddress">
|
||||
</div>
|
||||
<div ng-show="direction=='out'">
|
||||
<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>MinerFee: {{marketData.minerFee}}</div>
|
||||
<div>Rate: {{marketData.rate}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
5
www/views/includes/shapeshift-coin-shift-button.html
Normal file
5
www/views/includes/shapeshift-coin-shift-button.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div>
|
||||
<div>
|
||||
<button type="button" ng-click="shiftIt()">{{ShiftState}}</button>
|
||||
</div>
|
||||
</div>
|
||||
2
www/views/includes/shapeshift-coin-trader.html
Normal file
2
www/views/includes/shapeshift-coin-trader.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<div class="container" ng-transclude>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue