diff options
| author | Adam Soltys <[email protected]> | 2012-10-20 07:36:39 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-10-20 07:36:39 +0000 |
| commit | b1e7d176518d8e0c842e80b10ac227c0ae72cc8b (patch) | |
| tree | dbe697c02ceb8bae0531b30ca34c4a2d4f3144ec | |
| parent | c05abbd72522d67084f6055bfe417a40c9ea1f6e (diff) | |
| download | coinos-server-b1e7d176518d8e0c842e80b10ac227c0ae72cc8b.tar.gz coinos-server-b1e7d176518d8e0c842e80b10ac227c0ae72cc8b.zip | |
UI tweaks for mobile
| -rw-r--r-- | css/bitcoin_pos.css | 5 | ||||
| -rw-r--r-- | index.html | 4 | ||||
| -rw-r--r-- | js/bitcoin_pos.js | 2 | ||||
| -rw-r--r-- | js/qr.js | 4 |
4 files changed, 9 insertions, 6 deletions
diff --git a/css/bitcoin_pos.css b/css/bitcoin_pos.css index 2702b9aa..2346ea18 100644 --- a/css/bitcoin_pos.css +++ b/css/bitcoin_pos.css @@ -1,8 +1,9 @@ body { text-align: center; } -input[type="number"] { height: 30px; } -body, input[type="number"] { font-size: 24px; line-height: 24px; } +body, input[type="text"], input[type="number"] { font-size: 24px; height: 30px; line-height: 24px; } small, label { font-size: 24px; color: #999; line-height: 24px; } strong#total { font-size: 30px; } +input[type="submit"] { display: none; } +canvas { margin-left: 90px; } div.container-fluid { width: 600px; @@ -21,9 +21,11 @@ <small>CAD / BTC</small> <label for="owing">Amount:</label> - <input type="number" id="owing" value="0" /> + <input type="text" id="owing" value="0" /> <small>CAD</small> + <input type="submit" /> + <br /><br /> <p>Please send <strong id="total">0.0</strong> bitcoins to:</p><br /> diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js index f9685924..0ecc9264 100644 --- a/js/bitcoin_pos.js +++ b/js/bitcoin_pos.js @@ -68,7 +68,7 @@ $(function() { doqr('bitcoin:' + address + '?amount=' + total.toString()); } - $('input').focus(function() { $(this).val(''); }); + $('input').click(function() { $(this).val(''); }); }); function getParameterByName(name) { @@ -703,8 +703,8 @@ function genframe(instring) var wd, ht, qrc; function setupqr(){ - wd = 350; - ht = 350; + wd = 300; + ht = 300; mp = document.getElementById("mapcanv"); var elem = document.getElementById('qrcanv'); |
