Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hyunjong Lee
/
YTMT
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
안형준
2018-12-05 13:17:55 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fca4b5c55904292bc8e209d076589ecc60f4acc2
fca4b5c5
1 parent
747f7546
웹툰 담기에서 daum/naver div를 나눔. 접기 펼치기추가
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
2 deletions
public/images/basket.png
views/setting.ejs
public/images/basket.png
0 → 100644
View file @
fca4b5c
192 KB
views/setting.ejs
View file @
fca4b5c
...
...
@@ -12,18 +12,28 @@
<h1>
내툰
</h1>
<p>
추가하거나 제거할 웹툰을 선택해주세요.
</p>
<a
href=
"/mytoons"
>
뒤로
</a>
<br>
<a
onclick=
"daumtoons.style.display=(daumtoons.style.display=='none')?'block':'none';"
href=
"javascript:void(0)"
>
<img
src =
'/images/daumicon.png'
width=
"83"
height=
"90"
onclick=
"daum_click"
/>
</a>
<div
id=
"daumtoons"
style=
"display:none"
>
<table>
<
%
var current = "";
for(webtoon in alltoons){
if(alltoons[webtoon].site == "daum")
{
if(current!=alltoons[webtoon].week){
if(current!=""){
%>
</tr>
<
% } %>
<tr>
<th>
<
%= alltoons[webtoon].week %>
</th>
<th>
<
%= alltoons[webtoon].week %>
</th>
<
% } %>
<td
class=
"<%
for(i=0;i<mytoons.length;i++){
if(mytoons[i].name == alltoons[webtoon].name){
...
...
@@ -46,14 +56,67 @@
<
%
}
}
}
%>
</tr>
</table>
</form>
</div>
</br>
<br>
<br>
<a
onclick=
"navertoons.style.display=(navertoons.style.display=='none')?'block':'none';"
href=
"javascript:void(0)"
>
<img
src =
'/images/navericon.png'
width=
"83"
height=
"90"
/>
</a>
<div
id=
"navertoons"
style=
"display:none"
>
<table>
<
%
var current = "";
for(webtoon in alltoons){
if(alltoons[webtoon].site == "naver")
{
if(current!=alltoons[webtoon].week){
if(current!=""){
%>
</tr>
<
% } %>
<tr>
<th>
<
%= alltoons[webtoon].week %>
</th>
<
% } %>
<td
class=
"<%
for(i=0;i<mytoons.length;i++){
if(mytoons[i].name == alltoons[webtoon].name){
%>registered<%
break;
}
}
%>"
>
<form
method=
"post"
action=
"/setting/toggle_toon"
>
<input
type=
"hidden"
name=
"toon_index"
value=
"<%= alltoons[webtoon].toon_index %>"
>
<input
TYPE=
"IMAGE"
src=
"<%= alltoons[webtoon].thum_link %>"
name=
"Submit"
value=
"Submit"
align=
"absmiddle"
>
</form>
<
%= alltoons[webtoon].name; %>
</td>
<
%
if(current!=alltoons[webtoon].week) {
current = alltoons[webtoon].week;
%>
<
%
}
}
}
%>
</tr>
</table>
</form>
</div>
<body>
</body>
</html>
\ No newline at end of file
</html>
...
...
Please
register
or
login
to post a comment