• This project
    • Loading...
  • Sign in

김태민 / OpenSource_Project

%ea%b7%b8%eb%a6%bc1
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
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OpenSource_Project
  • views
  • print.ejs
  • seungmi's avatar
    print페이지에 음식이름이 랜덤으로 나오도록 설정 · 77fb8a48 ...
    77fb8a48
    'http://localhost:3000/food/recommendation'에서 조건을 입력하였을 때,
    post함수로 호출된 'http://localhost:3000/food' page에서 food.json파일안의 음식이름이 랜덤으로 호출되도록 변경
    seungmi authored 2019-11-28 12:28:14 +0900
print.ejs 421 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="utf-8">
  <title>Test</title>
</head>

<body>
  <h1><a href="/food">점심메뉴 정하기</a></h1>
  <h2>
    <%= title %>
  </h2>
  <ul>
    <il><a href="/food/search">검색</a></il><br>
    <il><a href="/food/recommendation">추천</a></il>
  </ul>
  <p><%= description %></p>
  <p><%= randvalue%></p>

    <article>
    </article>
</body>

</html>