Gitlab@Informatics

Skip to content
Snippets Groups Projects
Select Git revision
  • e05e33744680cc123bad6424d311bec69606c7d4
  • main default protected
2 results

bookinglist.ejs

Blame
  • Atiwit Pattanapukdee's avatar
    65160394 authored
    e05e3374
    History
    bookinglist.ejs 762 B
    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>bookinglist</title>
      <link rel="stylesheet" href="/css/booklist.css">
    </head>
    <body>
      <h1>bookinglist</h1>
      <table border="1">
        <thead>
          <tr>
            <th>Booking ID</th>
            <th>Booking User</th>
            <th>Tour Title</th>
          </tr>
        </thead>
        <tbody>
          <% bookings.forEach(booking => { %>
            <tr>
              <td><%= booking.booking_id %></td> <!-- booking_id -->
              <td><%= booking.user_name %></td> <!-- ชื่อผู้จอง --> 
              <td><%= booking.tour_name %></td> <!-- tour_title --> 
            </tr>
          <% }) %>
        </tbody>
      </table>
    </body>
    </html>