summaryrefslogtreecommitdiff
path: root/template/index.html.j2
blob: ec53d550dca74affb95245e333419fb30daaebf1 (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="{{ lang }}">
  <head>
  <meta charset="utf-8"/>
  <title>{{ _("{curr} Auditor").format(curr=conf['currency']) }}</title>
  <script> /* @licstart  The following is the entire license
			notice for the JavaScript code in this page.

	Copyright (C) 2014, 2015, 2016, 2020, 2021 Taler Systems SA

	The JavaScript code in this page is free software: you can redistribute
	it and/or modify it under the terms of the GNU General Public License
	(GNU GPL) as published by the Free Software Foundation, either version
	3 of the License, or (at your option) any later version.  The code is
	distributed WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU GPL
	for more details.

	As additional permission under GNU GPL version 3 section 7, you may
	distribute non-source (e.g., minimized or compacted) forms of that code
	without the copy of the GNU GPL normally required by section 4,
	provided you include this license notice and a URL through which
	recipients can access the Corresponding Source.

	@licend  The above is the entire license notice for the JavaScript code
	in this page.  */
  </script>
  <link rel="alternate" hreflang="en" href="{{ self_localized('en') }}" />
  <link rel="alternate" hreflang="de" href="{{ self_localized('de') }}" />
<!--
    <link rel="alternate" hreflang="ar" href="{{ self_localized('ar') }}" />
    <link rel="alternate" hreflang="zh-hant" href="{{ self_localized('zh_Hant')
    }}" /> <link rel="alternate" hreflang="cs" href="{{ self_localized('cs')
    }}" /> <link rel="alternate" hreflang="fr" href="{{ self_localized('fr')
    }}" /> <link rel="alternate" hreflang="hi" href="{{ self_localized('hi')
    }}" /> <link rel="alternate" hreflang="hu" href="{{ self_localized('hu')
    }}" /> <link rel="alternate" hreflang="it" href="{{ self_localized('it')
    }}" /> <link rel="alternate" hreflang="ja" href="{{ self_localized('ja')
    }}" /> <link rel="alternate" hreflang="ko" href="{{ self_localized('ko')
    }}" /> <link rel="alternate" hreflang="pt" href="{{ self_localized('pt')
    }}" /> <link rel="alternate" hreflang="pt-br" href="{{
    self_localized('pt_BR') }}" /> <link rel="alternate" hreflang="ru" href="{{
    self_localized('ru') }}" /> <link rel="alternate" hreflang="es" href="{{
    self_localized('es') }}" /> <link rel="alternate" hreflang="sv" href="{{
    self_localized('sv') }}" /> <link rel="alternate" hreflang="tr" href="{{
    self_localized('tr') }}" />
-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="">
    <!-- Bootstrap core CSS -->
    <link href="{{ url_dist('bootstrap@4.6.0/bootstrap.min.css') }}" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="{{ url_static('styles.css') }}" rel="stylesheet">
    <script src="{{ url_dist('bootstrap@4.6.0/jquery-3.5.1.slim.min.js') }}"></script>
    <script src="{{ url_dist('bootstrap@4.6.0/bootstrap.bundle.min.js') }}"></script>
    <script src="{{ url_dist('qrious@4.0.2/qrious.min.js') }}"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media
	    queries -->
    <!--[if lt IE 9]>
	<script
		src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
	<script
		src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
  </head>

<body id="mybody">
  <nav class="navbar navbar-expand-lg navbar-light">
      <div class="navbar-nav mr-auto">
      </div>
      <div class="nav-item dropdown">
      <button class="btn btn-dark dropdown-toggle"
              type="button"
              id="dropdownMenu1"
              data-toggle="dropdown"
              aria-haspopup="true"
              aria-expanded="true">
              <img src="{{ url_static('images/languageicon.svg') }}"
                    height="35"
                    alt="[{{lang}}]" />
                    {{ lang_full }} [{{ lang }}]
      </button>
      <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
      {% if lang != 'en' %}
        <li><a class="dropdown-item" href="{{ self_localized('en') }}">English [en]</a></li>
      {% endif %}
<!--  {% if lang != 'ar' %}
        <li><a class="dropdown-item" href="{{ self_localized('ar') }}">Arabic [ar]</a></li>
      {% endif %} -->
<!--  {% if lang != 'zh_Hant' %}
        <li><a class="dropdown-item" href="{{ self_localized('zh_Hant') }}">Chinese [zh]</a></li>
      {% endif %} -->
<!--  {% if lang != 'fr' %}
        <li><a class="dropdown-item" href="{{ self_localized('fr') }}">Fran&ccedil;ais [fr]</a></li>
      {% endif %} -->
      {% if lang != 'de' %}
        <li><a class="dropdown-item" href="{{ self_localized('de') }}">Deutsch [de]</a></li>
      {% endif %}
<!--  {% if lang != 'hi' %}
        <li><a class="dropdown-item" href="{{ self_localized('hi') }}">Hindi [hi]</a></li>
      {% endif %} -->
<!--  {% if lang != 'it' %}
        <li><a class="dropdown-item" href="{{ self_localized('it') }}">Italiano [it]</a></li>
      {% endif %}
      {% if lang != 'ja' %}
        <li><a class="dropdown-item" href="{{ self_localized('ja') }}">Japanese [ja]</a></li>
      {% endif %}
      {% if lang != 'ko' %}
        <li><a class="dropdown-item" href="{{ self_localized('ko') }}">Korean [ko]</a></li>
      {% endif %} -->
<!--  {% if lang != 'pt' %}
        <li><a class="dropdown-item" href="{{ self_localized('pt') }}">Portugu&ecirc;s [pt]</a></li>
      {% endif %} -->
<!--  {% if lang != 'pt_BR' %}
        <li><a class="dropdown-item" href="{{ self_localized('pt_BR') }}">Portugu&ecirc;s (Brazil) [pt]</a></li>
      {% endif %} -->
<!--  {% if lang != 'ru' %}
        <li><a class="dropdown-item" href="{{ self_localized('ru') }}">&#x420;&#x443;&#x301;&#x441;&#x441;&#x43A;&#x438;&#x439;&#x20;&#x44F;&#x437;&#x44B;&#x301;&#x43A; [ru]</a></li>
      {% endif %}
      {% if lang != 'es' %}
        <li><a class="dropdown-item" href="{{ self_localized('es') }}">Espa&ntilde;ol [es]</a></li>
      {% endif %}
      {% if lang != 'sv' %}
        <li><a class="dropdown-item" href="{{ self_localized('sv') }}">Svenska [sv]</a></li>
      {% endif %}
      {% if lang != 'tr' %}
        <li><a class="dropdown-item" href="{{ self_localized('tr') }}">T&uuml;rk [tr]</a></li>
      {% endif %} -->
      </ul>
    </div>
  </nav>

  <div id="body_content">
    <div class="container">
      <div class="row justify-content-center">
        <div>
          <h1><span class="it">{{ _("{curr} Auditor").format(curr=conf['currency']) }}</span></h1>
        </div>
      </div>
      <div class="row justify-content-center">
        <div>
          <p>
            {{ _("This is an auditor for the {curr} currency.").format(curr=conf['currency']) }}
          </p>
        </div>
      </div>
      <div class="row mt-1">
      </div>
    </div>

    <div class="container">
      <div class="row">
        <div class="col-lg-24">
          <p>
            {{ _("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 scan the following QR code or open the link:
            {% endtrans %}
          </p>

          <div style="text-align: center;">
            <canvas id="qr"></canvas>
          </div>
          <div style="text-align: center;">
            <a href="{{ "{uri}".format(uri=conf['auditor_uri']) }}">
                     {{ "{uri}".format(uri=conf['auditor_uri']) }}
            </a>
          </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>
      </div>
    </div>
  </div>
  <script>
    var qr = new QRious({
        element: document.getElementById('qr'),
        value: '{{ conf['auditor_uri'] }}'
    });
  </script>

  <div class="container">
    <div class="row">
      <div class="col-lg-24">
        <h2>Audit reports</h2>
        <p>
          {% trans %}
          We are continuously publishing our <a href="/reports/">audit reports</a>.
          {% endtrans %}
        </p>
      </div>
    </div>
  </div>
<footer id="footer">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-12">
        <hr style="border-top: 1px solid #00000069; padding-bottom: 1em" />
      </div>
    </div>
  </div>
  <div class="text-center mt-5">
    <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-2021
       <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.") }}
       <br>
       <a href="{{ url_static('javascript.html') }}" data-jslicense="1">{{ _("JavaScript license information")}} </a>
    </p>
  </div>
</footer>
</body>
</html>