Statistics
| Branch: | Tag: | Revision:

root / templates / login.html @ 064ecc91

History | View | Annotate | Download (1.2 kB)

1
{% extends "base.html" %}
2
{% load i18n %}
3
{% block title %}{% trans "Login" %}{% endblock %}
4
{% block brcrmb_container %}{% endblock %}
5
{% block content %}
6
<div id="welcome">
7
<h3>{% trans "Welcome" %}</h3>
8
{% blocktrans %}
9
<p>Welcome to GRNET's ViMa service.</p>
10
<p>If you are new to the service, take some time to read the service description <a href="/about/info">here</a> and then register for a new account.</p>
11
<p>If you already have an account, you can log in using the form on the right.</p>
12
<p>For troubleshooting info and remarks do not hesitate to contact GRNET's Helpdesk.</p>
13
{% endblocktrans %}</p>
14
</div>
15

    
16
<div id="loginform">
17
<h3>{% trans "Login" %}</h3>
18
{% if form.errors %}
19
<p  class="error" style="color:red">{% trans "Your username and password didn't match. Please try again." %}</p>
20
{% endif %}
21

    
22
<form method="post" action="{% url login %}">
23
{% csrf_token %}
24
<table>
25
<tr>
26
    <td>{{ form.username.label_tag }}</td>
27
    <td>{{ form.username }}</td>
28
</tr>
29
<tr>
30
    <td>{{ form.password.label_tag }}</td>
31
    <td>{{ form.password }}</td>
32
</tr>
33
</table>
34

    
35
<input type="submit" value="{% trans "Login" %}" />
36
<input type="hidden" name="next" value="/" />
37
</form>
38
</div>
39
{% endblock %}