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.

92 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. <!-- 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 active" href="./../bloginhalt">Blog</a></li>
  34. <li><a class="dropdown-item" href="./../blog/newPost">Neuen Post 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" href="./../contact">Contact</a>
  42. </li>
  43. </ul>
  44. </div>
  45. </div>
  46. </nav>
  47. <!-- Content -->
  48. <div id="centered">
  49. <form action="/blog" method="post" id="blogeintrag">
  50. <label for="/title">Titel: </label>
  51. <input type="text" id="title" name="title" placeholder="Titel"><br>
  52. <!-- id: zum eindeutigen erkennen (for -> ID); name: veriablenname, der an js gesendet wird-->
  53. <label for="/username">Benutzername: </label>
  54. <input type="text" id="username" name="username" placeholder="musterMax007"><br>
  55. <label for="/date">Datum: </label>
  56. <input type="date" id="date" name="date" placeholder="01.01.2022"><br>
  57. <label for="/text">Text: </label>
  58. <input type="text" id="text" name="text" placeholder="Hier könnte ihr Blogeintrag stehen..."><br>
  59. <label for="/file">File: </label>
  60. <input type="file" id="file" name="file" placeholder="Bild oder Video hinzufügen"><br>
  61. <div id="submit_btn">
  62. <input type="submit" value="Submit">
  63. </div>
  64. </form>
  65. </div>
  66. <!-- Footer -->
  67. <div class="container">
  68. <footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
  69. <p class="col-md-4 mb-0 text-muted">&copy; MT Pawtraits</p>
  70. <a href="/"
  71. 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">
  72. <img src="./../images/logo.PNG" class="img-fluid" alt="MT Pawtrait" style="width: 30px; height: 39px;">
  73. </a>
  74. <ul class="nav col-md-4 justify-content-end">
  75. <li class="nav-item"><a href="./../" class="nav-link px-2 text-muted">Home</a></li>
  76. <li class="nav-item"><a href="./../portfolio" class="nav-link px-2 text-muted">Portfolio</a></li>
  77. <li class="nav-item"><a href="./../blog" class="nav-link px-2 text-muted">Blog</a></li>
  78. <li class="nav-item"><a href="./../contact" class="nav-link px-2 text-muted">Contact</a></li>
  79. <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">FAQ</a></li>
  80. </ul>
  81. </footer>
  82. </div>
  83. </body>
  84. </html>