diff --git a/app/templates/book/collection_view.html b/app/templates/book/collection_view.html index 8d974d2..2484825 100644 --- a/app/templates/book/collection_view.html +++ b/app/templates/book/collection_view.html @@ -18,13 +18,21 @@ {% elif current_user.is_authenticated %} {% include 'book/modals/fork_version_modal.html' %} {% endif %} -
+
-

{{book.label}}

+

{{book.label}}

+ +
+ Editing a book is not available on mobile (yet). Please browse from your + desktop to access all the features. +
- -
{% endif %} -
+

{{book.label}} diff --git a/app/templates/book/components/sub_collection_preview_content.html b/app/templates/book/components/sub_collection_preview_content.html index a1edd06..ff8bb3d 100644 --- a/app/templates/book/components/sub_collection_preview_content.html +++ b/app/templates/book/components/sub_collection_preview_content.html @@ -3,7 +3,9 @@ {% for sub_collection in collection.active_children if not sub_collection.is_deleted%} -

+

{{ "#" * loop_index }} {{sub_collection.label}}

diff --git a/app/templates/book/components/sub_collection_tab_content_mobile.html b/app/templates/book/components/sub_collection_tab_content_mobile.html new file mode 100644 index 0000000..03d0e4f --- /dev/null +++ b/app/templates/book/components/sub_collection_tab_content_mobile.html @@ -0,0 +1,86 @@ + +
+ {% if collection.active_children %} + + + + {% for sub_collection in collection.active_children if not sub_collection.is_deleted%} +
+ +
+ + + + + +
+ + + + + + +
+ {% endfor %} + + {% else %} + +
+ + {% for section in collection.active_sections %} + {% include 'book/components/section_tab_content.html' %} + {% endfor %} +
+ {% endif %} +
diff --git a/app/templates/book/components/tab_content_slider.html b/app/templates/book/components/tab_content_slider.html index f94534d..1a08e4a 100644 --- a/app/templates/book/components/tab_content_slider.html +++ b/app/templates/book/components/tab_content_slider.html @@ -1,6 +1,6 @@ -
-
+
+
@@ -11,9 +11,7 @@