From 1c95df9b2f81f3dd86dd2e1035601c29c13fa96c Mon Sep 17 00:00:00 2001 From: ksp <fantav@ajou.ac.kr> Date: Thu, 7 Nov 2019 18:46:27 +0900 Subject: [PATCH] test commit --- public/stylesheets/style.css | 11 +++++++++-- views/index.pug | 8 +++++++- views/result.pug | 8 +++++++- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 72d2609..34beb80 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -15,12 +15,19 @@ a { text-align:center; } .movie_poster_img{ - width:165px; - height:600px; + width:400px; + height:500px; +} +.actor_poster_img{ + width:200px; + height:250px; } p.cut{ border-bottom:2px solid grey; } +p.cutRating{ + border-top:2px solid grey; +} .star{ width:50px; height:50px; diff --git a/views/index.pug b/views/index.pug index d28f6d9..52cbf65 100644 --- a/views/index.pug +++ b/views/index.pug @@ -21,7 +21,7 @@ block content method="post" ) lable - p 영화제목 : + p 영화제목(연습) : input( type='text' class='movie_title' @@ -46,6 +46,12 @@ block content class='movie_poster' name='movie_poster' ) + p 주연배우 사진 : + input( + type='text' + class='actor_poster' + name='actor_poster' + ) h3 Movie Ratings label 0 diff --git a/views/result.pug b/views/result.pug index 3339127..db9f92e 100644 --- a/views/result.pug +++ b/views/result.pug @@ -16,10 +16,16 @@ html class='movie_poster_img' ) h1 #{data.movie_title} + p.cut h3 #{data.movie_actor} + img( + src=`${data.actor_poster}` + class='actor_poster_img' + ) h3 #{data.movie_thema} - p.cut + + p.cutRating var starRating is #{data.rating} img( src="images/star.svg" -- GitLab