diff options
Diffstat (limited to 'src/main')
38 files changed, 22 insertions, 22 deletions
diff --git a/src/main/resources/cover/Bilbo Le Hobbit.jpg b/src/main/resources/cover/Bilbo Le Hobbit.jpg Binary files differnew file mode 100644 index 0000000..2720c16 --- /dev/null +++ b/src/main/resources/cover/Bilbo Le Hobbit.jpg diff --git a/src/main/resources/cover/Cherub.jpg b/src/main/resources/cover/Cherub.jpg Binary files differnew file mode 100644 index 0000000..6a4644e --- /dev/null +++ b/src/main/resources/cover/Cherub.jpg diff --git a/src/main/resources/cover/Cheval de guerre.jpg b/src/main/resources/cover/Cheval de guerre.jpg Binary files differnew file mode 100644 index 0000000..2b044c4 --- /dev/null +++ b/src/main/resources/cover/Cheval de guerre.jpg diff --git a/src/main/resources/cover/Cinder.jpg b/src/main/resources/cover/Cinder.jpg Binary files differnew file mode 100644 index 0000000..0ff5d37 --- /dev/null +++ b/src/main/resources/cover/Cinder.jpg diff --git a/src/main/resources/cover/Cinq petits cochons.jpg b/src/main/resources/cover/Cinq petits cochons.jpg Binary files differnew file mode 100644 index 0000000..9d118f2 --- /dev/null +++ b/src/main/resources/cover/Cinq petits cochons.jpg diff --git a/src/main/resources/cover/DIMILY.jpg b/src/main/resources/cover/DIMILY.jpg Binary files differnew file mode 100644 index 0000000..6376a34 --- /dev/null +++ b/src/main/resources/cover/DIMILY.jpg diff --git a/src/main/resources/cover/Divergente.jpg b/src/main/resources/cover/Divergente.jpg Binary files differnew file mode 100644 index 0000000..34f8b6f --- /dev/null +++ b/src/main/resources/cover/Divergente.jpg diff --git a/src/main/resources/cover/Ellana.jpg b/src/main/resources/cover/Ellana.jpg Binary files differnew file mode 100644 index 0000000..3c8c299 --- /dev/null +++ b/src/main/resources/cover/Ellana.jpg diff --git a/src/main/resources/cover/Eragon.jpg b/src/main/resources/cover/Eragon.jpg Binary files differnew file mode 100644 index 0000000..0f2ff43 --- /dev/null +++ b/src/main/resources/cover/Eragon.jpg diff --git a/src/main/resources/cover/EverWorld.gif b/src/main/resources/cover/EverWorld.gif Binary files differnew file mode 100644 index 0000000..b17001a --- /dev/null +++ b/src/main/resources/cover/EverWorld.gif diff --git a/src/main/resources/cover/EverWorld.jpg b/src/main/resources/cover/EverWorld.jpg Binary files differnew file mode 100644 index 0000000..8f40da6 --- /dev/null +++ b/src/main/resources/cover/EverWorld.jpg diff --git a/src/main/resources/cover/Fantastique Maître Renard.jpg b/src/main/resources/cover/Fantastique Maître Renard.jpg Binary files differnew file mode 100644 index 0000000..57f5dd3 --- /dev/null +++ b/src/main/resources/cover/Fantastique Maître Renard.jpg diff --git a/src/main/resources/cover/Frankenstein.jpg b/src/main/resources/cover/Frankenstein.jpg Binary files differnew file mode 100644 index 0000000..a578a84 --- /dev/null +++ b/src/main/resources/cover/Frankenstein.jpg diff --git a/src/main/resources/cover/Frigiel et Fluffy.jpg b/src/main/resources/cover/Frigiel et Fluffy.jpg Binary files differnew file mode 100644 index 0000000..ac41b62 --- /dev/null +++ b/src/main/resources/cover/Frigiel et Fluffy.jpg diff --git a/src/main/resources/cover/Gardiens des cités perdues.jpg b/src/main/resources/cover/Gardiens des cités perdues.jpg Binary files differnew file mode 100644 index 0000000..7c94b0b --- /dev/null +++ b/src/main/resources/cover/Gardiens des cités perdues.jpg diff --git a/src/main/resources/cover/Harry Potter.jpg b/src/main/resources/cover/Harry Potter.jpg Binary files differnew file mode 100644 index 0000000..d15a4eb --- /dev/null +++ b/src/main/resources/cover/Harry Potter.jpg diff --git a/src/main/resources/cover/Hunger Games.jpg b/src/main/resources/cover/Hunger Games.jpg Binary files differnew file mode 100644 index 0000000..7a5c9b9 --- /dev/null +++ b/src/main/resources/cover/Hunger Games.jpg diff --git a/src/main/resources/cover/Je veux vivre.jpg b/src/main/resources/cover/Je veux vivre.jpg Binary files differnew file mode 100644 index 0000000..0d176b6 --- /dev/null +++ b/src/main/resources/cover/Je veux vivre.jpg diff --git a/src/main/resources/cover/Journal d'un dégonflé.jpg b/src/main/resources/cover/Journal d'un dégonflé.jpg Binary files differnew file mode 100644 index 0000000..faada5f --- /dev/null +++ b/src/main/resources/cover/Journal d'un dégonflé.jpg diff --git a/src/main/resources/cover/Journal d'un noob.jpg b/src/main/resources/cover/Journal d'un noob.jpg Binary files differnew file mode 100644 index 0000000..20f7b0a --- /dev/null +++ b/src/main/resources/cover/Journal d'un noob.jpg diff --git a/src/main/resources/cover/Journal d'une grosse nouille.jpg b/src/main/resources/cover/Journal d'une grosse nouille.jpg Binary files differnew file mode 100644 index 0000000..4736744 --- /dev/null +++ b/src/main/resources/cover/Journal d'une grosse nouille.jpg diff --git a/src/main/resources/cover/Kiss.jpg b/src/main/resources/cover/Kiss.jpg Binary files differnew file mode 100644 index 0000000..af95c73 --- /dev/null +++ b/src/main/resources/cover/Kiss.jpg diff --git a/src/main/resources/cover/Le Bon Gros Géant.jpg b/src/main/resources/cover/Le Bon Gros Géant.jpg Binary files differnew file mode 100644 index 0000000..8ffad30 --- /dev/null +++ b/src/main/resources/cover/Le Bon Gros Géant.jpg diff --git a/src/main/resources/cover/Le Carnet d'Allie.jpg b/src/main/resources/cover/Le Carnet d'Allie.jpg Binary files differnew file mode 100644 index 0000000..f30850a --- /dev/null +++ b/src/main/resources/cover/Le Carnet d'Allie.jpg diff --git a/src/main/resources/cover/Le Crime de l'Orient-Express.jpg b/src/main/resources/cover/Le Crime de l'Orient-Express.jpg Binary files differnew file mode 100644 index 0000000..0c8ddb3 --- /dev/null +++ b/src/main/resources/cover/Le Crime de l'Orient-Express.jpg diff --git a/src/main/resources/cover/Le chien des Baskerville.jpg b/src/main/resources/cover/Le chien des Baskerville.jpg Binary files differnew file mode 100644 index 0000000..95b56ea --- /dev/null +++ b/src/main/resources/cover/Le chien des Baskerville.jpg diff --git a/src/main/resources/cover/Le journal d'Aurélie Laflamme.jpg b/src/main/resources/cover/Le journal d'Aurélie Laflamme.jpg Binary files differnew file mode 100644 index 0000000..e3a02f0 --- /dev/null +++ b/src/main/resources/cover/Le journal d'Aurélie Laflamme.jpg diff --git a/src/main/resources/cover/Le journal intime de Georgia Nicolson.jpg b/src/main/resources/cover/Le journal intime de Georgia Nicolson.jpg Binary files differnew file mode 100644 index 0000000..5a9f952 --- /dev/null +++ b/src/main/resources/cover/Le journal intime de Georgia Nicolson.jpg diff --git a/src/main/resources/cover/Les Colombes du Roi Soleil.jpg b/src/main/resources/cover/Les Colombes du Roi Soleil.jpg Binary files differnew file mode 100644 index 0000000..6f5b4c7 --- /dev/null +++ b/src/main/resources/cover/Les Colombes du Roi Soleil.jpg diff --git a/src/main/resources/cover/Les Héritiers d'Enkidiev.jpg b/src/main/resources/cover/Les Héritiers d'Enkidiev.jpg Binary files differnew file mode 100644 index 0000000..f1e751b --- /dev/null +++ b/src/main/resources/cover/Les Héritiers d'Enkidiev.jpg diff --git a/src/main/resources/cover/Les Héros de l'Olympe.jpg b/src/main/resources/cover/Les Héros de l'Olympe.jpg Binary files differnew file mode 100644 index 0000000..e8f87e9 --- /dev/null +++ b/src/main/resources/cover/Les Héros de l'Olympe.jpg diff --git a/src/main/resources/cover/Les aventures de Tom Sawyer.jpg b/src/main/resources/cover/Les aventures de Tom Sawyer.jpg Binary files differnew file mode 100644 index 0000000..9b54b3f --- /dev/null +++ b/src/main/resources/cover/Les aventures de Tom Sawyer.jpg diff --git a/src/main/resources/cover/Les filles au chocolat.jpg b/src/main/resources/cover/Les filles au chocolat.jpg Binary files differnew file mode 100644 index 0000000..2a91d41 --- /dev/null +++ b/src/main/resources/cover/Les filles au chocolat.jpg diff --git a/src/main/resources/cover/les carnets de Cerise.jpg b/src/main/resources/cover/les carnets de Cerise.jpg Binary files differnew file mode 100644 index 0000000..1667dc8 --- /dev/null +++ b/src/main/resources/cover/les carnets de Cerise.jpg diff --git a/src/main/resources/cover/À la Croisée des mondes.jpg b/src/main/resources/cover/À la Croisée des mondes.jpg Binary files differnew file mode 100644 index 0000000..8c7f9f8 --- /dev/null +++ b/src/main/resources/cover/À la Croisée des mondes.jpg diff --git a/src/main/resources/cover/À la poursuite d'Olympe.jpg b/src/main/resources/cover/À la poursuite d'Olympe.jpg Binary files differnew file mode 100644 index 0000000..da25320 --- /dev/null +++ b/src/main/resources/cover/À la poursuite d'Olympe.jpg diff --git a/src/main/scala/reading/Books.scala b/src/main/scala/reading/Books.scala index 7695b19..bb8f32b 100644 --- a/src/main/scala/reading/Books.scala +++ b/src/main/scala/reading/Books.scala @@ -45,7 +45,7 @@ object Books { ), Book( - title = "Les Filles au chocolat", + title = "Les filles au chocolat", author = "Cathy CASSIDY", year = "2011-2016", parts = 9, @@ -170,7 +170,7 @@ object Books { ), Book( - title = "Les Aventures de Tom Sawyer", + title = "Les aventures de Tom Sawyer", author = "Mark TWAIN", year = "1876", period = Some(Siecle19), @@ -181,7 +181,7 @@ object Books { ), Book( - title = "Carnets de Cerise", + title = "les carnets de Cerise", author = "Joris CHAMBLAIN et Aurélie NEYRET", year = "2012-2016", parts = 4, @@ -205,7 +205,7 @@ object Books { ), Book( - title = "Le Journal intime de Georgia NICOLSON", + title = "Le journal intime de Georgia Nicolson", author = "Louise RENNISON", year = "2000-2014", parts = 10, @@ -217,7 +217,7 @@ object Books { ), Book( - title = "Journal d’une grosse nouille", + title = "Journal d'une grosse nouille", author = "RR RUSSELL", year = "2012-2016", parts = 10, @@ -240,7 +240,7 @@ object Books { ), Book( - title = "A la Poursuite d’Olympe", + title = "À la poursuite d'Olympe", author = "Annie JAY", year = "1995", period = Some(Louis14), @@ -373,7 +373,7 @@ object Books { ), Book( - title = "Le Crime de l’Orient-Express", + title = "Le Crime de l'Orient-Express", author = "Agatha Christie", year = "1934", period = Some(Siecle20), @@ -417,7 +417,7 @@ object Books { ), Book( - title = "Le Chien des Baskerville", + title = "Le chien des Baskerville", author = "Arthur CONAN DOYLE", year = "1902", period = Some(Siecle20), @@ -510,7 +510,7 @@ object Books { ), Book( - title = "Harry POTTER", + title = "Harry Potter", author = "J.K ROWLING", year = "1999-2007", period = None, @@ -533,7 +533,7 @@ object Books { ), Book( - title = "Le Hobbit", + title = "Bilbo Le Hobbit", author = "J.R.R TOLKIEN", year = "1937", period = None, @@ -566,7 +566,7 @@ object Books { ), Book( - title = "A la Croisée des mondes", + title = "À la Croisée des mondes", author = "Philip PULLMAN", year = "1998-2001", period = None, @@ -600,7 +600,7 @@ object Books { ), Book( - title = "Les Héros de l’Olympe", + title = "Les Héros de l'Olympe", author = "Rick RIORDAN", year = "2010-2014", period = None, @@ -635,7 +635,7 @@ object Books { ), Book( - title = "Journal d’un noob", + title = "Journal d'un noob", author = "Cube Kid", year = "2016-2017", parts = 4, @@ -647,7 +647,7 @@ object Books { ), Book( - title = "Journal d’un dégonflé", + title = "Journal d'un dégonflé", author = "Jeff KINNEY", year = "2009-2016", parts = 10, @@ -703,7 +703,7 @@ object Books { ), Book( - title = "Les Héritiers d’Enkidiev", + title = "Les Héritiers d'Enkidiev", author = "Anne ROBILLARD", year = "2011-2016", period = None, @@ -826,7 +826,7 @@ object Books { ), Book( - title = "Le Journal d’Aurélie Laflamme", + title = "Le journal d'Aurélie Laflamme", author = "India DESJARDINS", year = "2013-2015", period = Some(Contemporain), @@ -884,7 +884,7 @@ object Books { ), Book( - title = "Gardiens des cites perdues", + title = "Gardiens des cités perdues", author = "Shannon MESSENGER", year = "2014-2016", parts = 4, diff --git a/src/main/scala/reading/component/index/Books.scala b/src/main/scala/reading/component/index/Books.scala index 19c1f99..79a7f07 100644 --- a/src/main/scala/reading/component/index/Books.scala +++ b/src/main/scala/reading/component/index/Books.scala @@ -34,12 +34,12 @@ object Books { src := s"cover/${book.title}.jpg" ), div( - div(BooksStyle.item, s"classe : ${book.programs.map(Program.grade).distinct.sorted.mkString(", ")}"), - div(BooksStyle.item, s"programme : ${book.programs.map(p => "« " ++ p.toString ++ " »").sorted.mkString(", ")}"), - div(BooksStyle.item, s"thème : ${book.themes.sorted.mkString(", ")}"), - div(BooksStyle.item, s"genre : ${book.genres.sorted.mkString(", ")}"), + div(BooksStyle.item, s"classe : ${book.programs.map(Program.grade).map(_.prettyPrint).distinct.sorted.mkString(", ")}"), + div(BooksStyle.item, s"programme : ${book.programs.map(p => "« " ++ p.prettyPrint ++ " »").sorted.mkString(", ")}"), + div(BooksStyle.item, s"thème : ${book.themes.sorted.map(_.prettyPrint).mkString(", ")}"), + div(BooksStyle.item, s"genre : ${book.genres.sorted.map(_.prettyPrint).mkString(", ")}"), book.period.map { period => - div(BooksStyle.item, s"période : $period") + div(BooksStyle.item, s"période : ${period.prettyPrint}") } ) ) |