diff --git a/views/components/filters/artist.ejs b/views/components/filters/artist.ejs new file mode 100644 index 0000000..4d806a5 --- /dev/null +++ b/views/components/filters/artist.ejs @@ -0,0 +1,11 @@ +
+ + +
\ No newline at end of file diff --git a/views/components/filters/format.ejs b/views/components/filters/format.ejs new file mode 100644 index 0000000..19ec703 --- /dev/null +++ b/views/components/filters/format.ejs @@ -0,0 +1,11 @@ +
+ + +
diff --git a/views/components/filters/genre.ejs b/views/components/filters/genre.ejs new file mode 100644 index 0000000..6a8eed9 --- /dev/null +++ b/views/components/filters/genre.ejs @@ -0,0 +1,12 @@ + +
+ + +
\ No newline at end of file diff --git a/views/components/filters/index.ejs b/views/components/filters/index.ejs new file mode 100644 index 0000000..559a47b --- /dev/null +++ b/views/components/filters/index.ejs @@ -0,0 +1,18 @@ +
+ <%- include('./artist') %> + <%- include('./format') %> + <%- include('./sort') %> +
+ +
+ <%- include('./year') %> + <%- include('./genre') %> + <%- include('./style') %> +
+ + + + + + + \ No newline at end of file diff --git a/views/components/filters/sort.ejs b/views/components/filters/sort.ejs new file mode 100644 index 0000000..87588e3 --- /dev/null +++ b/views/components/filters/sort.ejs @@ -0,0 +1,15 @@ +
+ + +
\ No newline at end of file diff --git a/views/components/filters/style.ejs b/views/components/filters/style.ejs new file mode 100644 index 0000000..f62f044 --- /dev/null +++ b/views/components/filters/style.ejs @@ -0,0 +1,11 @@ +
+ + +
\ No newline at end of file diff --git a/views/components/filters/year.ejs b/views/components/filters/year.ejs new file mode 100644 index 0000000..3de4631 --- /dev/null +++ b/views/components/filters/year.ejs @@ -0,0 +1,11 @@ +
+ + +
\ No newline at end of file diff --git a/views/pages/collection.ejs b/views/pages/collection.ejs index 3272d8b..ec2e051 100644 --- a/views/pages/collection.ejs +++ b/views/pages/collection.ejs @@ -3,86 +3,7 @@ Collection de <%= page.username %> -
-
- - -
-
- - -
-
- - -
-
- -
-
- - -
-
- - -
-
- - -
-
- - - - - - - + <%- include('../components/filters/index') %>
diff --git a/views/pages/mon-compte/ma-collection/index.ejs b/views/pages/mon-compte/ma-collection/index.ejs index c061d9a..5598746 100644 --- a/views/pages/mon-compte/ma-collection/index.ejs +++ b/views/pages/mon-compte/ma-collection/index.ejs @@ -7,86 +7,8 @@ Voir ma collection partagée -
-
- - -
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
- - -
-
- - - - - - - + <%- include('../../../components/filters/index') %>