diff --git a/media/css/seahub.css b/media/css/seahub.css index d59d92ef27..5b0fe3a788 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -650,7 +650,7 @@ textarea:-moz-placeholder {/* for FF */ position:fixed; top:52px; bottom:0; - z-index:1000; + z-index:1; padding:20px; overflow-x:hidden; overflow-y:auto; @@ -776,7 +776,7 @@ textarea:-moz-placeholder {/* for FF */ box-shadow: 0 2px 4px rgba(0,0,0,0.2); -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2); - z-index:15; /* for repo.html: to show on top of fixed-hd */ + z-index:999; /* for repo.html: to show on top of fixed-hd */ } .messages .info { padding:5px; @@ -1302,15 +1302,16 @@ button.sf-dropdown-toggle:focus { } /********** container ***********/ #wrapper { - padding-top: 53px; + } #header { background:#f4f4f7; width:100%; + height:53px; font-size: 14px; border-bottom: 1px solid #e8e8e8; padding-bottom:4px; - z-index:1000; /* fix for: modal dialog z-index is 1001 */ + z-index:1; /* fix for: modal dialog z-index is 1001 */ } #header-inner { margin:0 auto; @@ -1319,6 +1320,12 @@ button.sf-dropdown-toggle:focus { min-height: 400px; _height: 400px; } +#main.top-padding { + padding-top:53px; +} +#wide-panel-noframe { + padding-top:16px; +} #right-panel { padding-top:16px; margin-bottom:20px; diff --git a/seahub/api2/templates/api2/base.html b/seahub/api2/templates/api2/base.html deleted file mode 100644 index f8e1353fc6..0000000000 --- a/seahub/api2/templates/api2/base.html +++ /dev/null @@ -1,42 +0,0 @@ -{% load i18n %} - - - -
-{% trans "No activity now or the function is not supported." %}
- -{% endif %} -{% endblock %} - -{% block extra_script %} - -{% endblock %} diff --git a/seahub/api2/templates/api2/events_body.html b/seahub/api2/templates/api2/events_body.html deleted file mode 100644 index eda96f3c6c..0000000000 --- a/seahub/api2/templates/api2/events_body.html +++ /dev/null @@ -1,29 +0,0 @@ -{% load seahub_tags avatar_tags i18n %} - -{% for e_group in event_groups %} -- {{ e.repo.name }} - {{ e.desc|translate_commit_desc|safe }} -
- {% endif %} - - {% if e.etype == "repo-create" %} -{% trans "Created library" %} {{ e.repo_name }}
- {% endif %} - - {% if e.etype == "repo-delete" %} -{% blocktrans with library_name=e.repo_name %}Deleted library {{ library_name }}{% endblocktrans %}
- {% endif %} - -{{ e.time|translate_seahub_time }}
-' + $.parseJSON(jqXHR.responseText).err + '
'); - } else { - $('.txt', item).append('' + "{% trans "Please check the network." %}" + '
'); - } - } - }); - } else { - location.href = url; - } -} - -setCmtWidth(); -$('.event-item').click(itemClick); - -{% if events_more %} - $('#events').data('more', true).data('start', {{events_more_offset}}); -{% else %} - $('#events').data('more', false); -{% endif %} -// get more events when scroll to the bottom -$(document).scroll(function() { - - if ($('#events').data('more') && $(window).height() + $(window).scrollTop() == $(document).height()) { - reqEvents($('#events').data('start')); - } -}); diff --git a/seahub/api2/templates/api2/user_msg.html b/seahub/api2/templates/api2/user_msg.html deleted file mode 100644 index 4692a93c41..0000000000 --- a/seahub/api2/templates/api2/user_msg.html +++ /dev/null @@ -1,15 +0,0 @@ -{% load seahub_tags avatar_tags i18n %} - -{{ msg.message|seahub_urlize|find_at|linebreaksbr }}
- -{{ msg.message|seahub_urlize|find_at|linebreaksbr }}
- {% if msg.attachments %} - - {% endif %} - -