Akhidjon

Kakao modified and login works

......@@ -16,13 +16,12 @@
"fetchSpec": "0.0.5"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/passport-kakao/-/passport-kakao-0.0.5.tgz",
"_shasum": "dcaab68800793af95566a15e7fef2dcabd3adc2d",
"_spec": "passport-kakao@0.0.5",
"_where": "C:\\Users\\LEEHYUNJONG\\Desktop\\오픈소스SW\\YTMT",
"_where": "D:\\OSS project\\YTMT",
"author": {
"name": "rotoshine@gmail.com"
},
......
This diff is collapsed. Click to expand it.
......@@ -17,10 +17,10 @@
"ejs": "^2.5.9",
"express": "^4.15.5",
"express-session": "^1.15.6",
"js-sha256": "^0.9.0",
"mongoose": "^4.13.6",
"morgan": "^1.9.0",
"mysql": "^2.16.0",
"node-iframe-replacement": "^1.0.0",
"passport": "^0.4.0",
"passport-kakao": "0.0.5",
"passport-local": "^1.0.0",
......
......@@ -47,7 +47,7 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="#about" class="page-scroll">About</a></li>
<li><a href="#portfolio" class="page-scroll">Webtoons</a></li>
<li><a href="/api/auth/kakao" class="page-scroll">로그인2</a></li>
<li><a href="/auth/login/kakao" class="page-scroll">Login</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
......@@ -203,20 +203,22 @@
</br>
</div>
<font size = 30>
투믹스 웹툰
</font>
<a onclick="Naver_webtoons.style.display=(Naver_webtoons.style.display=='none')?'block':'none';" href="javascript:void(0)">
<img src ='https://is4-ssl.mzstatic.com/image/thumb/Purple128/v4/d9/c7/99/d9c79934-4e9a-4926-fa53-b4863bae52b4/source/512x512bb.jpg' width="83" height="90"/>
</a>
<div id="Toomics_webtoons" style = "display:none">
<div id="toomiks" style = "display:none">
<table>
<%
var current = "";
for(webtoon in list){
if(current!=list[webtoon].week && list[webtoon].site == 'toomics'){
if(current!=list[webtoon].week && list[webtoon].site == 'toomiks'){
if(current!=""){
%>
</tr>
......@@ -225,7 +227,7 @@
<th><%= list[webtoon].week %></th>
<% } %>
<%
if(list[webtoon].site == 'toomics')
if(list[webtoon].site == 'toomiks')
{
%>
<td>
......