]> git.ipfire.org Git - people/jschlag/pbs.git/blob - src/templates/login.html
Use autotools
[people/jschlag/pbs.git] / src / templates / login.html
1 {% extends "base-form2.html" %}
2
3 {% block title %}{{ _("Login") }}{% end block %}
4
5 {% block body %}
6 <div class="page-header">
7 <h1>{{ _("Login") }}</h1>
8 </div>
9
10 {% if failed %}
11 <div class="alert alert-block alert-error">
12 <h4 class="alert-heading">{{ _("Login failed!") }}</h4>
13 {{ _("Username and/or password was wrong. Login failed.") }}
14 </div>
15 {% end %}
16
17 <form class="form-horizontal" method="POST" action="">
18 {% raw xsrf_form_html() %}
19
20 <fieldset>
21 <div class="control-group">
22 <label class="control-label" for="name">{{ _("Username") }}</label>
23 <div class="controls">
24 <input type="text" class="input-xlarge" id="name" name="name" />
25 </div>
26 </div>
27 <div class="control-group">
28 <label class="control-label" for="pass">{{ _("Password") }}</label>
29 <div class="controls">
30 <input type="password" class="input-xlarge" id="pass" name="pass" />
31 </div>
32 </div>
33 <div class="form-actions">
34 <button type="submit" class="btn btn-primary">{{ _("Login") }}</button>
35 </div>
36 </fieldset>
37 </form>
38
39 <hr>
40
41 <h3>{{ _("You also might want to...") }}</h3>
42 <ul>
43 <li>
44 <a href="/register">{{ _("Register a new account.") }}</a>
45 </li>
46 <li>
47 <a href="/password-recovery">{{ _("Recover your password.") }}</a>
48 </li>
49 </ul>
50 {% end %}