송근영

Merge branch 'style/styles' into 'develop'

Style/styles



See merge request !12
<% include ../includes/header.ejs %>
<table class="table table-bordered table-hover">
<tr>
<th width="100px" style="text-align: center;">카테고리명</th>
<th style="text-align: center;">개설 날짜</th>
<th>내용</th>
<th>사용자명</th>
<th>삭제</th>
<th width="80px" style="text-align: center;">카테고리명</th>
<th width="50px" style="text-align: center;">개설 날짜</th>
<th width="350px" style="text-align: center;">내용</th>
<th width="30px" style="text-align: center;">사용자명</th>
<th width="30px" style="text-align: center;">삭제</th>
</tr>
<%categories.forEach(function(product){%>
<tr>
<td>
<td style="text-align: center;">
<a href="/categori/products/detail/<%=product.id%>"><%=product.title%></a>
</td>
<td>
<td style="text-align: center;" >
<%=product.getDate.year%> -
<%=product.getDate.month%> -
<%=product.getDate.day%>
</td>
<td>
<%=product.description%> -
<td style="text-align: center;">
<%=product.description%>
</td>
<td>
<%=product.username%> -
<td style="text-align: center;">
<%=product.username%>
</td>
<td>
<td style="text-align: center;">
<a href="/categori/products/delete/<%=product.id%>" class="btn btn-danger" onclick="return confirm('삭제하시겠습니까?')">삭제</a>
</td>
</tr>
......
<% include ../includes/header.ejs %>
<div class="panel panel-default">
<div class="panel-heading">
<%=product.title%>
 <%=product.title%>
</div>
<div style="padding-bottom: 10px">
작성일 :
<br>  작성일 :
<%=product.getDate.year%> -
<%=product.getDate.month%> -
<%=product.getDate.day%>
</div>
<div>
<% var count=0; %>
보유중인 영상
  ※ 보유중인 영상<br><br>
<% for (var i in items[0]) { %>
<div>
<%=items[0][i]%>
  <%=items[0][i]%>
</div>
<%count++;};%>
</div>
<div>
설명 : <%=product.description%>
<br>  설명 : <%=product.description%><br><br>
</div>
<form method="get" action="">
<div class="input-group">
......@@ -48,24 +48,8 @@
<button class="btn btn-primary" style="margin-top: 10px; margin-left: 15px;" >영상담기</button>
</form>
<div class="panel-body">
<!-- 댓글영역 -->
<div>
댓글작성하기
<form id="commentForm" action="" method="post">
<input type="hidden" name="product_id" value="<%=product.id%>" />
<textarea class="form-control" name="content"></textarea>
<button class="btn btn-primary" style="margin-top: 10px" type="submit">댓글작성</button>
</form>
</div>
<!-- 댓글영역 -->
<div>
<hr />
<div id="comment_area">
<% comments.forEach(function(comment){ %>
<div>
<%=comment.content%>
( <a class='comment_delete' comment_id='<%=comment._id%>'>삭제</a> )
</div>
<% }); %>
</div>
</div>
</div>
......
<% include ./includes/header.ejs %>
<div id="masonry_container">
<div style="background-color:lavenderblush">
<% var count = 0; %>
<center>
<% for (var i in video) { %>
<div>
<div style ="color:gray; font-weight:bold; font-size:2.0em;">
<%=video[i].category.title%>
</div>
<% for (var j in video[i].videos) { %>
<div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>">
</div>
<div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>">
</div>
<%count++;};};%>
</center>
</div>
<style type="text/css">
......@@ -48,19 +50,8 @@
height: '360',
width: '640',
videoId: videoIds[i],
events: {
// 'onReady': onPlayerReady,
// 'onStateChange': onPlayerStateChange
}
});
}
}
// function onPlayerReady(event) {
// }
// function onPlayerStateChange(event) {
// }
// function stopVideo() {
// }
</script>
<% include ./includes/footer.ejs %>
\ No newline at end of file
......