mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-14 19:00:23 +00:00
56 lines
1.3 KiB
HTML
56 lines
1.3 KiB
HTML
{% extends "myhome_base.html" %}
|
|
|
|
{% block left_panel %}
|
|
<h3>已用空间</h3>
|
|
{{ quota_usage|filesizeformat }} / 4 GB
|
|
{% endblock %}
|
|
|
|
|
|
{% block right_panel %}
|
|
|
|
{% if not user.user_id %}
|
|
<div class="notification">
|
|
你还没有绑定 Ccnet/Seafile 公钥 ID, 现在<a href="{{ SITE_ROOT }}profile/edit/">绑定</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<h3>我的同步目录</h3>
|
|
<table class="repo-list default">
|
|
<tr>
|
|
<th>名字</th>
|
|
<th>ID</th>
|
|
<th>描述</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
|
|
{% for repo in owned_repos %}
|
|
<tr>
|
|
<td><a href="{{ SITE_ROOT }}repo/{{ repo.props.id }}">{{ repo.props.name }}</a></td>
|
|
<td>{{ repo.props.id }}</td>
|
|
<td>{{ repo.props.desc }}</td>
|
|
<td><a href="{{ SITE_ROOT }}repo/remove/{{ repo.props.id }}/">删除</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<h3>我用过的同步目录</h3>
|
|
<table class="repo-list default">
|
|
<tr>
|
|
<th>名字</th>
|
|
<th>ID</th>
|
|
<th>描述</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
|
|
{% for repo in fetched_repos %}
|
|
<tr>
|
|
<td><a href="{{ SITE_ROOT }}repo/{{ repo.props.id }}">{{ repo.props.name }}</a></td>
|
|
<td>{{ repo.props.id }}</td>
|
|
<td>{{ repo.props.desc }}</td>
|
|
<td><a href="{{ SITE_ROOT }}repo/remove/{{ repo.props.id }}/">删除</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|