summaryrefslogtreecommitdiff
path: root/template/index.html.j2
blob: fbd12181229118c763cdc340cca9e3265b567086 (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
92
93
94
95
96
<!DOCTYPE html>
<html lang="en" data-taler-nojs="true">
<head profile="http://www.w3.org/2005/10/profile">
  <meta charset="utf-8"/>
  <title>{{ _("{curr} Auditor").format(curr=conf['currency']) }}</title>
  <link rel="stylesheet" type="text/css" href="{{ url('static/pure.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url('static/demo.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url('static/taler-fallback.css') }}" id="taler-presence-stylesheet" />
  <link rel="icon" type="image/png" href="{{ url('static/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>
  function addAuditor() {
    taler.addAuditor({
      url: "{{ conf['auditor_url'] }}",
      currency: "{{ conf['currency'] }}",
      auditorPub: "{{ conf['auditor_pub'] }}",
      expirationStamp: (new Date(2027, 1)).getTime(),
    });
  }
  </script>
</head>

<body>
  <div class="demobar">
    <h1><span class="it">{{ _("{curr} Auditor").format(curr=conf['currency']) }}</span></h1>
    <p>
      {{ _("This is an auditor for the {curr} currency.").format(curr=conf['currency']) }}
    </p>
  </div>
  <section id="main" class="content">
    <p style="color: black;">
      {{ _("This is the Web site of the auditor for the {curr} currency.").format(curr=conf['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>
        {{ _("This will tell your wallet that you are willing to trust exchanges that we audit to handle the {curr} currency properly.").format(curr=conf['currency']) }}
      </p>
    <p>
      {% trans %}
      If you do not have a Taler wallet installed, please
      first install the wallet from <a href="https://wallet.taler.net/">wallet installation page</a>.
      It only takes one click.
      {% endtrans %}
    </p>
    </div>
  </section>
  <footer id="footer">
  <div class="demobar">
    <p>
       {{ _("GNU Taler is developed as part of the <a href='https://www.gnu.org/'>GNU project</a> for the GNU operating system.") }}
       <br>
       &copy; <a href="https://gnunet.org/en/ev.html">GNUnet e.V.</a> {{_("and") }}
               Taler Systems SA 2015-2020
       <br>
       {{ _("We are grateful for support and free hosting of this site by <a href='https://www.bfh.ch/'>BFH</a>.") }}
       <br>
       {{ _("This page was created using <a href='https://www.gnu.org/'>Free Software</a> only.") }}
    </p>
  </div>
  </footer>
</body>
</html>