From 501d4ef57edb9e9c7744fd5c8162b716816f93e6 Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 20 Jan 2017 20:39:42 +0100 Subject: Add some covers --- src/main/resources/cover/Bilbo Le Hobbit.jpg | Bin 0 -> 54733 bytes src/main/resources/cover/Cherub.jpg | Bin 0 -> 220925 bytes src/main/resources/cover/Cheval de guerre.jpg | Bin 0 -> 60271 bytes src/main/resources/cover/Cinder.jpg | Bin 0 -> 82045 bytes src/main/resources/cover/Cinq petits cochons.jpg | Bin 0 -> 39487 bytes src/main/resources/cover/DIMILY.jpg | Bin 0 -> 40655 bytes src/main/resources/cover/Divergente.jpg | Bin 0 -> 50208 bytes src/main/resources/cover/Ellana.jpg | Bin 0 -> 40459 bytes src/main/resources/cover/Eragon.jpg | Bin 0 -> 59790 bytes src/main/resources/cover/EverWorld.gif | Bin 0 -> 229690 bytes src/main/resources/cover/EverWorld.jpg | Bin 0 -> 88383 bytes .../cover/Fantastique Ma\303\256tre Renard.jpg" | Bin 0 -> 109249 bytes src/main/resources/cover/Frankenstein.jpg | Bin 0 -> 20160 bytes src/main/resources/cover/Frigiel et Fluffy.jpg | Bin 0 -> 31563 bytes .../cover/Gardiens des cit\303\251s perdues.jpg" | Bin 0 -> 128293 bytes src/main/resources/cover/Harry Potter.jpg | Bin 0 -> 107884 bytes src/main/resources/cover/Hunger Games.jpg | Bin 0 -> 40522 bytes src/main/resources/cover/Je veux vivre.jpg | Bin 0 -> 152230 bytes .../cover/Journal d'un d\303\251gonfl\303\251.jpg" | Bin 0 -> 32444 bytes src/main/resources/cover/Journal d'un noob.jpg | Bin 0 -> 46790 bytes .../cover/Journal d'une grosse nouille.jpg | Bin 0 -> 59222 bytes src/main/resources/cover/Kiss.jpg | Bin 0 -> 67597 bytes .../resources/cover/Le Bon Gros G\303\251ant.jpg" | Bin 0 -> 66935 bytes src/main/resources/cover/Le Carnet d'Allie.jpg | Bin 0 -> 96649 bytes .../cover/Le Crime de l'Orient-Express.jpg | Bin 0 -> 110880 bytes .../resources/cover/Le chien des Baskerville.jpg | Bin 0 -> 55382 bytes .../Le journal d'Aur\303\251lie Laflamme.jpg" | Bin 0 -> 355442 bytes .../Le journal intime de Georgia Nicolson.jpg | Bin 0 -> 60259 bytes .../resources/cover/Les Colombes du Roi Soleil.jpg | Bin 0 -> 53133 bytes .../cover/Les H\303\251ritiers d'Enkidiev.jpg" | Bin 0 -> 32915 bytes .../cover/Les H\303\251ros de l'Olympe.jpg" | Bin 0 -> 228583 bytes .../cover/Les aventures de Tom Sawyer.jpg | Bin 0 -> 18302 bytes .../resources/cover/Les filles au chocolat.jpg | Bin 0 -> 60153 bytes src/main/resources/cover/les carnets de Cerise.jpg | Bin 0 -> 90201 bytes .../\303\200 la Crois\303\251e des mondes.jpg" | Bin 0 -> 38486 bytes .../cover/\303\200 la poursuite d'Olympe.jpg" | Bin 0 -> 35795 bytes src/main/scala/reading/Books.scala | 34 ++++++++++----------- src/main/scala/reading/component/index/Books.scala | 10 +++--- 38 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 src/main/resources/cover/Bilbo Le Hobbit.jpg create mode 100644 src/main/resources/cover/Cherub.jpg create mode 100644 src/main/resources/cover/Cheval de guerre.jpg create mode 100644 src/main/resources/cover/Cinder.jpg create mode 100644 src/main/resources/cover/Cinq petits cochons.jpg create mode 100644 src/main/resources/cover/DIMILY.jpg create mode 100644 src/main/resources/cover/Divergente.jpg create mode 100644 src/main/resources/cover/Ellana.jpg create mode 100644 src/main/resources/cover/Eragon.jpg create mode 100644 src/main/resources/cover/EverWorld.gif create mode 100644 src/main/resources/cover/EverWorld.jpg create mode 100644 "src/main/resources/cover/Fantastique Ma\303\256tre Renard.jpg" create mode 100644 src/main/resources/cover/Frankenstein.jpg create mode 100644 src/main/resources/cover/Frigiel et Fluffy.jpg create mode 100644 "src/main/resources/cover/Gardiens des cit\303\251s perdues.jpg" create mode 100644 src/main/resources/cover/Harry Potter.jpg create mode 100644 src/main/resources/cover/Hunger Games.jpg create mode 100644 src/main/resources/cover/Je veux vivre.jpg create mode 100644 "src/main/resources/cover/Journal d'un d\303\251gonfl\303\251.jpg" create mode 100644 src/main/resources/cover/Journal d'un noob.jpg create mode 100644 src/main/resources/cover/Journal d'une grosse nouille.jpg create mode 100644 src/main/resources/cover/Kiss.jpg create mode 100644 "src/main/resources/cover/Le Bon Gros G\303\251ant.jpg" create mode 100644 src/main/resources/cover/Le Carnet d'Allie.jpg create mode 100644 src/main/resources/cover/Le Crime de l'Orient-Express.jpg create mode 100644 src/main/resources/cover/Le chien des Baskerville.jpg create mode 100644 "src/main/resources/cover/Le journal d'Aur\303\251lie Laflamme.jpg" create mode 100644 src/main/resources/cover/Le journal intime de Georgia Nicolson.jpg create mode 100644 src/main/resources/cover/Les Colombes du Roi Soleil.jpg create mode 100644 "src/main/resources/cover/Les H\303\251ritiers d'Enkidiev.jpg" create mode 100644 "src/main/resources/cover/Les H\303\251ros de l'Olympe.jpg" create mode 100644 src/main/resources/cover/Les aventures de Tom Sawyer.jpg create mode 100644 src/main/resources/cover/Les filles au chocolat.jpg create mode 100644 src/main/resources/cover/les carnets de Cerise.jpg create mode 100644 "src/main/resources/cover/\303\200 la Crois\303\251e des mondes.jpg" create mode 100644 "src/main/resources/cover/\303\200 la poursuite d'Olympe.jpg" diff --git a/src/main/resources/cover/Bilbo Le Hobbit.jpg b/src/main/resources/cover/Bilbo Le Hobbit.jpg new file mode 100644 index 0000000..2720c16 Binary files /dev/null and b/src/main/resources/cover/Bilbo Le Hobbit.jpg differ diff --git a/src/main/resources/cover/Cherub.jpg b/src/main/resources/cover/Cherub.jpg new file mode 100644 index 0000000..6a4644e Binary files /dev/null and b/src/main/resources/cover/Cherub.jpg differ diff --git a/src/main/resources/cover/Cheval de guerre.jpg b/src/main/resources/cover/Cheval de guerre.jpg new file mode 100644 index 0000000..2b044c4 Binary files /dev/null and b/src/main/resources/cover/Cheval de guerre.jpg differ diff --git a/src/main/resources/cover/Cinder.jpg b/src/main/resources/cover/Cinder.jpg new file mode 100644 index 0000000..0ff5d37 Binary files /dev/null and b/src/main/resources/cover/Cinder.jpg differ diff --git a/src/main/resources/cover/Cinq petits cochons.jpg b/src/main/resources/cover/Cinq petits cochons.jpg new file mode 100644 index 0000000..9d118f2 Binary files /dev/null and b/src/main/resources/cover/Cinq petits cochons.jpg differ diff --git a/src/main/resources/cover/DIMILY.jpg b/src/main/resources/cover/DIMILY.jpg new file mode 100644 index 0000000..6376a34 Binary files /dev/null and b/src/main/resources/cover/DIMILY.jpg differ diff --git a/src/main/resources/cover/Divergente.jpg b/src/main/resources/cover/Divergente.jpg new file mode 100644 index 0000000..34f8b6f Binary files /dev/null and b/src/main/resources/cover/Divergente.jpg differ diff --git a/src/main/resources/cover/Ellana.jpg b/src/main/resources/cover/Ellana.jpg new file mode 100644 index 0000000..3c8c299 Binary files /dev/null and b/src/main/resources/cover/Ellana.jpg differ diff --git a/src/main/resources/cover/Eragon.jpg b/src/main/resources/cover/Eragon.jpg new file mode 100644 index 0000000..0f2ff43 Binary files /dev/null and b/src/main/resources/cover/Eragon.jpg differ diff --git a/src/main/resources/cover/EverWorld.gif b/src/main/resources/cover/EverWorld.gif new file mode 100644 index 0000000..b17001a Binary files /dev/null and b/src/main/resources/cover/EverWorld.gif differ diff --git a/src/main/resources/cover/EverWorld.jpg b/src/main/resources/cover/EverWorld.jpg new file mode 100644 index 0000000..8f40da6 Binary files /dev/null and b/src/main/resources/cover/EverWorld.jpg differ diff --git "a/src/main/resources/cover/Fantastique Ma\303\256tre Renard.jpg" "b/src/main/resources/cover/Fantastique Ma\303\256tre Renard.jpg" new file mode 100644 index 0000000..57f5dd3 Binary files /dev/null and "b/src/main/resources/cover/Fantastique Ma\303\256tre Renard.jpg" differ diff --git a/src/main/resources/cover/Frankenstein.jpg b/src/main/resources/cover/Frankenstein.jpg new file mode 100644 index 0000000..a578a84 Binary files /dev/null and b/src/main/resources/cover/Frankenstein.jpg differ diff --git a/src/main/resources/cover/Frigiel et Fluffy.jpg b/src/main/resources/cover/Frigiel et Fluffy.jpg new file mode 100644 index 0000000..ac41b62 Binary files /dev/null and b/src/main/resources/cover/Frigiel et Fluffy.jpg differ diff --git "a/src/main/resources/cover/Gardiens des cit\303\251s perdues.jpg" "b/src/main/resources/cover/Gardiens des cit\303\251s perdues.jpg" new file mode 100644 index 0000000..7c94b0b Binary files /dev/null and "b/src/main/resources/cover/Gardiens des cit\303\251s perdues.jpg" differ diff --git a/src/main/resources/cover/Harry Potter.jpg b/src/main/resources/cover/Harry Potter.jpg new file mode 100644 index 0000000..d15a4eb Binary files /dev/null and b/src/main/resources/cover/Harry Potter.jpg differ diff --git a/src/main/resources/cover/Hunger Games.jpg b/src/main/resources/cover/Hunger Games.jpg new file mode 100644 index 0000000..7a5c9b9 Binary files /dev/null and b/src/main/resources/cover/Hunger Games.jpg differ diff --git a/src/main/resources/cover/Je veux vivre.jpg b/src/main/resources/cover/Je veux vivre.jpg new file mode 100644 index 0000000..0d176b6 Binary files /dev/null and b/src/main/resources/cover/Je veux vivre.jpg differ diff --git "a/src/main/resources/cover/Journal d'un d\303\251gonfl\303\251.jpg" "b/src/main/resources/cover/Journal d'un d\303\251gonfl\303\251.jpg" new file mode 100644 index 0000000..faada5f Binary files /dev/null and "b/src/main/resources/cover/Journal d'un d\303\251gonfl\303\251.jpg" differ diff --git a/src/main/resources/cover/Journal d'un noob.jpg b/src/main/resources/cover/Journal d'un noob.jpg new file mode 100644 index 0000000..20f7b0a Binary files /dev/null and b/src/main/resources/cover/Journal d'un noob.jpg differ diff --git a/src/main/resources/cover/Journal d'une grosse nouille.jpg b/src/main/resources/cover/Journal d'une grosse nouille.jpg new file mode 100644 index 0000000..4736744 Binary files /dev/null and b/src/main/resources/cover/Journal d'une grosse nouille.jpg differ diff --git a/src/main/resources/cover/Kiss.jpg b/src/main/resources/cover/Kiss.jpg new file mode 100644 index 0000000..af95c73 Binary files /dev/null and b/src/main/resources/cover/Kiss.jpg differ diff --git "a/src/main/resources/cover/Le Bon Gros G\303\251ant.jpg" "b/src/main/resources/cover/Le Bon Gros G\303\251ant.jpg" new file mode 100644 index 0000000..8ffad30 Binary files /dev/null and "b/src/main/resources/cover/Le Bon Gros G\303\251ant.jpg" differ diff --git a/src/main/resources/cover/Le Carnet d'Allie.jpg b/src/main/resources/cover/Le Carnet d'Allie.jpg new file mode 100644 index 0000000..f30850a Binary files /dev/null and b/src/main/resources/cover/Le Carnet d'Allie.jpg differ 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 new file mode 100644 index 0000000..0c8ddb3 Binary files /dev/null and b/src/main/resources/cover/Le Crime de l'Orient-Express.jpg differ diff --git a/src/main/resources/cover/Le chien des Baskerville.jpg b/src/main/resources/cover/Le chien des Baskerville.jpg new file mode 100644 index 0000000..95b56ea Binary files /dev/null and b/src/main/resources/cover/Le chien des Baskerville.jpg differ diff --git "a/src/main/resources/cover/Le journal d'Aur\303\251lie Laflamme.jpg" "b/src/main/resources/cover/Le journal d'Aur\303\251lie Laflamme.jpg" new file mode 100644 index 0000000..e3a02f0 Binary files /dev/null and "b/src/main/resources/cover/Le journal d'Aur\303\251lie Laflamme.jpg" differ 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 new file mode 100644 index 0000000..5a9f952 Binary files /dev/null and b/src/main/resources/cover/Le journal intime de Georgia Nicolson.jpg differ diff --git a/src/main/resources/cover/Les Colombes du Roi Soleil.jpg b/src/main/resources/cover/Les Colombes du Roi Soleil.jpg new file mode 100644 index 0000000..6f5b4c7 Binary files /dev/null and b/src/main/resources/cover/Les Colombes du Roi Soleil.jpg differ diff --git "a/src/main/resources/cover/Les H\303\251ritiers d'Enkidiev.jpg" "b/src/main/resources/cover/Les H\303\251ritiers d'Enkidiev.jpg" new file mode 100644 index 0000000..f1e751b Binary files /dev/null and "b/src/main/resources/cover/Les H\303\251ritiers d'Enkidiev.jpg" differ diff --git "a/src/main/resources/cover/Les H\303\251ros de l'Olympe.jpg" "b/src/main/resources/cover/Les H\303\251ros de l'Olympe.jpg" new file mode 100644 index 0000000..e8f87e9 Binary files /dev/null and "b/src/main/resources/cover/Les H\303\251ros de l'Olympe.jpg" differ diff --git a/src/main/resources/cover/Les aventures de Tom Sawyer.jpg b/src/main/resources/cover/Les aventures de Tom Sawyer.jpg new file mode 100644 index 0000000..9b54b3f Binary files /dev/null and b/src/main/resources/cover/Les aventures de Tom Sawyer.jpg differ diff --git a/src/main/resources/cover/Les filles au chocolat.jpg b/src/main/resources/cover/Les filles au chocolat.jpg new file mode 100644 index 0000000..2a91d41 Binary files /dev/null and b/src/main/resources/cover/Les filles au chocolat.jpg differ diff --git a/src/main/resources/cover/les carnets de Cerise.jpg b/src/main/resources/cover/les carnets de Cerise.jpg new file mode 100644 index 0000000..1667dc8 Binary files /dev/null and b/src/main/resources/cover/les carnets de Cerise.jpg differ diff --git "a/src/main/resources/cover/\303\200 la Crois\303\251e des mondes.jpg" "b/src/main/resources/cover/\303\200 la Crois\303\251e des mondes.jpg" new file mode 100644 index 0000000..8c7f9f8 Binary files /dev/null and "b/src/main/resources/cover/\303\200 la Crois\303\251e des mondes.jpg" differ diff --git "a/src/main/resources/cover/\303\200 la poursuite d'Olympe.jpg" "b/src/main/resources/cover/\303\200 la poursuite d'Olympe.jpg" new file mode 100644 index 0000000..da25320 Binary files /dev/null and "b/src/main/resources/cover/\303\200 la poursuite d'Olympe.jpg" differ 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}") } ) ) -- cgit v1.2.3