From d37f8f68d8ead91071506d753a5de1a876c78967 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 2 Feb 2021 10:13:59 -0800 Subject: [PATCH] Adds user lists template --- bookwyrm/templates/user/lists.html | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 bookwyrm/templates/user/lists.html diff --git a/bookwyrm/templates/user/lists.html b/bookwyrm/templates/user/lists.html new file mode 100644 index 000000000..a006c92b1 --- /dev/null +++ b/bookwyrm/templates/user/lists.html @@ -0,0 +1,40 @@ +{% extends 'user/user_layout.html' %} + +{% block header %} +
+
+

+ {% if is_self %}Your + {% else %} + {% include 'snippets/username.html' with user=user %}'s + {% endif %} + Lists +

+
+ {% if is_self %} +
+ {% include 'snippets/toggle/open_button.html' with controls_text="create-list" icon="plus" text="Create new list" %} +
+ {% endif %} +
+{% endblock %} + + +{% block panel %} +
+ + + {% include 'lists/list_items.html' with lists=lists %} +
+
+ {% include 'snippets/pagination.html' with page=lists path=path %} +
+{% endblock %}