diff --git a/media/css/seahub.css b/media/css/seahub.css index 5cbb494dce..b129892dc9 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -3191,9 +3191,13 @@ button.sf-dropdown-toggle:focus { border-bottom:1px solid #e8e8e8; } #wiki-page-list { - line-height:1.8; margin-top:1.6em; } +.wiki-page-list-item { + word-break:break-all; + line-height:1.6; + margin:3px 0; +} .wiki-page-link, .wiki-page-link:hover { font-size:1.15em; @@ -3202,11 +3206,11 @@ button.sf-dropdown-toggle:focus { margin-left:5px; } #wiki-area { - padding: 30px 0 0; + padding:30px 0 0; } #wiki-last-modified, #wiki-page-last-modified { - margin-top: 10px; + margin-top:40px; font-size:12px; color: #666; } diff --git a/seahub/templates/home_base.html b/seahub/templates/home_base.html index 7acce56c91..0060651824 100644 --- a/seahub/templates/home_base.html +++ b/seahub/templates/home_base.html @@ -53,17 +53,30 @@ {% trans "Invite People" %} {% endif %} - -

{% trans "Share Admin" %}

- - {% endblock %} @@ -100,5 +113,11 @@ $('#group-nav a:first').on('click', function() { $('#group-nav .grp-list').slideToggle(); return false; }); +$('#share-admin-nav').on('click', 'a:first', function() { + var $shareAdmin = $('#share-admin-nav'); + $('.toggle-icon', $shareAdmin).toggleClass('icon-caret-left icon-caret-down'); + $('ul', $shareAdmin).slideToggle(250); + return false; +}); {% endblock %} diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index b5f22ab18c..633a49884b 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -1401,8 +1401,12 @@ {% endif %}
  • - {% trans "Share Admin" %} + {% trans "Share Admin" %} + <% if (show_share_admin) { %> +