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.
 
 
 

103 lines
4.4 KiB

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
<%= title %>
</title>
<link rel="stylesheet" href="./stylesheets/bootstrap.min.css">
<script src="./javascripts/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="./stylesheets/style.css">
</head>
<bodyS>
<!-- Navbar -->
<nav class="navbar sticky-top navbar-expand-lg navbar-light" style="background-color: rgb(162, 184, 216);">
<div class="container-fluid">
<a class="navbar-brand" href="./">
<img src="./images/logo.PNG" alt="" width="30" height="40">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="./">Home</a>
</li>
<button class="btn" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
Blog
</button>
<ul class="dropdown-menu dropdown-menu-light" aria-labelledby="dropdownMenuButton2">
<li><a class="dropdown-item" href="./bloginhalt">Blog</a></li>
<li><a class="dropdown-item" href="./blog/newPost">Neuen Blogeintrag erstellen</a></li>
<li><a class="dropdown-item" href="./blog">Alle Blogeinträge anzeigen</a></li>
</ul>
<li class="nav-item">
<a class="nav-link" href="./portfolio">Portfolio</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="./contact">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Content -->
<h1 id="centered">Kontaktformular</h1>
<div id="centered">
<form action="/neuePerson" method="get" id="kontaktformular">
<label for="/nachname">Nachname: </label>
<input type="text" id="nachname" name="nachname" placeholder="Mustermann"><br>
<!-- id: zum eindeutigen erkennen (for -> ID); name: veriablenname, der an js gesendet wird-->
<label for="/vorname">Vorname: </label>
<input type="text" id="vorname" name="vorname" placeholder="Max"><br>
<label for="/wohnort">Wohnort: </label>
<input type="text" id="wohnort" name="wohnort" placeholder="Musterstadt"><br>
<label for="/postleitzahl">Postleitzahl: </label>
<input type="number" id="postleitzahl" name="postleitzahl" placeholder="36000" maxlength="5"><br>
<label for="/strasse">Straße: </label>
<input type="text" id="strasse" name="strasse" placeholder="Mustertstraße"><br>
<label for="/hausnummer">Hausnummer: </label>
<input type="text" id="hausnummer" name="hausnummer" placeholder="36"><br>
<label for="/email">E-Mail Adresse: </label>
<input type="email" id="email" name="email" placeholder="max.mustermann@email.de"><br>
<label for="/geburtstag">Geburtstag: </label>
<input type="date" id="geburtstag" name="geburtstag" placeholder="01.01.2001"><br>
<div id="submit_btn">
<input type="submit" value="Submit">
</div>
</form>
</div>
<p id="centered">
<%=alter%>
</p>
<!-- Footer -->
<div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<p class="col-md-4 mb-0 text-muted">&copy; MT Pawtraits</p>
<a href="/"
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">
<img src="./images/logo.PNG" class="img-fluid" alt="MT Pawtrait" style="width: 30px; height: 39px;">
</a>
<ul class="nav col-md-4 justify-content-end">
<li class="nav-item"><a href="./" class="nav-link px-2 text-muted">Home</a></li>
<li class="nav-item"><a href="./portfolio" class="nav-link px-2 text-muted">Portfolio</a></li>
<li class="nav-item"><a href="./blog" class="nav-link px-2 text-muted">Blog</a></li>
<li class="nav-item"><a href="./contact" class="nav-link px-2 text-muted">Contact</a></li>
<li class="nav-item"><a href="#" class="nav-link px-2 text-muted">FAQ</a></li>
</ul>
</footer>
</div>
</body>
</html>