diff --git a/seahub/templates/base_for_backbone.html b/seahub/templates/base_for_backbone.html index cd78a90f82..2b0372ceec 100644 --- a/seahub/templates/base_for_backbone.html +++ b/seahub/templates/base_for_backbone.html @@ -107,7 +107,7 @@ {% block inst_admin %}{% endblock %} {% endif %} - + {% endif %} @@ -117,13 +117,15 @@
- {% block left_panel %}{% endblock %} +
{% block right_panel %}{% endblock %}
- {% block main_panel %} {% endblock %} +
+ +
@@ -131,6 +133,19 @@
+ +
+ +
+

{% trans "Welcome to Seafile!" %}

+ {% if user.permissions.can_add_repo %} +

{% trans "Seafile organizes files into libraries. Each library can be synced and shared separately. We have created a personal library for you. You can create more libraries later." %}

+ {% else %} +

{% trans "Seafile organizes files into libraries. Each library can be synced and shared separately. Howerver, since you are a guest user now, you can not create libraries." %}

+ {% endif %} + +
+
{% include 'footer.html' %} diff --git a/seahub/templates/js/dir-view.html b/seahub/templates/js/dir-view.html index 60e0490184..67a8642be4 100644 --- a/seahub/templates/js/dir-view.html +++ b/seahub/templates/js/dir-view.html @@ -1,5 +1,5 @@ {% load i18n %} -
+ diff --git a/seahub/templates/libraries.html b/seahub/templates/libraries.html index d91dd599ab..f610625741 100644 --- a/seahub/templates/libraries.html +++ b/seahub/templates/libraries.html @@ -4,113 +4,98 @@ {% block sub_title %}{% trans "Libraries" %} - {% endblock %} -{% block main_panel %} -
- -
-{% endblock %} - -{% block left_panel %} -
-{% endblock %} - {% block right_panel %} - {% if user.permissions.can_add_repo %} -
-
-

{% trans "Mine" %}

- -
- - - -
-
-

{% trans "You have not created any libraries" %}

-

{% trans "You can create a library to organize your files. For example, you can create one for each of your projects. Each library can be synchronized and shared separately." %}

-
- -

+{% endblock %} + +{% block extra_script %} + -
-

{% trans "Devices" %}

+ -
- -
-

{% trans "Welcome to Seafile!" %}

- {% if user.permissions.can_add_repo %} -

{% trans "Seafile organizes files into libraries. Each library can be synced and shared separately. We have created a personal library for you. You can create more libraries later." %}

- {% else %} -

{% trans "Seafile organizes files into libraries. Each library can be synced and shared separately. Howerver, since you are a guest user now, you can not create libraries." %}

+ + + + + -
- - -
-
-

{% trans "Organization" %}

- {% if can_add_pub_repo %} - - {% endif %} -
- - - + - {% if user.permissions.can_add_group %} - {% csrf_token %} -

{% trans "New Group" %}

-
-
-

- - - {% endif %} - + + + {% include "js/dir-view.html" %} -{% endblock %} - -{% block extra_script %} {% include "js/lib-op-popups.html" %}