From 6555e70ded458178ed5601036fbd2ef0bcc4eb1d Mon Sep 17 00:00:00 2001 From: llj Date: Fri, 23 Mar 2012 14:50:19 +0800 Subject: [PATCH] modified seafadmin --- templates/myhome_base.html | 2 +- templates/repos.html | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/templates/myhome_base.html b/templates/myhome_base.html index 2398ba639f..d6ac1f70f7 100644 --- a/templates/myhome_base.html +++ b/templates/myhome_base.html @@ -6,7 +6,7 @@ {% if request.user.is_staff %}
  • - 目录管理 + 目录管理
  • 用户管理 diff --git a/templates/repos.html b/templates/repos.html index ec7898d07b..02455f3ba2 100644 --- a/templates/repos.html +++ b/templates/repos.html @@ -1,9 +1,10 @@ {% extends "myhome_base.html" %} + {% block nav_seafadmin_class %}class="cur"{% endblock %} {% block right_panel %} -

    所有同步目录

    - +{% if repos %} +
    @@ -17,7 +18,7 @@ - + {% endfor %}
    名字 拥有者{{ repo.owner}} {{ repo.props.id }} {{ repo.props.desc }}删除
    @@ -46,4 +47,20 @@ 100 {% endif %} +{% else %} +

    暂无

    +{% endif %} {% endblock %} + +{% block extra_script %} + +{% endblock %} +