summaryrefslogtreecommitdiff
path: root/index.html.j2
blob: 0dcdead254d49dc03a094f707160b76ff565b39b (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
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en" data-taler-nojs="true">
<head profile="http://www.w3.org/2005/10/profile">
  <meta charset="utf-8"/>
  <title>Taler Demo - Auditor</title>
  <link rel="stylesheet" type="text/css" href="{{ url('static/web-common/pure.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url('static/web-common/demo.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url('static/web-common/taler-fallback.css') }}" id="taler-presence-stylesheet" />
  <link rel="icon" type="image/png" href="{{ url('static/web-common/favicon-taler.ico') }}" />


  <style type="text/css">
    a[disabled="true"] {
    pointer-events: none;
    color: grey;
    }

    .bluebox {
      background-color: #C2C6FF;
      border: solid;
      border-radius: 5px;
      padding: 0.5em;
    }
    .greenbox {
      background-color: #5EFF64;
      border: solid;
      border-radius: 5px;
      padding: 0.5em;
    }
    .graybox {
      background-color: #DDDDDD;
      border: solid;
      border-radius: 5px;
      padding: 0.5em;
    }
  </style>

  <script src="{{ url('static/web-common/taler-wallet-lib.js') }}"></script>
  <script>
  function addAuditor() {
    taler.addAuditor({
      url: "{{ auditor_url }}",
      currency: "{{ currency }}",
      auditorPub: "{{ auditor_pub }}",
      expirationStamp: (new Date(2027, 1)).getTime(),
    });
  }
  </script>
</head>

<body>
  <div class="demobar">
    <h1><span class="tt adorn-brackets">Taler Demo</span></h1>
    <h1><span class="it"><a href="#">Auditor</a></span></h1>
    <p>This is an auditor for the currency "{{ currency }}".</p>
    <ul>
      <li><a href="{{ intro_url }}">Introduction</a></li>
      <li><a href="{{ bank_url }}">Bank</a></li>
      <li><a href="{{ merchant_blog_url }}">Essay Shop</a></li>
      <li><a href="{{ merchant_donations_url }}">Donations</a></li>
    </ul>
    <p>You can learn more about Taler on our main <a href="https://taler.net">website</a>.</p>
  </div>
  <section id="main" class="content">
  <button class="pure-button pure-button-primary" onclick="addAuditor()">Add Auditor</button>
  </section>
</body>
</html>