1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

Add missing user_id.html, and modify the profile page

This commit is contained in:
xiez
2012-04-05 12:03:03 +08:00
parent 63530f01ef
commit e872b72aba
2 changed files with 32 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
{% if profile_timestamp %}
<li><span class="bold">帐号文件:</span>您的加密后的帐号文件上传于{{ profile_timestamp }} <a href="{{ SITE_ROOT }}profile/download/?user_id={{ user_id }}">点此下载</a></li>
{% else %}
<li><span class="bold">帐号文件:</span>您的帐号文件还未上传,请在本地 seafile 界面 "帐号" 标签下上传</li>
<li><span class="bold">配置文件:</span>您的配置文件还未上传,如需上传,请在本地 seafile 界面 "帐号" 标签下上传</li>
{% endif %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,31 @@
{% extends "profile/profile_base.html" %}
{% block left_panel %}
<h3>操作</h3>
<ul>
<li><a href="{{ SITE_ROOT }}accounts/password/change/">修改网站帐号密码</a></li>
<li><a href="{{ SITE_ROOT}}profile/userids/">列出所有个人ID</a></li>
</ul>
{% endblock %}
{% block right_panel %}
<h2>所有个人ID</h2>
{% if userid_list %}
<table class="userid-list">
<tr>
<th>ID</th>
<th>操作</th>
</tr>
{% for user_id in userid_list %}
<tr>
<td>{{ user_id }}</td>
<td>查看详情</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>暂无</p>
{% endif %}
{% endblock %}