From 7cc43dba4387f340c7699b8c56c5bf70e4200714 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Tue, 22 Feb 2022 08:15:07 +0100 Subject: [PATCH] Added format description in my-collection view & fixed bug in list --- sass/index.scss | 1 - sass/list.scss | 16 ---------- views/pages/ajouter-un-album.ejs | 37 +++++++++++++++++------- views/pages/mon-compte/ma-collection.ejs | 15 ++++++++-- 4 files changed, 38 insertions(+), 31 deletions(-) delete mode 100644 sass/list.scss diff --git a/sass/index.scss b/sass/index.scss index 4ba329e..8c5e965 100644 --- a/sass/index.scss +++ b/sass/index.scss @@ -34,7 +34,6 @@ @import './toast'; @import './flash'; @import './pagination'; -@import './list'; @import './home'; @import './connexion'; diff --git a/sass/list.scss b/sass/list.scss deleted file mode 100644 index a93f11e..0000000 --- a/sass/list.scss +++ /dev/null @@ -1,16 +0,0 @@ -.items { - span { - margin-right: 0.6rem; - - &::after { - content: ","; - } - - &:last-child { - &::after { - margin-right: 0; - content: ""; - } - } - } -} \ No newline at end of file diff --git a/views/pages/ajouter-un-album.ejs b/views/pages/ajouter-un-album.ejs index 071c3c5..54c492b 100644 --- a/views/pages/ajouter-un-album.ejs +++ b/views/pages/ajouter-un-album.ejs @@ -25,16 +25,25 @@
Pays : {{ item.country }}
- - Format : {{ format }} + + Format : +
- - Genre : {{ genre }} + + Genre : +
- - Style : {{ style }} + + Style : + @@ -63,15 +72,19 @@
-
+
Genres
- {{genre}} +
-
+
Styles
- {{style}} + + {{style}} +

@@ -97,7 +110,9 @@
Format
- {{format.name}} + + {{format.name}} +

diff --git a/views/pages/mon-compte/ma-collection.ejs b/views/pages/mon-compte/ma-collection.ejs index 87b9d1d..71dd2dd 100644 --- a/views/pages/mon-compte/ma-collection.ejs +++ b/views/pages/mon-compte/ma-collection.ejs @@ -52,11 +52,20 @@
Pays : {{ item.country }}
- Format : {{ format.name }} + + Format : + + {{ format.name }} + () + + +
- Genre : {{ genre }} + Genre :
- Style : {{ style }} + Style :