res_list.ejs 2.74 KB
<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8">


    <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
    <link rel="stylesheet" href="https://jqueryui.com/resources/demos/style.css">

    <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
    <link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'>
    <link href="css/grayscale.min.css" rel="stylesheet">

    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.37/js/bootstrap-datetimepicker.min.js"></script>
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

  <title>식당 예약</title>


  <style type="text/css">
  .reservationTheme{
    background:url('/img/12.jpg') no-repeat center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  </style>
      <section id="about" class="reservationTheme content-section ">
          <br><br>
        <h1>예약 리스트</h1>
        <table class = "table table-hover">
          <thead>
            <tr>
              <th>번호</th>
              <th>이름</th>
              <th>휴대폰번호</th>
              <th>email</th>
              <th>인원</th>
              <th>예약 시</th>
              <th>예약 분</th>
              <th>예약 날짜  </th>
              <th>메뉴</th>
              <th>작성시간</th>
            </tr>
          </thead>
          <tbody>

            <% for(var i=0; i< data.length; i++) { %>
          <tr>
              <td><%=data[i].idx%></td>
              <td><%=data[i].creater_id%></td>
              <td><%=data[i].phone%></td>
              <td><%=data[i].email%></td>
              <td><%=data[i].num%></td>
              <td><%=data[i].restime%></td>
              <td><%=data[i].resmin%></td>
              <td><%=data[i].date%></td>
              <td><%=data[i].content%></td>
              <td><%=data[i].modidate%></td>
          </tr>
      <% } %>
        </tbody>
        </table>








          <div class="form-group">
            <label class="col-md-4 control-label"></label>
            <div class="col-md-4 center">
              <a href="/first" class="btn btn-default btn-lg">홈으로</a>
            </div>


  </head>
</html>