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

45 lines
861 B
HTML
Raw Normal View History

2012-04-13 13:21:48 +08:00
{% extends "myhome_base.html" %}
{% block nav_useradmin_class %}class="cur"{% endblock %}
{% block left_panel %}
<ul>
<li><a href="{{ SITE_ROOT }}useradmin/add/">添加用户</a></li>
</ul>
{% endblock %}
{% block right_panel %}
2012-04-15 23:33:22 +08:00
<h3>{{ email }}的计算机:</h3>
2012-04-13 13:21:48 +08:00
<table class="user-list">
<tr>
<th width="60%">计算机名</th>
2012-04-13 13:21:48 +08:00
<th width="30%">角色</th>
<th width="10%">状态</th>
2012-04-13 13:21:48 +08:00
</tr>
2012-04-15 23:33:22 +08:00
{% for username, roles in user_dict.items %}
2012-04-13 13:21:48 +08:00
<tr>
2012-04-15 23:33:22 +08:00
{% if username %}
<td>{{ username }}</td>
{% else %}
<td>未知</td>
{% endif %}
2012-04-15 23:33:22 +08:00
{% if roles %}
<td>{{ roles }}</td>
2012-04-13 13:21:48 +08:00
<td>已验证</td>
{% else %}
2012-04-15 23:33:22 +08:00
<td></td>
2012-04-13 13:21:48 +08:00
<td>未验证</td>
{% endif %}
2012-04-15 23:33:22 +08:00
2012-04-13 13:21:48 +08:00
</tr>
{% endfor %}
</table>
{% endblock %}
{% block extra_script %}
{% endblock %}