aboutsummaryrefslogtreecommitdiff
path: root/extension/pages/confirm-contract.html
blob: d851af350e33d44b0aa57f5900bcdfc9eb31201e (plain)
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
49
50
51
52
53
54
55
56
<!doctype html>

<html>
  <head>
    <title>Taler Wallet: Confirm Reserve Creation</title>
    <script src="../lib/vendor/URI.js"></script>
    <script src="../lib/vendor/handlebars-v4.0.5.js"></script>
    <script src="../lib/commonHelpers.js"></script>
    <script src="confirm-contract.js"></script>
    <link rel="stylesheet" type="text/css" href="../style/wallet.css">

    <script id="contract-template" type="text/x-handlebars-template">
      Hello, this is the wallet.  The merchant "{{merchant.name}}"
      wants to enter a contract over {{prettyAmount amount}}
      with you.

      <p />

      Your contract includes these products:
      <ul>
      {{#each products}}
        <li>{{description}}: {{prettyAmount price}}</li>
      {{/each}}
      </ul>

      <p />
    </script>

    <script id="error-template" type="text/x-handlebars-template">
      Payment was not successful: {{error}}
    </script>
  </head>

  <body>
    <header>
      <div id="logo"></div>
      <h1>Payment Confirmation</h1>
    </header>

    <aside class="sidebar" id="left">
    </aside>

    <section id="main">

      <article id="contract">
        <div id="render-contract"></div>
        <button id="confirm-pay">Confirm Payment</button>
        <div id="confirm-warning"></div>
      </article>

      <article id="status"></article>

    </section>

  </body>
</html>