aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/bitcoin_pos.css6
-rw-r--r--index.html2
-rw-r--r--js/bitcoin_pos.js9
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 {
diff --git a/index.html b/index.html
index a09c921b..4c9d17cc 100644
--- a/index.html
+++ b/index.html
@@ -22,7 +22,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 896b04b5..54f2fe94 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() {