1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-17 06:27:28 +00:00
seahub/templates/decrypt_repo_form.html

24 lines
1.2 KiB
HTML
Raw Normal View History

{% extends base_template %}
2012-10-30 03:55:25 +00:00
{% 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">
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>
<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" %}" />
{% for error in form.errors.values %}
<p class="error">{{ error|escape }}</p>
{% endfor %}
</form>
</div>
</div>
</div>
{% endblock %}