diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 207e5a485ee74c8437cff1c2ffcad3dbadcc4bac..8013dc5174a4220c774f56fef145176375995e41 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -19,4 +19,9 @@ article { .btn-back { margin:10px; +} + +.actor_poster{ + width: 150px; + height: 200px; } \ No newline at end of file diff --git a/views/index.pug b/views/index.pug index 0f1fe4c999d94781a02da56d1be4bc1275807294..6f24143924d8d082b94874209a52b8df6a09f4ca 100644 --- a/views/index.pug +++ b/views/index.pug @@ -13,6 +13,8 @@ block content input(type='text' name='genre' placeholder='Genre Type') p input(type='text' name='poster' placeholder='Poster (image url)') + p + input(type='text' name='actor_poster' placeholder='Actor_Poster (image url)') p Movie Ratings label 0 input(type="radio", name="rating", value="0") diff --git a/views/result.pug b/views/result.pug index 3953cdf1e1fe9f46f49b5ba88c31b0938638bc3d..cf8b78589d5a50378688ae87034dfc961f83c1d8 100644 --- a/views/result.pug +++ b/views/result.pug @@ -5,6 +5,7 @@ block content h1 #{data.name} hr(size='3px') p #{data.actors} + img(class="actor_poster" src=`${data.actor_poster}`) p #{data.genre} hr(size='3px') p