2012-09-17 10:01:51 +00:00
{% extends base_template %}
2012-10-30 03:55:25 +00:00
{% load i18n %}
2012-09-17 10:01:51 +00:00
{% load url from future %}
{% block main_panel %}
< div class = "repo-file-list-outer-container" >
< div class = "repo-file-list-inner-container" >
< div class = "repo-file-list-not-show" >
2012-10-30 12:37:48 +00:00
< p class = "access-notice" > {% trans "This library is encrypted. Please input the password if you want to browse it online. And the password will be kept on the server for only 1 hour." %}< / p >
2012-09-26 12:44:15 +00:00
< form action = "{{ SITE_ROOT }}repo/{{ repo.id }}/?next={{ next }}" method = "post" >
2012-10-30 03:55:25 +00:00
< label > {% trans "Password: " %}< / label >
2012-09-17 10:01:51 +00:00
< input type = "hidden" name = "repo_id" value = "{{ repo.id }}" / >
< input type = "hidden" name = "username" value = "{{ request.user.username }}" / >
< input id = "id_password" type = "password" name = "password" maxlength = "64" / >
2012-10-30 03:55:25 +00:00
< input type = "submit" value = "{% trans " Submit " % } " / >
2012-09-17 10:01:51 +00:00
{% for error in form.errors.values %}
< p class = "error" > {{ error|escape }}< / p >
{% endfor %}
< / form >
< / div >
< / div >
< / div >
{% endblock %}