1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-12 22:49:15 +00:00
seahub/templates/sys_org_admin.html

65 lines
1.7 KiB
HTML
Raw Normal View History

2012-05-26 12:52:53 +00:00
{% extends "admin_base.html" %}
{% load seahub_tags %}
2012-06-20 11:39:21 +00:00
{% block nav_orgadmin_class %}class="cur"{% endblock %}
2012-05-26 12:52:53 +00:00
{% block right_panel %}
2012-06-20 11:39:21 +00:00
<h3>所有企业</h3>
{% if orgs %}
2012-05-26 12:52:53 +00:00
<table>
<tr>
2012-06-20 11:39:21 +00:00
<th width="20%">名字</th>
2012-09-04 09:15:19 +00:00
<th width="20%">域名前缀</th>
<th width="30%">创建者</th>
2012-05-26 12:52:53 +00:00
<th width="23%">创建时间</th>
<th width="7%">操作</th>
</tr>
2012-06-20 11:39:21 +00:00
{% for org in orgs %}
2012-05-26 12:52:53 +00:00
<tr>
2012-06-20 11:39:21 +00:00
<td>{{ org.org_name }}</td>
<td>{{ org.url_prefix }}</td>
<td>{{ org.creator }}</td>
<td>{{ org.ctime|tsstr_sec }}</td>
2012-09-04 09:15:19 +00:00
<td><a href="#" data="{{ SITE_ROOT}}org/remove/{{ org.org_id }}/" class="org-remove-btn op">删除</a></td>
2012-05-26 12:52:53 +00:00
</tr>
{% endfor %}
</table>
2012-06-20 11:39:21 +00:00
<!--
2012-05-26 12:52:53 +00:00
<div id="paginator">
{% if current_page != 1 %}
<a href="{{ SITE_ROOT }}groupadmin/?page={{ prev_page }}&per_page={{ per_page }}">上一页</a>
{% endif %}
{% if page_next %}
<a href="{{ SITE_ROOT }}groupadmin/?page={{ next_page }}&per_page={{ per_page }}">下一页</a>
{% endif %}
<span>每页:</span>
{% if per_page == 25 %}
<span> 25 </span>
{% else %}
<a href="{{ SITE_ROOT }}groupadmin/?per_page=25" class="per-page">25</a>
{% endif %}
{% if per_page == 50 %}
<span> 50 </span>
{% else %}
<a href="{{ SITE_ROOT }}groupadmin/?per_page=50" class="per-page">50</a>
{% endif %}
{% if per_page == 100 %}
<span> 100 </span>
{% else %}
<a href="{{ SITE_ROOT }}groupadmin/?per_page=100" class="per-page">100</a>
{% endif %}
</div>
2012-06-20 11:39:21 +00:00
-->
2012-05-26 12:52:53 +00:00
{% else %}
<p>暂无</p>
{% endif %}
{% endblock %}
{% block extra_script %}
<script type="text/javascript">
2012-06-20 11:39:21 +00:00
addConfirmTo($('.org-remove-btn'), '确定要删除该企业?');
2012-05-26 12:52:53 +00:00
</script>
{% endblock %}