Bestellformular hat im Warenkorb keinen Sinn gemacht. Setze ihn an andere Stelle

This commit is contained in:
rgemm 2025-04-25 19:23:30 +02:00
parent 310d739bdc
commit 8b6ced83d8
4 changed files with 71 additions and 95 deletions

View File

@ -26,8 +26,7 @@
<div class="summary"> <div class="summary">
</div> </div>
<button class="zurKasse">Zur Kasse gehen</button>
<a href="/bestellformular" class="checkout">Zur Kasse gehen</a>
</div> </div>
</body> </body>

View File

@ -1,41 +0,0 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Bestellformular</title>
<link rel="stylesheet" href="/Styles/bestellformular/bestellformular.css">
</head>
<body>
<div class="form-container">
<form action="/submit-bestellung" method="post">
<h2> Bestellformular</h2>
<label for="vorname">Vorname:</label>
<input type="text" id="Vorname" name="Vorname" required placeholder="Vorname">
<label for="nachname">Nachname:</label>
<input type="text" id="Nachname" name="Nachname" required placeholder="Nachname">
<label for="kundenNr">KundenNr:</label>
<input type="text" id="KundenNr" name="KundenNr" required placeholder="KundenNr">
<label for="strasse">Straße:</label>
<input type="text" id="strasse" name="strasse" required placeholder="Strasse">
<label for="hausnummer">Hausnummer:</label>
<input type="text" id="hausnummer" name="hausnummer" required placeholder="Hausnummer">
<label for="ort">Ort:</label>
<input type="text" id="ort" name="ort" required placeholder="Ort">
<label for="telefon Nr">Telefon Nr (optional):</label>
<input type="tel" id="telefon Nr" name="telefon" placeholder="Telefon Nr">
<label for="bestellteWare">Bestellte Ware (Artikel Nr.):</label>
<textarea id="bestellteWare" name="bestellteWare" rows="4" required placeholder="Artikel Nr. eintragen"></textarea>
<input type="submit" value="Bestellung absenden">
</form>
</div>
</body>
</html>

View File

@ -91,4 +91,74 @@ body {
transition: background-color 0.3s; transition: background-color 0.3s;
} }
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
padding: 20px;
}
.form-container {
max-width: 600px;
margin: auto;
background-color: #ffffff;
padding: 25px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
form h2 {
text-align: center;
margin-bottom: 20px;
}
label {
display: block;
margin-top: 15px;
font-weight: bold;
}
input[type="text"],
input[type="tel"],
textarea {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type="submit"] {
margin-top: 20px;
background-color: #ff6600;
color: white;
border: none;
padding: 12px;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
width: 100%;
}
input[type="submit"]:hover {
background-color: #ff6600;
}
.zurKasse {
display: block;
margin: 20px auto;
background-color: #ff6600;
color: white;
border: none;
padding: 12px 24px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.zurKasse:hover {
background-color: #ff6600;
}

View File

@ -1,52 +0,0 @@
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
padding: 20px;
}
.form-container {
max-width: 600px;
margin: auto;
background-color: #ffffff;
padding: 25px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
form h2 {
text-align: center;
margin-bottom: 20px;
}
label {
display: block;
margin-top: 15px;
font-weight: bold;
}
input[type="text"],
input[type="tel"],
textarea {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type="submit"] {
margin-top: 20px;
background-color: #ff6600;
color: white;
border: none;
padding: 12px;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
width: 100%;
}
input[type="submit"]:hover {
background-color: #ff6600;
}