diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-25 18:22:27 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-25 18:22:27 +0200 |
commit | 29f9dc8fb3396b03d732ebcbeb1cc8f00fe13897 (patch) | |
tree | f2a910cbea747a7b0c0a50d6c66691e54f5ef47f /module/web/templates/default/login.html | |
parent | merged gui (diff) | |
download | pyload-29f9dc8fb3396b03d732ebcbeb1cc8f00fe13897.tar.xz |
new dirs
Diffstat (limited to 'module/web/templates/default/login.html')
-rw-r--r-- | module/web/templates/default/login.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html new file mode 100644 index 000000000..7ae78183b --- /dev/null +++ b/module/web/templates/default/login.html @@ -0,0 +1,38 @@ +{% extends 'default/base.html' %} +{% load i18n %} +{% load token %} + +{% block title %}{% trans "Login" %} - {{block.super}} {% endblock %} + +{% block content %} + +<div class="centeralign"> +<form action="" method="post" accept-charset="utf-8" id="login"> + {% csrf_token %} + <div class="no"> + <input type="hidden" name="do" value="login" /> + <fieldset> + <legend>Login</legend> + <label> + <span>{% trans "Username" %}</span> + {{ form.username }} + </label> + <br /> + <label> + <span>{% trans "Password" %}</span> + {{ form.password }} + </label> + <br /> + <input type="submit" value="Login" class="button" /> + </fieldset> + </div> +</form> + +{% if form.errors %} +<p>{% trans "Your username and password didn't match. Please try again." %}</p> +{% endif %} + +</div> +<br> + +{% endblock %} |