mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-01 15:23:05 +00:00
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
{% 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">
|
||
<p class="access-notice">该目录已加密。如需在线查看里面的内容,请输入解密密码。密码只会在服务器上暂存1小时。</p>
|
||
<form action="{{ SITE_ROOT }}repo/{{ repo.id }}/" method="post">
|
||
<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" />
|
||
{% for error in form.errors.values %}
|
||
<p class="error">{{ error|escape }}</p>
|
||
{% endfor %}
|
||
<input type="submit" value="提交" />
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|
||
|
||
{% block extra_script %}
|
||
{% endblock %}
|