diff options
| author | Adam Soltys <[email protected]> | 2012-10-20 21:47:29 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-10-20 21:47:29 +0000 |
| commit | 4c39b9594ea452b82452627166100621621ca982 (patch) | |
| tree | 2d94b46c90f1ecbfb54d2388c0c6fe90c0f366ea | |
| parent | 1303270b98b95e2ad8e5f2b90b13f42f5e74c24a (diff) | |
| download | coinos-server-4c39b9594ea452b82452627166100621621ca982.tar.gz coinos-server-4c39b9594ea452b82452627166100621621ca982.zip | |
Code cleanup
| -rw-r--r-- | css/bitcoin_pos.css | 6 | ||||
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | js/bitcoin_pos.js | 9 |
3 files changed, 7 insertions, 10 deletions
diff --git a/css/bitcoin_pos.css b/css/bitcoin_pos.css index eb6e7658..f6b80f58 100644 --- a/css/bitcoin_pos.css +++ b/css/bitcoin_pos.css @@ -1,10 +1,10 @@ body { text-align: center; } body { font-size: 100%; line-height: 100%; } -input[type="text"], span.btn { font-size: 1.4em; height: 1.4em; width: 5em; } -p, span { font-size: 1.4em; } +p, span, input[type="text"] { font-size: 1.4em; } +input[type="text"] { height: 1.4em; width: 5em; } +span.btn { font-size: 1.4em; width: 80%; } small, label { color: #999; font-size: 1.2em; } strong#total { font-size: 2em; } -input[type="submit"] { display: none; } img#banner { width: 100%; } div.container-fluid { @@ -21,7 +21,7 @@ <small>CAD / BTC</small> <label for="amount">Amount:</label> - <input type="text" id="amount" value="0" /> + <input type="text" id="amount" /> <small>CAD</small> <br /><br /> diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js index eab06e6e..09d4bf1c 100644 --- a/js/bitcoin_pos.js +++ b/js/bitcoin_pos.js @@ -5,15 +5,12 @@ $(function() { var received = 0; var address = getParameterByName('address'); - $('#received').hide(); - $('div.container-fluid').css('width', Math.min(screen.width, 600) + 'px'); - - setupqr(); - if (address == "") window.location = 'index.html?address=1KDaKixtYqPdDNsu3fMeAHHB52R2WHvXCQ' - + setupqr(); + $('#received').hide() + $('div.container-fluid').css('width', Math.min(screen.width, 600) + 'px'); $('#address').html(address); websocket.onopen = function() { |
