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
|
<!DOCTYPE html>
<!--
This file is part of GNU TALER.
Copyright (C) 2014, 2015, 2016 INRIA
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
-->
{% extends "base.html" %}
{% load staticfiles %}
{% block headermsg %}
<h1 lang="en" class="nav">Welcome to the {{ currency }} Bank!</h1>
<h1 lang="it" class="nav">Banca {{ currency }} vi da il benvenuto!</h1>
{% endblock headermsg %}
{% block content %}
<aside class="sidebar" id="left">
</aside>
<section id="main">
{% if use_js %}
You are using the JavaScript version, try out the
<a href="{% url 'index' %}">JavaScript-less version!</a>
{% else %}
You are using the JavaScript-less version, try out the
<a href="{% url 'index' no_js='nojs'%}">JavaScript version!</a>
{% endif %}
<br>
<article>
<div class="login-form">
<h1 lang="en">Please login!</h1>
<h1 lang="it">Accedi!</h1>
{% if wrong %}
<p class="informational informational-fail">
Some fields were either not filled or filled incorrectly.
Please try again.
</p>
{% endif %}
{% if logged_out %}
<p class="informational informational-ok">
Successfully logged out!
</p>
{% endif %}
<table>
<form method="post" action="{% url 'login' %}">
{% csrf_token %}
<input type="text" name="username" placeholder="username" autofocus></input>
<input type="password" name="password" placeholder="password"></input>
<input type="submit" value="Ok"></input>
</form>
</table>
</div>
<p lang="en">
If you are a new customer, please <a href="{% url 'register' %}">register</a>.
Registration is fast and gratis, and it gives you a registration bonus
of 100 {{ currency }}!
</p>
<p lang="it">
Se sei un nuovo cliente, puoi <a href="{% url 'register' %}">registrarti</a>.
La registrazione è semplice e veloce, e ti regala un bonus di 100 {{ currency }}!
</p>
<p lang="en">
To view account histories for public accounts,
please <a href="/public-accounts">click here</a>.
</p>
<p lang="it">
Per vedere l'attività dei conti pubblici,
<a href="/public-accounts">clicca qui</a>.
</p>
</article>
</section>
{% endblock content %}
|