From 736a0afa44116b1cdb66053022e8d0c75ffbbf8c Mon Sep 17 00:00:00 2001 From: Damien Broqua Date: Fri, 15 Dec 2023 08:30:41 +0100 Subject: [PATCH] {WIP} Component for album details --- views/components/album.ejs | 133 +++++++++++++++++ views/pages/ajouter-un-album.ejs | 4 +- .../mon-compte/ma-collection/details.ejs | 134 +----------------- 3 files changed, 136 insertions(+), 135 deletions(-) create mode 100644 views/components/album.ejs diff --git a/views/components/album.ejs b/views/components/album.ejs new file mode 100644 index 0000000..b834a4d --- /dev/null +++ b/views/components/album.ejs @@ -0,0 +1,133 @@ +
+
+ +
+
+
+
+ Genres +
+ +
+
+ Styles +
+ + {{style}} + +
+
+
+
+
+ Pays +
+ {{item.country}} +
+
+ Année +
+ {{item.year}} +
+
+ Date de sortie +
+ {{item.released}} +
+
+
+
+
+ Format +
    +
  • + {{format.name}} + + +
  • +
+
+
+
+
+
+ Code barre +
    +
  1. + {{identifier.value}} ({{identifier.type}}) +
  2. +
+ +
+
+ Label +
    +
  1. + {{label.name}} {{label.catno}} +
  2. +
+ Société +
    +
  1. + {{company.entity_type_name}} {{company.name}} +
  2. +
+
+
+
+
+
+ Note +
+
+
+
+
+
+ Vidéos +
+ +
+
+
+
+
\ No newline at end of file diff --git a/views/pages/ajouter-un-album.ejs b/views/pages/ajouter-un-album.ejs index 1c29db2..f8f7c96 100644 --- a/views/pages/ajouter-un-album.ejs +++ b/views/pages/ajouter-un-album.ejs @@ -79,7 +79,7 @@
-
+
@@ -104,7 +104,7 @@
-
+
Genres diff --git a/views/pages/mon-compte/ma-collection/details.ejs b/views/pages/mon-compte/ma-collection/details.ejs index 0512dac..3b50b40 100644 --- a/views/pages/mon-compte/ma-collection/details.ejs +++ b/views/pages/mon-compte/ma-collection/details.ejs @@ -21,139 +21,7 @@

-
-
- -
-
-
-
- Genres -
- -
-
- Styles -
- - {{style}} - -
-
-
-
-
- Pays -
- {{item.country}} -
-
- Année -
- {{item.year}} -
-
- Date de sortie -
- {{item.released}} -
-
-
-
-
- Format -
    -
  • - {{format.name}} - - -
  • -
-
-
-
-
-
- Code barre -
    -
  1. - {{identifier.value}} ({{identifier.type}}) -
  2. -
- -
-
- Label -
    -
  1. - {{label.name}} {{label.catno}} -
  2. -
- Société -
    -
  1. - {{company.entity_type_name}} {{company.name}} -
  2. -
-
-
-
-
-
- Note -
-
-
-
-
-
- Vidéos -
- -
-
-
-
-
+ <%- include('../../../components/album.ejs') %>