diff options
author | 2012-08-12 19:52:01 +0200 | |
---|---|---|
committer | 2012-08-12 19:52:01 +0200 | |
commit | d52fb0f7b6d0700ed43f715cf9abf3ae6e1b223c (patch) | |
tree | 4b6fbeb9949f35acfb3ca525ce0da2099b89634a /module/web/templates | |
parent | added login (diff) | |
download | pyload-d52fb0f7b6d0700ed43f715cf9abf3ae6e1b223c.tar.xz |
added login.html
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/login.html | 34 |
1 files changed, 34 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..914ec6f16 --- /dev/null +++ b/module/web/templates/default/login.html @@ -0,0 +1,34 @@ +{% extends 'default/base.html' %} + +{% block title %}{{_("Login")}} - {{super()}} {% endblock %} + +{% block content %} + +<div class="login"> + <div class="login_title"> + {{_("Login")}} + </div> + <form action="" method="post" accept-charset="utf-8" id="login"> + <input type="hidden" name="do" value="login" /> + <div class="login_user"> + <span>{{_("Username")}}</span> + <input type="text" size="20" name="username" /> + </div> + <div class="login_password"> + <span>{{_("Password")}}</span> + <input type="password" size="20" name="password" /> + </div> + <div class="login_submit"> + <input type="submit" value="Login" class="button" /> + </div> + </form> +</div> + + +{% if errors %} +<p>{{_("Your username and password didn't match. Please try again.")}}</p> + {{ _("To reset your login data or add an user run:") }} <b> python pyLoadCore.py -u</b> +{% endif %} + + +{% endblock %}
\ No newline at end of file |