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-06-04 23:54:12 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f10003b2e4324bfd2135a531e2320658adbf9dc5
f10003b2
1 parent
4a70ac1b
주석추가
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
views/main.ejs
views/rank.ejs
views/main.ejs
View file @
f10003b
<!DOCTYPE html>
<html>
<body>
<body>
<!--메인 페이지-->
<h1>
OSS TermProject-컴퓨터 부품 추천
</h1>
<form
method=
"POST"
action=
"http://localhost:3000/search"
>
<input
type=
"text"
name=
"money"
placeholder=
"예산을 입력하세요($)."
>
...
...
views/rank.ejs
View file @
f10003b
<!DOCTYPE html>
<html>
<body>
<
%for(var i =1; i
<
=count;i++){%>
<
%= i + "." + graphic_card_info[i].name+" - ("+graphic_card_info[i].price+"$)"%>
<h1>
All Items
</h1>
<!--전체물품을 가성비 순으로 나열-->
<
%for(var i =1; i
<
=count;i++){%>
<
%= i + "." + graphic_card_info[i].name+" - ("+graphic_card_info[i].price+"$)-(benchmark:"%>
<b>
<
%= graphic_card_info[i].benchmark + ")" %>
</b>
<
%var link = "http://www.videocardbenchmark.net/"+graphic_card_info[i].link.toString() %>
<a
href =
<%=link%
>
target=_blank>link
</a>
<br>
...
...
Please
register
or
login
to post a comment