aboutsummaryrefslogtreecommitdiffstats
path: root/views/users/show.html
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-08-08 11:33:43 -0700
committerAdam Soltys <[email protected]>2014-08-08 11:33:43 -0700
commit2cc86381a6f79cd729048b34a72b70562a7b0ace (patch)
treec42dda997719ce544a4dea2bf15937d293ebfd59 /views/users/show.html
parent3082e274b70a93fdac8a9a63934252ed914fe406 (diff)
parent6d5c3a56067b96bb5d97cca4a80bacbf78395b2c (diff)
downloadcoinos-server-2cc86381a6f79cd729048b34a72b70562a7b0ace.tar.gz
coinos-server-2cc86381a6f79cd729048b34a72b70562a7b0ace.zip
Merge branch 'code_reorg'
Diffstat (limited to 'views/users/show.html')
-rw-r--r--views/users/show.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/views/users/show.html b/views/users/show.html
new file mode 100644
index 00000000..608246e0
--- /dev/null
+++ b/views/users/show.html
@@ -0,0 +1,49 @@
+{{#yield-scripts}}
+ {{#js}}js/calculator{{/js}}
+{{/yield-scripts}}
+
+<div id="calculator" style="display: none">
+ <input id="user" type="hidden" value="{{user}}" />
+
+ <h1 id="title"></h1>
+ <img id="logo" src="img/bitcoin.png" alt="Logo" />
+
+ <form role="form">
+ <div class="form-group">
+ <label for="exchange">Exchange Rate:</label>
+ <input type="text" id="exchange" value="0" disabled="disabled" class="form-control" />
+ <span id="symbol"></span>
+ </div>
+
+ <div class="form-group">
+ <label for="amount">Amount:</label>
+ <input type="text" id="amount" class="form-control" />
+ <span id="currency"></span>
+ </div>
+
+ <div class="form-group">
+ <label for="tip">Tip:</label>
+ <div class="btn-toolbar">
+ <div class="btn-group" id="tip">
+ <button type="button" class="active btn btn-default">0%</button>
+ <button type="button" class="btn btn-default">10%</button>
+ <button type="button" class="btn btn-default">15%</button>
+ <button type="button" class="btn btn-default">20%</button>
+ </div>
+ </div>
+ </div>
+
+ <br />
+
+ <div id="payment">
+ <p>Please send <strong id="total">0.0</strong> BTC to</p>
+ <div id="qr"></div>
+ <p id="address"></p>
+ </div>
+
+ <span id="received" class="btn btn-success">Payment Received. Thank you!</span>
+ <audio id="chaching" src="/cash_register.wav" hidden="true" enablejavascript="true">
+ </div>
+</form>
+
+<span id="error" class="btn btn-danger" style="display: none"></span>