insight-pot-ui
Version:
An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the potcoin network and build your own services with it.
19 lines (17 loc) • 612 B
HTML
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
{{currency.symbol}} <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a data-ng-click="setCurrency('USD')" data-ng-class="{active: currency.symbol == 'USD'}">USD</a>
</li>
<li>
<a data-ng-click="setCurrency('POT')" data-ng-class="{active: currency.symbol == 'POT'}">POT</a>
</li>
<li>
<a data-ng-click="setCurrency('mPOT')" data-ng-class="{active: currency.symbol == 'mPOT'}">mPOT</a>
</li>
<li>
<a data-ng-click="setCurrency('bits')" data-ng-class="{active: currency.symbol == 'bits'}">bits</a>
</li>
</ul>