Input type number. Fix empty gift cards list

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-14 00:36:41 -03:00
commit 210bbc36cc
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
6 changed files with 33 additions and 45 deletions

View file

@ -27,7 +27,7 @@
<div ng-init="amazon.init()">
<div class="box-notification text-center size-12 text-warning m10t" ng-show="amazon.sandbox">
<div class="box-notification text-center size-12 text-warning" ng-show="amazon.sandbox">
<i class="fi-info"></i>
Sandbox version. Only for testing purpose
</div>

View file

@ -27,7 +27,7 @@
</div>
</div>
<div class="text-center">
<div class="text-center m20b">
<img src="img/a_generic.jpg" alt="Amazon.com Gift Card" width="200">
<div class="text-left size-12 m10t">
Use your Amazon.com Gift Card* to shop from a huge selection of books, electronics, music, movies, software, apparel, toys, and more.
@ -38,10 +38,16 @@
ng-submit="buy.createTx()"
novalidate>
<div class="m20v text-center">
<a class="amazon-select-amount" ng-click="buy.setAmount()">-</a>
<span class="amazon-amount">$ {{fiat}}</span>
<a class="amazon-select-amount" ng-click="buy.setAmount(1)">+</a>
<label>
Amount
</label>
<div class="input">
<input type="number" id="fiat"
name="fiat" ng-attr-placeholder="{{'Amount in USD'}}"
min="0.01" max="2000"
ng-model="fiat" autocomplete="off" required>
<a class="postfix button black">USD</a>
</div>
<div