diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html index 7cf41ad..e9362dd 100644 --- a/app/templates/auth/login.html +++ b/app/templates/auth/login.html @@ -1,7 +1,10 @@ {% extends "base.html" %} -{% block body %} +{% block title %}Login{% endblock %} + + +{% block body %}
diff --git a/app/templates/base.html b/app/templates/base.html index bb3d474..d03221a 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -2,13 +2,21 @@ - {{ config.APP_NAME }} + + {% block title %}{{ config.APP_NAME }}{% endblock %} + {% block meta %}{% endblock %} + + @@ -35,7 +43,7 @@ {% endblock %} - + {% include 'header.html' %} diff --git a/app/templates/book/all.html b/app/templates/book/all.html index 3305dd7..f787200 100644 --- a/app/templates/book/all.html +++ b/app/templates/book/all.html @@ -1,7 +1,9 @@ {% extends 'base.html' %} -{% block content %} +{% block title %}Books{% endblock %} + +{% block content %}
diff --git a/app/templates/book/collection_view.html b/app/templates/book/collection_view.html index 55f4325..74c5afc 100644 --- a/app/templates/book/collection_view.html +++ b/app/templates/book/collection_view.html @@ -12,6 +12,8 @@ {% include 'book/delete_section_modal.html' %} {% endif %} +{% block title %}{{book.label[:32]}}{% endblock %} + {% block content %}
diff --git a/app/templates/book/favorite_books.html b/app/templates/book/favorite_books.html index daf3235..2985b4f 100644 --- a/app/templates/book/favorite_books.html +++ b/app/templates/book/favorite_books.html @@ -1,8 +1,10 @@ {% extends 'base.html' %} {% set selected_tab='favorite_books' %} -{% block content %} +{% block title %}Favorite Books{% endblock %} + +{% block content %}
{% if not current_user.is_authenticated %} diff --git a/app/templates/book/interpretation_view.html b/app/templates/book/interpretation_view.html index 73cd16c..af63b30 100644 --- a/app/templates/book/interpretation_view.html +++ b/app/templates/book/interpretation_view.html @@ -7,6 +7,7 @@ {% endblock %} {% endif %} +{% block title %}{{section.label}}{% endblock %} {% block content %} {% include 'book/breadcrumbs_navigation.html'%} diff --git a/app/templates/book/my_contributions.html b/app/templates/book/my_contributions.html index 72185a8..e91a098 100644 --- a/app/templates/book/my_contributions.html +++ b/app/templates/book/my_contributions.html @@ -1,8 +1,10 @@ {% extends 'base.html' %} {% set selected_tab='my_contributions' %} -{% block content %} +{% block title %}My Contributions{% endblock %} + +{% block content %}
{% if not current_user.is_authenticated %} diff --git a/app/templates/book/my_library.html b/app/templates/book/my_library.html index b6816a9..e42209c 100644 --- a/app/templates/book/my_library.html +++ b/app/templates/book/my_library.html @@ -1,6 +1,9 @@ {% extends 'base.html' %} {% set selected_tab='my_library' %} + +{% block title %}My Library{% endblock %} + {% block content %} {% if current_user.is_authenticated %} @@ -110,7 +113,7 @@
{% endif %}
-
+
{% endblock %} diff --git a/app/templates/book/qa_view.html b/app/templates/book/qa_view.html index b10ccb1..a6ff49d 100644 --- a/app/templates/book/qa_view.html +++ b/app/templates/book/qa_view.html @@ -10,6 +10,7 @@ {% endblock %} {% endif %} +{% block title %}{{ section.label[:32] }}{% endblock %} {% block content %} {% include 'book/breadcrumbs_navigation.html'%} diff --git a/app/templates/book/settings.html b/app/templates/book/settings.html index f3a3272..845d37a 100644 --- a/app/templates/book/settings.html +++ b/app/templates/book/settings.html @@ -3,6 +3,9 @@ {% include 'book/add_contributor_modal.html' %} {% include 'book/delete_book_modal.html' %} + +{% block title %}Book Settings{% endblock %} + {% block content %} diff --git a/app/templates/book/stat.html b/app/templates/book/stat.html index 5253bc7..d4fea4c 100644 --- a/app/templates/book/stat.html +++ b/app/templates/book/stat.html @@ -1,5 +1,8 @@ {% extends 'base.html' %} + +{% block title %}Statistics{% endblock %} + {% block content %}
diff --git a/app/templates/book/sub_collection_view.html b/app/templates/book/sub_collection_view.html index 5d6d50f..2414509 100644 --- a/app/templates/book/sub_collection_view.html +++ b/app/templates/book/sub_collection_view.html @@ -14,6 +14,7 @@ {% include 'book/add_section_modal.html' %} {% endif %} +{% block title %}{{book.label[:32]}}{% endblock %} {% block right_sidebar %} {% include 'book/right_sidebar.html' %} diff --git a/app/templates/search/search_results_books.html b/app/templates/search/search_results_books.html index 9c603ef..5887dcb 100644 --- a/app/templates/search/search_results_books.html +++ b/app/templates/search/search_results_books.html @@ -1,5 +1,8 @@ {% extends 'base.html' %} + +{% block title %}Search results{% endblock %} + {% block content %}
@@ -10,9 +13,9 @@
-
    +
    • - + Interpretations diff --git a/app/templates/search/search_results_interpretations.html b/app/templates/search/search_results_interpretations.html index b1a8763..f11d76e 100644 --- a/app/templates/search/search_results_interpretations.html +++ b/app/templates/search/search_results_interpretations.html @@ -1,5 +1,8 @@ {% extends 'base.html' %} + +{% block title %}Search results{% endblock %} + {% block content %}
      @@ -10,9 +13,9 @@
      -
        +
        • - + Interpretations diff --git a/app/templates/search/search_results_tags.html b/app/templates/search/search_results_tags.html index 8d9f018..8138c8a 100644 --- a/app/templates/search/search_results_tags.html +++ b/app/templates/search/search_results_tags.html @@ -1,5 +1,8 @@ {% extends 'base.html' %} + +{% block title %}Search results{% endblock %} + {% block content %}
          @@ -10,9 +13,9 @@
          -
            +
            • - + Interpretations diff --git a/app/templates/search/search_results_users.html b/app/templates/search/search_results_users.html index 69cf4a4..d950b20 100644 --- a/app/templates/search/search_results_users.html +++ b/app/templates/search/search_results_users.html @@ -1,5 +1,8 @@ {% extends 'base.html' %} + +{% block title %}Search results{% endblock %} + {% block content %}
              @@ -10,9 +13,9 @@
              -
              Go to {{user.username}}'s library diff --git a/app/templates/search/tag_search_results_books.html b/app/templates/search/tag_search_results_books.html index 5cca0f4..6324f1a 100644 --- a/app/templates/search/tag_search_results_books.html +++ b/app/templates/search/tag_search_results_books.html @@ -1,18 +1,21 @@ {% extends 'base.html' %} + +{% block title %}Tag search results{% endblock %} + {% block content %}
              -

              Search results

              +

              Tag search results

              - +
              -
                +
                • - + Interpretations diff --git a/app/templates/search/tag_search_results_interpretations.html b/app/templates/search/tag_search_results_interpretations.html index a33bf8e..fa2259e 100644 --- a/app/templates/search/tag_search_results_interpretations.html +++ b/app/templates/search/tag_search_results_interpretations.html @@ -1,18 +1,21 @@ {% extends 'base.html' %} + +{% block title %}Tag search results{% endblock %} + {% block content %}
                  -

                  Search results

                  +

                  Tag search results

                  - +
                  -
                    +
                    • - + Interpretations diff --git a/app/templates/section/all.html b/app/templates/section/all.html new file mode 100644 index 0000000..912249c --- /dev/null +++ b/app/templates/section/all.html @@ -0,0 +1,102 @@ + +{% extends 'base.html' %} + +{% block title %}Sections{% endblock %} + +{% block content %} +
                      + +
                      + +

                      Sections

                      +
                      + + +
                      + {% for section in sections %} + + +
                      +
                      + +
                      + +

                      {{ section.path }}

                      +
                      + + +

                      55

                      +
                      + + +

                      55

                      +
                      +
                      +
                      +
                      +
                      +
                      + + {% endfor %} +
                      + + {% if page.pages > 1 %} +
                      + +
                      + {% endif %} +
                      + + +{% endblock %} + +{% block scripts %} +{% endblock %} diff --git a/app/templates/user/edit_profile.html b/app/templates/user/edit_profile.html index c917710..d1d35b2 100644 --- a/app/templates/user/edit_profile.html +++ b/app/templates/user/edit_profile.html @@ -1,6 +1,9 @@ {% extends 'base.html' %} {% include 'user/delete_profile_modal.html' %} + +{% block title %}Edit Profile{% endblock %} + {% block content %}
                      diff --git a/app/templates/user/profile.html b/app/templates/user/profile.html index c06c568..a4df4ab 100644 --- a/app/templates/user/profile.html +++ b/app/templates/user/profile.html @@ -1,5 +1,9 @@ {% extends 'base.html' %} + +{% block title %}{{user.username.strip() + "'s profile" or user.wallet_id}}{% endblock %} + + {% block content %}
                      {% if user.is_deleted %} diff --git a/app/templates/user/reactivate.html b/app/templates/user/reactivate.html index 8510714..c73884d 100644 --- a/app/templates/user/reactivate.html +++ b/app/templates/user/reactivate.html @@ -1,6 +1,9 @@ {% extends 'base.html' %} {% include 'user/delete_profile_modal.html' %} + +{% block title %}Reactivate Profile{% endblock %} + {% block content %}