aboutsummaryrefslogtreecommitdiffstats
path: root/views/calculator.html
blob: 88a7b47b7ce0010a266dda62ac86dce63375e39d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
		<meta name="viewport" content="width=480, height=752, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
    <title>Bitcoin Payment Calculator</title>
    <link href="img/favicon.ico" rel="shortcut icon" />
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/bootstrap-responsive.min.css" rel="stylesheet" />
    <link href="css/bitcoin_pos.css" rel="stylesheet" />
    <script src="js/jquery-1.8.2.min.js"></script>
    <script src="js/moment.min.js"></script>
    <script src="js/qr.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bitcoin_pos.js"></script>
  </head>
  <body>
    <div class="container-fluid">
      <div id="calculator" style="display: none">
        <input id="client" type="hidden" value="{{client}}" />
        <h1 id="title">Bitcoin Payment Calculator</h1>

        <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="amount">Amount:</label>
        <input type="text" id="amount" />
        <small>CAD</small>

        <br /><br />

        <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>
        </div>

        <span id="received" class="btn btn-success">Payment Received.  Thank you!</span>
      </div>

      <span id="error" class="btn btn-danger" style="display: none">Can't establish connection</span> 
    </div>
  </body>
</html>