1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-16 14:08:12 +00:00
seahub/templates/decrypt_repo_form.html
2012-10-30 20:38:37 +08:00

24 lines
1.2 KiB
HTML

{% extends base_template %}
{% load i18n %}
{% 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">
<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>
<form action="{{ SITE_ROOT }}repo/{{ repo.id }}/?next={{ next }}" method="post">
<label>{% trans "Password: " %}</label>
<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" />
<input type="submit" value="{% trans "Submit" %}" />
{% for error in form.errors.values %}
<p class="error">{{ error|escape }}</p>
{% endfor %}
</form>
</div>
</div>
</div>
{% endblock %}