diff options
| author | Adam Soltys <[email protected]> | 2012-10-14 12:36:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-10-14 12:36:20 -0700 |
| commit | 0e23f43411319465776a8b1b5d788ad2db3b8178 (patch) | |
| tree | 5fbd53daacb057aa47aa5679e1072b34963cf740 /index.html | |
| parent | 2466d865492cec347c586f55a27d4f3ab6692a80 (diff) | |
| download | coinos-server-0e23f43411319465776a8b1b5d788ad2db3b8178.tar.gz coinos-server-0e23f43411319465776a8b1b5d788ad2db3b8178.zip | |
Adjust QR code size, use market depth ticker
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -58,7 +58,9 @@ } $.getJSON('ticker.json', function (data) { - exchange = data.return.last_local.value; + exchange = 100 / data.out; + exchange = exchange + exchange * 0.03; + exchange = Math.ceil(exchange * 100) / 100; $('#exchange').html(exchange); updateTotal(); }); @@ -98,13 +100,11 @@ <style> body, input { font-family: 'Arial'; font-size: 20px; } body { width: 100% } - #container { width: 50%; margin: 0px auto; } #total { font-size: 32px; } #status { color: red } </style> </head> <body> - <div id="container"> <div> $<input type="text" id="owing" value="0" size="4" /> CAD @ <span id="exchange"></span> @@ -124,10 +124,11 @@ <br /> + <canvas id="qrcanv">No Canvas Support</canvas> + + <br /> + <span id="status">Waiting for Payment</span> </div> - <div id="qrdiv"> - <canvas id="qrcanv"}>No Canvas Support? -</div> </div> </body> </html> |
