From 81207046a57f75424a657799cfd03380f50d86ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Sun, 6 Nov 2016 21:40:54 +0100 Subject: [PATCH] Justify movie plots, add the imdb link --- src/public/less/app.less | 9 +++++++++ src/templates/movies/library.tmpl | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/public/less/app.less b/src/public/less/app.less index 50ebdda..167d044 100644 --- a/src/public/less/app.less +++ b/src/public/less/app.less @@ -9,4 +9,13 @@ body { background-color:#f1c40f; } +.movie-plot { + .text-justify; + margin-right: 5%; +} +.movie-details-buttons { + position: fixed; + bottom: 1%; + right: 1%; +} diff --git a/src/templates/movies/library.tmpl b/src/templates/movies/library.tmpl index 2513319..69f6b11 100644 --- a/src/templates/movies/library.tmpl +++ b/src/templates/movies/library.tmpl @@ -40,7 +40,13 @@ {{ .Rating }} ({{ .Votes }} counts)

-

{{ .Plot }}

+

{{ .Plot }}

+ +
+ + IMDB + +
{{ end}}