From e05aabe4b5c690ebe6aae1f1a4f2e401aefde909 Mon Sep 17 00:00:00 2001 From: yeongin <pyi7628@gmail.com> Date: Thu, 7 Nov 2019 10:42:52 +0900 Subject: [PATCH] movie_comment --- public/stylesheets/style.css | 4 ++++ views/index.pug | 2 ++ views/result.pug | 1 + 3 files changed, 7 insertions(+) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 207e5a4..53ca648 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 0f1fe4c..e636679 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 3953cdf..6bcf2e8 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 -- GitLab