diff --git a/media/css/seahub.css b/media/css/seahub.css index 1bf182270b..bfc225055b 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -196,6 +196,9 @@ p { .icon-star { color:#505050; } +.edit-icon { + cursor:pointer; +} .op, .more { font-weight:normal; @@ -958,6 +961,9 @@ textarea:-moz-placeholder {/* for FF */ width:260px; margin-bottom:5px; } +.input-area { + height:80px; +} #repo-desc { height:70px; } @@ -1289,17 +1295,24 @@ textarea:-moz-placeholder {/* for FF */ display:block; padding:0 12px; } -#mv-form { +.file-choose-form { width:500px; padding:10px 20px; } -#mv-dir-list { +.file-tree-cont, .dir-tree-cont { padding:5px; height:280px; overflow:auto; border:1px solid #eee; margin:5px 0 10px; } +.file-tree-cont .jstree-leaf a ins.jstree-icon { + background: transparent url('../img/file-icon-16.png') no-repeat left center; + vertical-align:top; +} +.file-tree-cont .jstree-leaf[repo_id] a ins.jstree-icon { + background:transparent url('../jstree_pre1.0_stable/themes/classic/d.png') no-repeat scroll -56px -36px; +} #mv-dir-list .tri-bg { margin-right:20px; margin-bottom:3px; diff --git a/media/img/file-icon-16.png b/media/img/file-icon-16.png new file mode 100644 index 0000000000..9f39b0ee92 Binary files /dev/null and b/media/img/file-icon-16.png differ diff --git a/seahub/group/templates/group/group_discuss.html b/seahub/group/templates/group/group_discuss.html index 649911f9b0..1c200ff46a 100644 --- a/seahub/group/templates/group/group_discuss.html +++ b/seahub/group/templates/group/group_discuss.html @@ -15,6 +15,9 @@
  • {% trans "Libraries" %}
  • {% trans "Discussion" %}
  • {% trans "Wiki" %}
  • + {% if group.is_pub %} +
  • {% trans "Files" %}
  • + {% endif %} {% if group.view_perm != 'pub' %}
  • {% trans "Members" %}
  • {% endif %} diff --git a/seahub/group/templates/group/group_info.html b/seahub/group/templates/group/group_info.html index 97516dd473..39ac0ff662 100644 --- a/seahub/group/templates/group/group_info.html +++ b/seahub/group/templates/group/group_info.html @@ -16,6 +16,9 @@
  • {% trans "Libraries" %}
  • {% trans "Discussion" %}
  • {% trans "Wiki" %}
  • + {% if group.is_pub %} +
  • {% trans "Files" %}
  • + {% endif %}
  • {% trans "Members" %}
  • {% if is_staff %}
  • {% trans "Admin" %}
  • diff --git a/seahub/group/templates/group/group_info_for_pub.html b/seahub/group/templates/group/group_info_for_pub.html index a92318a65f..444a3d4a28 100644 --- a/seahub/group/templates/group/group_info_for_pub.html +++ b/seahub/group/templates/group/group_info_for_pub.html @@ -16,6 +16,7 @@
  • {% trans "Libraries" %}
  • {% trans "Discussion" %}
  • {% trans "Wiki" %}
  • +
  • {% trans "Files" %}
  • diff --git a/seahub/group/templates/group/group_manage.html b/seahub/group/templates/group/group_manage.html index 2f7b19c275..31604f5eb6 100644 --- a/seahub/group/templates/group/group_manage.html +++ b/seahub/group/templates/group/group_manage.html @@ -14,6 +14,9 @@
  • {% trans "Libraries" %}
  • {% trans "Discussion" %}
  • {% trans "Wiki" %}
  • + {% if group.is_pub %} +
  • {% trans "Files" %}
  • + {% endif %}
  • {% trans "Members" %}
  • {% trans "Admin" %}
  • @@ -36,7 +39,7 @@

    {% trans "Operations" %}