Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유승근
/
Computer-part-Recommand
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Network
Create a new issue
Commits
Issue Boards
Authored by
Yuseunggeun
2020-05-31 17:59:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
36b6abb709e17a07a43831c80c425c9459e6ec90
36b6abb7
1 parent
377b3043
modify ejs file
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
18 deletions
views/index.ejs
views/main.ejs
views/index.ejs
0 → 100644
View file @
36b6abb
<!DOCTYPE html>
<html>
<body>
<
%for(var i =1; i
<
=20;i++){%>
<
%= i + "." + graphic_card_info[i].name+" - ("+graphic_card_info[i].price+"$)"%>
<
%var link = "http://www.videocardbenchmark.net/"+graphic_card_info[i].link.toString() %>>
<a
href =
<%=link%
>
target=_blank>link
</a>
<br>
<
%}%>
<form
method=
"GET"
action=
"http://localhost:3000/"
>
<input
type=
"submit"
value=
"돌아가기"
>
</form>
</body>
</html>
views/main.ejs
View file @
36b6abb
<!DOCTYPE html>
<html>
<body>
<
%for(var i =0; i
<20
;
i
++){%
>
<
%= (i+1) + "." + list[i]%>
<br>
<
%}%>
<h1>
OSS TermProject-컴퓨터 부품 추천
</h1>
<form
method=
"POST"
action=
"http://localhost:3000/main"
>
<input
type=
"text"
name=
"money"
placeholder=
"예산을 입력하세요($)."
>
<input
type=
"submit"
value=
"확인"
>
</form>
<form
method=
"GET"
action=
"http://localhost:3000/rank"
>
<input
type=
"submit"
value=
"전체순위"
>
</form>
<!--
<form method="POST" action="/increase">
<input type="submit" value="Increase">
</form>
<form method="POST" action="/decrease">
<input type="submit" value="Decrease">
</form>
<form method="GET" action="/show">
<input type="submit" value="Show">
</form>
-->
</body>
</html>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment