2012-09-17 10:01:51 +00:00
|
|
|
|
{% extends base_template %}
|
|
|
|
|
|
|
|
|
|
{% 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-09 06:38:13 +00:00
|
|
|
|
<p class="access-notice">该资料库已加密。如需在线查看里面的内容,请输入解密密码。密码只会在服务器上暂存1小时。</p>
|
2012-09-26 12:44:15 +00:00
|
|
|
|
<form action="{{ SITE_ROOT }}repo/{{ repo.id }}/?next={{ next }}" method="post">
|
2012-09-17 10:01:51 +00:00
|
|
|
|
<label>密码:</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-15 14:21:38 +00:00
|
|
|
|
<input type="submit" value="提交" />
|
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 %}
|
|
|
|
|
|
|
|
|
|
{% block extra_script %}
|
|
|
|
|
{% endblock %}
|