summaryrefslogtreecommitdiff
path: root/index.html.j2
blob: 6945479d66ef14965857db3e487e12eb15805bb7 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!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 %(curr)s currency.", curr=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>
      {% trans %}
      You can learn more about Taler on our main <a href="https://taler.net/">website</a>.
      {% endtrans %}
    </p>
  </div>
  <section id="main" class="content">
    <h1>{{ _("%(curr)s Auditor", curr=currency) }} </h1>
    <p style="color: black;">
      {{ _("This is the Web site of the auditor for the %(curr)s currency.",curr=currency) }}
      {% trans %}
      In the GNU Taler system, an auditor is responsible for verifying
      that an exchange operates correctly. If you trust us to do a good
      job auditing, please click here:
      {% endtrans %}
    </p>
    <div style="text-align: center;">
      <button class="pure-button pure-button-primary" style="text-allign: center;" click="addAuditor()">{{ _("Add Auditor") }}</button>
    </div>
    <p>
      {% trans %}
      This will tell your wallet that you are willing to trust exchanges that
      we audit to handle the TESTKUDOS currency properly.
      {% endtrans %}
    </p>
  </section>
</body>
</html>