diff --git a/templates/set/filter.html b/templates/set/filter.html new file mode 100644 index 0000000..65c3343 --- /dev/null +++ b/templates/set/filter.html @@ -0,0 +1,87 @@ +
+
+ +
+ Status + +
+
+
+ +
+ Theme + +
+
+ {% if brickset_owners | length %} +
+ +
+ Owner + +
+
+ {% endif %} + {% if brickset_storages | length %} +
+ +
+ Storage + +
+
+ {% endif %} + {% if brickset_tags | length %} +
+ +
+ Tag + +
+
+ {% endif %} +
diff --git a/templates/set/sort.html b/templates/set/sort.html new file mode 100644 index 0000000..09f31f0 --- /dev/null +++ b/templates/set/sort.html @@ -0,0 +1,25 @@ +
+
+
+ Sort + + + + + + + + + +
+
+
diff --git a/templates/sets.html b/templates/sets.html index 60101b5..5af93c9 100644 --- a/templates/sets.html +++ b/templates/sets.html @@ -9,7 +9,7 @@
- Search + Search
@@ -28,118 +28,8 @@ -
-
-
- Sort - - - - - - - - - -
-
-
-
-
- -
- Status - -
-
-
- -
- Theme - -
-
- {% if brickset_owners | length %} -
- -
- Owner - -
-
- {% endif %} - {% if brickset_storages | length %} -
- -
- Storage - -
-
- {% endif %} - {% if brickset_tags | length %} -
- -
- Tag - -
-
- {% endif %} -
+ {% include 'set/sort.html' %} + {% include 'set/filter.html' %}
{% for item in collection %}