schedule.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Attending Appointment</title>
  7. <link rel="stylesheet" href="../stylesheets/schedule.css">
  8. <script src="../javascripts/schedule.js" async></script>
  9. </head>
  10. <body>
  11. <div class="container">
  12. <h1>Attending an appointment</h1>
  13. <h3 id="title"></h3>
  14. <h4 id="place"></h4>
  15. <p id="description"></p>
  16. <div>
  17. <div class="input-group">
  18. <label for="email">Email</label>
  19. <input type="email" id="email" name="email" placeholder="johndoe@example.com" required>
  20. </div>
  21. <div class="input-group">
  22. <label for="firstname">First Name</label>
  23. <input type="text" id="firstname" name="firstname" placeholder="John" required>
  24. </div>
  25. <div class="input-group">
  26. <label for="lastname">Last Name</label>
  27. <input type="text" id="lastname" name="lastname" placeholder="Doe" required>
  28. </div>
  29. <!-- Preset Due Date -->
  30. <div class="input-group">
  31. <label for="due-date">Due Date</label>
  32. <input type="text" id="due-date" name="dueDate" readonly>
  33. </div>
  34. <!-- Preset Appointment Date -->
  35. <div class="input-group">
  36. <label for="appointment-date">Appointment Date</label>
  37. <input type="text" id="appointment-date" name="appointmentDate" readonly>
  38. </div>
  39. <!-- Preset Time Span -->
  40. <div class="input-group">
  41. <label for="time-span">Time Span</label>
  42. <input type="text" id="time-span" name="timeSpan" value="10:00 AM to 12:00 PM" readonly>
  43. </div>
  44. <button type="submit" id="attend-btn" class="btn-submit">Attend</button>
  45. <p id="appointment-error"></p>
  46. <p id="appointment-success"></p>
  47. </div>
  48. </div>
  49. </body>
  50. </html>