Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이승윤
/
OpenSource-MyCookBook
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-05-31 21:35:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
783428c5e2a80e6d5d853cdf34858ee98b843f5d
783428c5
1 parent
5482bf2d
style: home, category 스타일 변경
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
views/category/products.ejs
views/home.ejs
views/category/products.ejs
View file @
783428c
<% include ../includes/header.ejs %>
<table class="table table-bordered table-hover">
<tr>
<tr
class="table-info"
>
<th width="80px" style="text-align: center;">카테고리명</th>
<th width="50px" style="text-align: center;">개설 날짜</th>
<th width="
3
50px" style="text-align: center;">내용</th>
<th width="
3
0px" style="text-align: center;">사용자명</th>
<th width="
5
50px" style="text-align: center;">내용</th>
<th width="
5
0px" style="text-align: center;">사용자명</th>
<th width="30px" style="text-align: center;">삭제</th>
</tr>
<%categories.forEach(function(product){%>
...
...
@@ -17,7 +17,7 @@
<%=product.getDate.month%> -
<%=product.getDate.day%>
</td>
<td
style="text-align: center;"
>
<td>
<%=product.description%>
</td>
<td style="text-align: center;">
...
...
@@ -30,6 +30,6 @@
<% }); %>
</table>
<a href="categories/write" class="btn btn-
default
">작성하기</a>
<a href="categories/write" class="btn btn-
primary
">작성하기</a>
<% include ../includes/footer.ejs %>
\ No newline at end of file
...
...
views/home.ejs
View file @
783428c
<% include ./includes/header.ejs %>
<div style="background-color:
lavenderblush
">
<div style="background-color:
#e3f2fd;
">
<% var count = 0; %>
<center>
<% for (var i in video) { %>
<div style ="color:gray; font-weight:bold; font-size:2.0em;">
<div style ="color:gray; font-weight:bold; font-size:2.0em;
margin-left: 30px; padding-top: 30px
">
<%=video[i].category.title%>
</div>
<% for (var j in video[i].videos) { %>
<div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>">
<div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>"
style="margin: 30px;"
>
</div>
<%count++;};
};
%>
<
/center
>
<%count++;};
%>
<
%};%
>
</div>
<style type="text/css">
...
...
Please
register
or
login
to post a comment