aboutsummaryrefslogtreecommitdiffstats
path: root/calculator.html
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-10-28 20:48:24 -0700
committerAdam Soltys <[email protected]>2012-10-28 20:48:24 -0700
commit2af62c8a50444359408a88cb5b2ab3a4f813fad8 (patch)
tree80dcf811cbe5160a91113d707bbcc4c419b8e0d4 /calculator.html
parentf96887f4ba736f83c6a994f192e6d555a679b44a (diff)
downloadcoinos-server-2af62c8a50444359408a88cb5b2ab3a4f813fad8.tar.gz
coinos-server-2af62c8a50444359408a88cb5b2ab3a4f813fad8.zip
Gracefully handle connection failures
Diffstat (limited to 'calculator.html')
-rw-r--r--calculator.html34
1 files changed, 19 insertions, 15 deletions
diff --git a/calculator.html b/calculator.html
index 906bff14..bdc9fde8 100644
--- a/calculator.html
+++ b/calculator.html
@@ -15,29 +15,33 @@
<script src="js/bitcoin_pos.js"></script>
</head>
<body>
- <div class="container-fluid" style="display: none">
- <h1 id="title">Bitcoin Payment Calculator</h1>
+ <div class="container-fluid">
+ <div id="calculator" style="display: none">
+ <h1 id="title">Bitcoin Payment Calculator</h1>
- <img id="logo" src="img/logo.jpg" alt="Logo" style="display: none" />
+ <img id="logo" src="img/logo.jpg" alt="Logo" style="display: none" />
- <label for="exchange">Exchange Rate:</label>
- <input type="text" id="exchange" value="0" disabled="disabled" />
- <small>CAD / BTC</small>
+ <label for="exchange">Exchange Rate:</label>
+ <input type="text" id="exchange" value="0" disabled="disabled" />
+ <small>CAD / BTC</small>
- <label for="amount">Amount:</label>
- <input type="text" id="amount" />
- <small>CAD</small>
+ <label for="amount">Amount:</label>
+ <input type="text" id="amount" />
+ <small>CAD</small>
- <br /><br />
+ <br /><br />
- <div id="payment">
- <p>Please send <strong id="total">0.0</strong> bitcoins to:</p><br />
- <p id="address"></p>
+ <div id="payment">
+ <p>Please send <strong id="total">0.0</strong> bitcoins to:</p><br />
+ <p id="address"></p>
- <canvas id="qrcanv">No Canvas Support</canvas>
+ <canvas id="qrcanv">No Canvas Support</canvas>
+ </div>
+
+ <span id="received" class="btn btn-success">Payment Received. Thank you!</span>
</div>
- <span id="received" class="btn btn-success">Payment Received. Thank you!</span>
+ <span id="error" class="btn btn-danger" style="display: none">Can't establish connection</span>
</div>
</body>
</html>