diff options
| author | Adam Soltys <[email protected]> | 2013-02-27 20:42:20 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2013-02-27 20:42:26 -0800 |
| commit | 694a202407407566b4645b4044ee7530c6887990 (patch) | |
| tree | 4ae56589ab7be747480d25a309a2228d4e070a69 | |
| parent | 17643214df029a2c25166bcad0657e97cf90d835 (diff) | |
| download | coinos-server-694a202407407566b4645b4044ee7530c6887990.tar.gz coinos-server-694a202407407566b4645b4044ee7530c6887990.zip | |
Add QR code to deposit page
| -rw-r--r-- | public/js/deposit.coffee | 2 | ||||
| -rw-r--r-- | views/main/deposit.html | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/public/js/deposit.coffee b/public/js/deposit.coffee index af789ee3..209781cd 100644 --- a/public/js/deposit.coffee +++ b/public/js/deposit.coffee @@ -16,6 +16,8 @@ g = exports ? this $(-> g.address or= '1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr' setupSocket() + setupQR() + displayQR('bitcoin:' + g.address) ) setupSocket = -> diff --git a/views/main/deposit.html b/views/main/deposit.html index 8372d1e5..7f57ab93 100644 --- a/views/main/deposit.html +++ b/views/main/deposit.html @@ -14,7 +14,9 @@ Send bitcoins to: 1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr - <p id="received"></p> + <p id="received"> + <canvas id="qrcanv">No Canvas Support</canvas> + </p> </div> </body> </html> |
