Restore Buy bitcoin page and add buy.bitcoin.com as a service there

This commit is contained in:
magmahindenburg 2017-06-22 17:50:59 +09:00
commit a761b58ab0
8 changed files with 114 additions and 16 deletions

View file

@ -0,0 +1,19 @@
<ion-view id="buy-and-sell">
<ion-nav-bar class="bar-royal">
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-title>Buy with a credit card</ion-nav-title>
</ion-nav-bar>
<ion-content>
<div class="list">
<div class="explain">
<i class="icon buy-and-sell-icon">
<img src="img/icon-bitcoin.svg"/>
</i>
<div class="explain-heading">Buy bitcoin with credit card using Simplex</div>
<div class="explain-description">Click on the link below to go to Buy.Bitcoin.com</div>
</div>
<div class="item item-divider"></div>
</div>
</ion-content>
</ion-view>

View file

@ -2,19 +2,24 @@
<ion-nav-bar class="bar-royal">
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-title>Buy Bitcoin</ion-nav-title>
<ion-nav-title>Buy or Sell Bitcoin</ion-nav-title>
</ion-nav-bar>
<ion-content>
<div class="list">
<div class="explain">
<div class="explain-heading">Buy Bitcoin</div>
<div class="explain-description">Buy bitcoin using a credit card</div>
<div class="item item-divider"></div>
<div class="bitcoin-com-page-body">
<button class="button button-standard button-secondary" ng-click="openExternalLink('https://buy.bitcoin.com')">Visit Buy.Bitcoin.com</button>
</div>
<i class="icon buy-and-sell-icon">
<img src="img/icon-bitcoin.svg"/>
</i>
<div class="explain-heading">Connect an Exchange</div>
<div class="explain-description">Buy or sell bitcoin directly from your wallet by connecting your exchange accounts.</div>
</div>
<div class="item item-divider"></div>
<div ng-repeat="service in services">
<div class="item item-icon-right" ui-sref="{{service.sref}}">
<img ng-src="{{service.logo}}" width="90">
<span class="item-note">{{service.location}}</span>
<i class="icon bp-arrow-right"></i>
</div>
</div>
</ion-content>
</ion-view>

19
www/views/pricechart.html Normal file
View file

@ -0,0 +1,19 @@
<ion-view id="buy-and-sell">
<ion-nav-bar class="bar-royal">
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-title>Bitcoin Price Chart</ion-nav-title>
</ion-nav-bar>
<ion-content>
<div class="chart-container">
<div class="chart-header">
<div class="latest-price">$<span id="latest-price">2500</span></div>
<div class="high-price"><span class="light-yellow">High:</span><br/>$<span id="high-price">2500</span></div>
<div class="low-price"><span class="light-yellow">Low:</span><br/>$<span id="low-price">2500</span></div>
</div>
<div class="chart">
<div class="ct-chart ct-perfect-fourth"></div>
</div>
</div>
</ion-content>
</ion-view>