Toggle navigation
Toggle navigation
This project
Loading...
Sign in
teamPARK
/
holiday-counter-recommend-activity
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
박규리
2022-05-27 23:44:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d9546c9505aaa299cdd3565601440a1733209ca9
d9546c95
1 parent
64bb7a98
Updated recommend activity part
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
nodejs/views/data.ejs
nodejs/views/data.ejs
View file @
d9546c9
<!-- data.ejs -->
<!DOCTYPE html>
<html>
<head>
...
...
@@ -30,11 +29,31 @@
</div>
</div>
<h2>
<
%= data[0] %> 에 추천하는 활동 목록입니다.
</h2>
<!--recommend activity 추가파트 시작-->
<div
id=
"activity"
>
<
% if (data[1] == '20220601') { %>
<h2>
1. 투표하세요.
</h2>
<h2>
2. 투표날이 어렵다면 사전투표하세요.
</h2>
<
% } else if (data[1] == '20220505') { %>
<h2>
1. 어린이날 즐기기.
</h2>
<h2>
2. 놀이공원
</h2>
<h2>
3. 서울숲
</h2>
<
% } else if (data[1] == '20220606') { %>
<h2>
1. 현충원 가기.
</h2>
<h2>
2. 전쟁기념관 방문.
</h2>
<h2>
3. 어린이날 즐기기.
</h2>
<
% } else if (data[1] == '20220508') { %>
<h2>
절 가기.
</h2>
<
% } else { %>
<h2>
Just Take some rest!.
</h2>
<
% } %>
<h3
class =
'l'
>
ㅤ1. 가나다
</h3>
<h3
class =
'l'
>
ㅤ2. 라마바
</h3>
<h3
class =
'l'
>
ㅤ3. 라마바
</h3>
</div>
<div
id=
"loading"
><div
class=
"spinner"
></div></div>
</body>
...
...
Please
register
or
login
to post a comment