summaryrefslogtreecommitdiff
path: root/talerbank/app/templates/payto_wiretransfer.html
blob: 931eb1bc151d0fe2c228fe0bed188bef2b31b464 (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
{% extends "base.html" %}
{#
  This file is part of GNU TALER.
  Copyright (C) 2014, 2015, 2016 Taler Systems SA

  TALER is free software; you can redistribute it and/or modify it under the
  terms of the GNU Lesser General Public License as published by the Free Software
  Foundation; either version 2.1, or (at your option) any later version.

  TALER is distributed in the hope that it will be useful, but WITHOUT ANY
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License along with
  TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>

  @author Marcello Stanisci
  @author Florian Dold <dold@taler.net>
#}

{% block main %}

<div>
  <a href="{{ url('logout') }}" class="pure-button">[{{ _("Logout") }}]</a><br>
</div>

  <section id="main">

    {% if hint != "" %}
    <article>
      <div class="notification">
      {% if not is_success %}
        <p class="informational informational-fail">
      {% else %}
        <p class="informational informational-ok">
      {% endif %}
        {{ hint }}
        </p>
      </div>
    </article>
    {% endif %}

    <article>
    <div>
      <h2>{{ _("Wire transfer") }}</h2>
      <p>{{ _("Transfer money via the payto system:") }}
      <br>
      <br>
      <tt style="font-size: 15px">payto://x-taler-bank/[bank-hostname]/[receiver-username]?message=[subject]&amount=[{{ currency }}:X.Y]</tt>
      </p>
        <form action="{{ url('payto-transfer') }}"
              method="POST"
              name="payto-form">
        <input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" />
        <input name="address"
	       size="90"
               placeholder={{ _("payto address") }}
               pattern="payto://x-taler-bank/[a-z\.]+(:[0-9]+)?/[0-9a-zA-Z]+\?message=[a-zA-Z0-9 ]+&amount={{ currency }}:[0-9]+(\.[0-9]+)?" />
        <input class="pure-button pure-button-primary"
               type="submit"
               value={{ _("Confirm") }} />
      </form>
    </div>
    </article>
  </section>
{% endblock %}