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
Song
2021-05-31 00:36:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
936e85e146514ba930ffc23dfe159d2f2105ae92
936e85e1
1 parent
eb180caf
style: homepage UI 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
views/home.ejs
views/home.ejs
View file @
936e85e
<% 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>
<%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
...
...
Please
register
or
login
to post a comment