You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
4.4 KiB

  1. <!DOCTYPE html>
  2. <html lang="de">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>
  7. <%= title %>
  8. </title>
  9. <link rel="stylesheet" href="./stylesheets/bootstrap.min.css">
  10. <script src="./javascripts/bootstrap.bundle.min.js"></script>
  11. <link rel="stylesheet" href="./stylesheets/style.css">
  12. </head>
  13. <bodyS>
  14. <!-- Navbar -->
  15. <nav class="navbar sticky-top navbar-expand-lg navbar-light" style="background-color: rgb(162, 184, 216);">
  16. <div class="container-fluid">
  17. <a class="navbar-brand" href="./">
  18. <img src="./images/logo.PNG" alt="" width="30" height="40">
  19. </a>
  20. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
  21. aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  22. <span class="navbar-toggler-icon"></span>
  23. </button>
  24. <div class="collapse navbar-collapse" id="navbarNav">
  25. <ul class="navbar-nav">
  26. <li class="nav-item">
  27. <a class="nav-link" aria-current="page" href="./">Home</a>
  28. </li>
  29. <button class="btn" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
  30. Blog
  31. </button>
  32. <ul class="dropdown-menu dropdown-menu-light" aria-labelledby="dropdownMenuButton2">
  33. <li><a class="dropdown-item" href="./bloginhalt">Blog</a></li>
  34. <li><a class="dropdown-item" href="./blog/newPost">Neuen Blogeintrag erstellen</a></li>
  35. <li><a class="dropdown-item" href="./blog">Alle Blogeinträge anzeigen</a></li>
  36. </ul>
  37. <li class="nav-item">
  38. <a class="nav-link" href="./portfolio">Portfolio</a>
  39. </li>
  40. <li class="nav-item">
  41. <a class="nav-link active" href="./contact">Contact</a>
  42. </li>
  43. </ul>
  44. </div>
  45. </div>
  46. </nav>
  47. <!-- Content -->
  48. <h1 id="centered">Kontaktformular</h1>
  49. <div id="centered">
  50. <form action="/neuePerson" method="get" id="kontaktformular">
  51. <label for="/nachname">Nachname: </label>
  52. <input type="text" id="nachname" name="nachname" placeholder="Mustermann"><br>
  53. <!-- id: zum eindeutigen erkennen (for -> ID); name: veriablenname, der an js gesendet wird-->
  54. <label for="/vorname">Vorname: </label>
  55. <input type="text" id="vorname" name="vorname" placeholder="Max"><br>
  56. <label for="/wohnort">Wohnort: </label>
  57. <input type="text" id="wohnort" name="wohnort" placeholder="Musterstadt"><br>
  58. <label for="/postleitzahl">Postleitzahl: </label>
  59. <input type="number" id="postleitzahl" name="postleitzahl" placeholder="36000" maxlength="5"><br>
  60. <label for="/strasse">Straße: </label>
  61. <input type="text" id="strasse" name="strasse" placeholder="Mustertstraße"><br>
  62. <label for="/hausnummer">Hausnummer: </label>
  63. <input type="text" id="hausnummer" name="hausnummer" placeholder="36"><br>
  64. <label for="/email">E-Mail Adresse: </label>
  65. <input type="email" id="email" name="email" placeholder="max.mustermann@email.de"><br>
  66. <label for="/geburtstag">Geburtstag: </label>
  67. <input type="date" id="geburtstag" name="geburtstag" placeholder="01.01.2001"><br>
  68. <div id="submit_btn">
  69. <input type="submit" value="Submit">
  70. </div>
  71. </form>
  72. </div>
  73. <p id="centered">
  74. <%=alter%>
  75. </p>
  76. <!-- Footer -->
  77. <div class="container">
  78. <footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
  79. <p class="col-md-4 mb-0 text-muted">&copy; MT Pawtraits</p>
  80. <a href="/"
  81. class="col-md-4 d-flex align-items-center justify-content-center mb-3 mb-md-0 me-md-auto link-dark text-decoration-none">
  82. <img src="./images/logo.PNG" class="img-fluid" alt="MT Pawtrait" style="width: 30px; height: 39px;">
  83. </a>
  84. <ul class="nav col-md-4 justify-content-end">
  85. <li class="nav-item"><a href="./" class="nav-link px-2 text-muted">Home</a></li>
  86. <li class="nav-item"><a href="./portfolio" class="nav-link px-2 text-muted">Portfolio</a></li>
  87. <li class="nav-item"><a href="./blog" class="nav-link px-2 text-muted">Blog</a></li>
  88. <li class="nav-item"><a href="./contact" class="nav-link px-2 text-muted">Contact</a></li>
  89. <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">FAQ</a></li>
  90. </ul>
  91. </footer>
  92. </div>
  93. </body>
  94. </html>