이승윤

style: home, category 스타일 변경

1 <% include ../includes/header.ejs %> 1 <% include ../includes/header.ejs %>
2 <table class="table table-bordered table-hover"> 2 <table class="table table-bordered table-hover">
3 - <tr> 3 + <tr class="table-info">
4 <th width="80px" style="text-align: center;">카테고리명</th> 4 <th width="80px" style="text-align: center;">카테고리명</th>
5 <th width="50px" style="text-align: center;">개설 날짜</th> 5 <th width="50px" style="text-align: center;">개설 날짜</th>
6 - <th width="350px" style="text-align: center;">내용</th> 6 + <th width="550px" style="text-align: center;">내용</th>
7 - <th width="30px" style="text-align: center;">사용자명</th> 7 + <th width="50px" style="text-align: center;">사용자명</th>
8 <th width="30px" style="text-align: center;">삭제</th> 8 <th width="30px" style="text-align: center;">삭제</th>
9 </tr> 9 </tr>
10 <%categories.forEach(function(product){%> 10 <%categories.forEach(function(product){%>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 <%=product.getDate.month%> - 17 <%=product.getDate.month%> -
18 <%=product.getDate.day%> 18 <%=product.getDate.day%>
19 </td> 19 </td>
20 - <td style="text-align: center;"> 20 + <td>
21 <%=product.description%> 21 <%=product.description%>
22 </td> 22 </td>
23 <td style="text-align: center;"> 23 <td style="text-align: center;">
...@@ -30,6 +30,6 @@ ...@@ -30,6 +30,6 @@
30 <% }); %> 30 <% }); %>
31 </table> 31 </table>
32 32
33 - <a href="categories/write" class="btn btn-default">작성하기</a> 33 + <a href="categories/write" class="btn btn-primary">작성하기</a>
34 34
35 <% include ../includes/footer.ejs %> 35 <% include ../includes/footer.ejs %>
...\ No newline at end of file ...\ No newline at end of file
......
1 <% include ./includes/header.ejs %> 1 <% include ./includes/header.ejs %>
2 - <div style="background-color:lavenderblush"> 2 + <div style="background-color:#e3f2fd;">
3 <% var count = 0; %> 3 <% var count = 0; %>
4 - <center>
5 <% for (var i in video) { %> 4 <% for (var i in video) { %>
6 - <div style ="color:gray; font-weight:bold; font-size:2.0em;"> 5 + <div style ="color:gray; font-weight:bold; font-size:2.0em; margin-left: 30px; padding-top: 30px">
7 <%=video[i].category.title%> 6 <%=video[i].category.title%>
8 </div> 7 </div>
9 <% for (var j in video[i].videos) { %> 8 <% for (var j in video[i].videos) { %>
10 - <div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>"> 9 + <div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>" style="margin: 30px;">
11 </div> 10 </div>
12 - <%count++;};};%> 11 + <%count++;}; %>
13 - </center> 12 + <%};%>
14 </div> 13 </div>
15 14
16 <style type="text/css"> 15 <style type="text/css">
......