473503a246
Use ES6 module syntax and SystemJS modules for everything. Some testing stubs were added as well.
57 lines
1.3 KiB
HTML
57 lines
1.3 KiB
HTML
<!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>
|