diff --git a/media/img/loading-new.gif b/media/img/loading-new.gif new file mode 100644 index 0000000000..048fc86e91 Binary files /dev/null and b/media/img/loading-new.gif differ diff --git a/seahub/templates/js/lib-op-popups.html b/seahub/templates/js/lib-op-popups.html index 80a74c3bde..9da29c39b6 100644 --- a/seahub/templates/js/lib-op-popups.html +++ b/seahub/templates/js/lib-op-popups.html @@ -54,12 +54,12 @@

<%= form_title %>

{% trans "Current Library"%}
- + {% trans 'Loading...' %}
<% if (show_other_repos) { %>
{% trans "Other Libraries"%}
- +
<% } %> @@ -84,7 +84,7 @@
- {% upload_js %} + {% upload_js %}
diff --git a/seahub/templates/libraries.html b/seahub/templates/libraries.html index 39df5e870f..bb9c2052d2 100644 --- a/seahub/templates/libraries.html +++ b/seahub/templates/libraries.html @@ -20,6 +20,12 @@ {% endblock %} +{% block main_panel %} +
+ {% trans 'Loading...' %} +
+{% endblock %} + {% block left_panel %}
@@ -36,9 +42,7 @@ {% endblock %} {% block right_panel %} -
- {% trans 'Loading...' %} -
+
@@ -116,7 +120,7 @@
- {% trans 'Loading...' %} + {% trans 'Loading...' %}
@@ -133,7 +137,7 @@ - {% trans 'Loading...' %} + {% trans 'Loading...' %}

{% trans "You don't have any starred files yet" %}

{% blocktrans %}You can star important files by clicking the "Star" button on file viewing page, and they will be listed here.{% endblocktrans %}

@@ -158,7 +162,7 @@

{% trans "Choose a directory:" %}

- + {% trans 'Loading...' %}
@@ -200,7 +204,7 @@
- {% trans 'Loading...' %} + {% trans 'Loading...' %}
@@ -223,7 +227,7 @@ - + {% trans 'Loading...' %}

{% trans "No public library" %}

{% blocktrans %}You can create a public library by clicking "New Library" button, others can view and download this library.{% endblocktrans %}