diff options
Diffstat (limited to 'template/index.html.j2')
-rw-r--r-- | template/index.html.j2 | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2 new file mode 100644 index 0000000..fbd1218 --- /dev/null +++ b/template/index.html.j2 @@ -0,0 +1,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> + © <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> |