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.

95 lines
3.9 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. <body>
  14. <!-- Header Image -->
  15. <div class="">
  16. <img src="./../images/merlin_thor.jpg" class="img-fluid" alt="Merlin und Thor, schlafend">
  17. </div>
  18. <!-- Navbar -->
  19. <nav class="navbar sticky-top navbar-expand-lg navbar-light" style="background-color: rgb(162, 184, 216);">
  20. <div class="container-fluid">
  21. <a class="navbar-brand" href="./">
  22. <img src="./../images/logo.PNG" alt="" width="30" height="40">
  23. </a>
  24. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
  25. aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  26. <span class="navbar-toggler-icon"></span>
  27. </button>
  28. <div class="collapse navbar-collapse" id="navbarNav">
  29. <ul class="navbar-nav">
  30. <li class="nav-item">
  31. <a class="nav-link" aria-current="page" href="./">Home</a>
  32. </li>
  33. <button class="btn" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
  34. Blog
  35. </button>
  36. <ul class="dropdown-menu dropdown-menu-light" aria-labelledby="dropdownMenuButton2">
  37. <li><a class="dropdown-item active" href="./blog">Blogeintrag 1</a></li>
  38. <li><a class="dropdown-item" href="#">ein anderer Blogeintrag</a></li>
  39. <li><a class="dropdown-item" href="#">und noch ein Blogeintrag</a></li>
  40. </ul>
  41. <li class="nav-item">
  42. <a class="nav-link" href="./../portfolio">Portfolio</a>
  43. </li>
  44. <li class="nav-item">
  45. <a class="nav-link" href="./../contact">Contact</a>
  46. </li>
  47. </ul>
  48. </div>
  49. </div>
  50. </nav>
  51. <!-- Content -->
  52. <div id="centered">
  53. <form action="/blog" method="post" id="blogeintrag">
  54. <label for="/title">Titel: </label>
  55. <input type="text" id="title" name="title" placeholder="Titel"><br>
  56. <!-- id: zum eindeutigen erkennen (for -> ID); name: veriablenname, der an js gesendet wird-->
  57. <label for="/username">Benutzername: </label>
  58. <input type="text" id="username" name="username" placeholder="musterMax007"><br>
  59. <label for="/date">Datum: </label>
  60. <input type="date" id="date" name="date" placeholder="01.01.2022"><br>
  61. <label for="/text">Text: </label>
  62. <input type="text" id="text" name="text" placeholder="Hier könnte ihr Blogeintrag stehen..."><br>
  63. <div id="submit_btn">
  64. <input type="submit" value="Submit">
  65. </div>
  66. </form>
  67. </div>
  68. <!-- Footer -->
  69. <div class="container">
  70. <footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
  71. <p class="col-md-4 mb-0 text-muted">&copy; MT Pawtraits</p>
  72. <a href="/"
  73. 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">
  74. <img src="./../images/logo.PNG" class="img-fluid" alt="MT Pawtrait" style="width: 30px; height: 39px;">
  75. </a>
  76. <ul class="nav col-md-4 justify-content-end">
  77. <li class="nav-item"><a href="./../" class="nav-link px-2 text-muted">Home</a></li>
  78. <li class="nav-item"><a href="./../portfolio" class="nav-link px-2 text-muted">Portfolio</a></li>
  79. <li class="nav-item"><a href="./../blog" class="nav-link px-2 text-muted">Blog</a></li>
  80. <li class="nav-item"><a href="./../contact" class="nav-link px-2 text-muted">Contact</a></li>
  81. <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">FAQ</a></li>
  82. </ul>
  83. </footer>
  84. </div>
  85. </body>
  86. </html>