diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 207e5a485ee74c8437cff1c2ffcad3dbadcc4bac..53ca6487232f5dd4cf127542333921a206044880 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -19,4 +19,8 @@ article { .btn-back { margin:10px; +} +.actorimg{ + width: 80px; + height: 100px; } \ No newline at end of file diff --git a/views/index.pug b/views/index.pug index 0f1fe4c999d94781a02da56d1be4bc1275807294..e6366790670b74200d5457a4eb81e8227a1a69ba 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='actorimg' placeholder='Actor (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..6bcf2e8b18e32a0e9c4720a5417a3509e18c33e8 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="actorimg" src=`${data.actorimg}`) p #{data.genre} hr(size='3px') p