Bernd Wurst commited on 2018-03-18 20:12:58
Zeige 16 geänderte Dateien mit 55 Einfügungen und 30 Löschungen.
| ... | ... |
@@ -29,9 +29,9 @@ if ($kunde) {
|
| 29 | 29 |
|
| 30 | 30 |
$content = ''; |
| 31 | 31 |
if (isset($_REQUEST['error'])) {
|
| 32 |
- $content .= '<div class="panel panel-danger"> |
|
| 33 |
- <div class="panel-heading">Fehler</div> |
|
| 34 |
- <div class="panel-body">Bitte geben Sie Ihren Namen an.</div> |
|
| 32 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 33 |
+ <div class="card-header">Fehler</div> |
|
| 34 |
+ <div class="card-body">Bitte geben Sie Ihren Namen an.</div> |
|
| 35 | 35 |
</div>'; |
| 36 | 36 |
} |
| 37 | 37 |
|
| ... | ... |
@@ -5,9 +5,17 @@ body {
|
| 5 | 5 |
font-family: linux_biolinum_o; |
| 6 | 6 |
background-color: #ffa; |
| 7 | 7 |
} |
| 8 |
+ |
|
| 9 |
+#banner {
|
|
| 10 |
+ width: 100%; |
|
| 11 |
+ background-color: #007900; |
|
| 12 |
+ padding: 0.5em; |
|
| 13 |
+} |
|
| 14 |
+ |
|
| 8 | 15 |
h1, h2, h3 {
|
| 9 | 16 |
font-family: "jr_hand"; |
| 10 | 17 |
} |
| 18 |
+@media(min-width:992px){
|
|
| 11 | 19 |
h1 {
|
| 12 | 20 |
font-size: 500%; |
| 13 | 21 |
} |
| ... | ... |
@@ -14,6 +23,7 @@ h1 {
|
| 14 | 23 |
h1.termsheader {
|
| 15 | 24 |
font-size: 200%; |
| 16 | 25 |
} |
| 26 |
+} |
|
| 17 | 27 |
|
| 18 | 28 |
.modal-body.terms {
|
| 19 | 29 |
text-align: left; |
| ... | ... |
@@ -30,8 +40,9 @@ input[type=submit] {
|
| 30 | 40 |
width: 100%; |
| 31 | 41 |
} |
| 32 | 42 |
|
| 33 |
-.btn-default {
|
|
| 34 |
- |
|
| 43 |
+.btn-light, .btn-light:hover {
|
|
| 44 |
+ border-color: black; |
|
| 45 |
+ margin-bottom: 0.5em; |
|
| 35 | 46 |
} |
| 36 | 47 |
|
| 37 | 48 |
#btn-gitterbox {
|
| ... | ... |
@@ -91,6 +102,10 @@ input[type=submit] {
|
| 91 | 102 |
} |
| 92 | 103 |
|
| 93 | 104 |
|
| 105 |
+#allesloeschen {
|
|
| 106 |
+ white-space: normal; |
|
| 107 |
+} |
|
| 108 |
+ |
|
| 94 | 109 |
#footer {
|
| 95 | 110 |
margin-top: 5em; |
| 96 | 111 |
} |
| ... | ... |
@@ -25,9 +25,9 @@ if (!isset($_SESSION['kartons'])) {
|
| 25 | 25 |
$headline = 'Ihr Auftrag'; |
| 26 | 26 |
$content = ''; |
| 27 | 27 |
if (isset($_REQUEST['error'])) {
|
| 28 |
- $content .= '<div class="panel panel-danger"> |
|
| 29 |
- <div class="panel-heading">Fehler</div> |
|
| 30 |
- <div class="panel-body">Bitte wählen Sie, in welche Gebinde wir abfüllen sollen.</div> |
|
| 28 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 29 |
+ <div class="card-header">Fehler</div> |
|
| 30 |
+ <div class="card-body">Bitte wählen Sie, in welche Gebinde wir abfüllen sollen.</div> |
|
| 31 | 31 |
</div>'; |
| 32 | 32 |
} |
| 33 | 33 |
|
| ... | ... |
@@ -42,8 +42,8 @@ $content .= ' |
| 42 | 42 |
<p>Welche Karton-Größen sollen wir für Sie herstellen?</p> |
| 43 | 43 |
|
| 44 | 44 |
<div class="form-group form-group-lg row"> |
| 45 |
- <div class="col-sm-6"><input type="submit" class="btn btn-block btn-lg btn-primary" id="btn-5er" name="5er" value="'.$gebrauchte.'5er"></div> |
|
| 46 |
- <div class="col-sm-6"><input type="submit" class="btn btn-block btn-lg btn-primary" id="btn-10er" name="10er" value="'.$gebrauchte.'10er"></div> |
|
| 45 |
+ <div class="col-sm-6"><input type="submit" class="btn btn-block btn-lg btn-light" id="btn-5er" name="5er" value="'.$gebrauchte.'5er"></div> |
|
| 46 |
+ <div class="col-sm-6"><input type="submit" class="btn btn-block btn-lg btn-light" id="btn-10er" name="10er" value="'.$gebrauchte.'10er"></div> |
|
| 47 | 47 |
</div> |
| 48 | 48 |
<div class="form-group form-group-lg"> |
| 49 | 49 |
<label for="sonstiges">Falls obiges nicht zutrifft, beschreiben Sie bitte hier Ihren Wunsch.</label> |
| ... | ... |
@@ -30,9 +30,9 @@ if (!isset($_SESSION['neue'])) {
|
| 30 | 30 |
$headline = 'Frischsaft'; |
| 31 | 31 |
$content = ''; |
| 32 | 32 |
if (isset($_REQUEST['error'])) {
|
| 33 |
- $content .= '<div class="panel panel-danger"> |
|
| 34 |
- <div class="panel-heading">Fehler</div> |
|
| 35 |
- <div class="panel-body">Bitte wählen Sie, ob Sie auch unpasteurisierten Saft möchten.</div> |
|
| 33 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 34 |
+ <div class="card-header">Fehler</div> |
|
| 35 |
+ <div class="card-body">Bitte wählen Sie, ob Sie auch unpasteurisierten Saft möchten.</div> |
|
| 36 | 36 |
</div>'; |
| 37 | 37 |
} |
| 38 | 38 |
|
| ... | ... |
@@ -5,9 +5,9 @@ session_start(); |
| 5 | 5 |
$headline = 'Gebrauchte Kartons'; |
| 6 | 6 |
$content = ''; |
| 7 | 7 |
if (isset($_REQUEST['error'])) {
|
| 8 |
- $content .= '<div class="panel panel-danger"> |
|
| 9 |
- <div class="panel-heading">Fehler</div> |
|
| 10 |
- <div class="panel-body">Bitte wählen Sie, ob Sie gebrauchte Bag-in-Box-Kartons abgestellt haben.</div> |
|
| 8 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 9 |
+ <div class="card-header">Fehler</div> |
|
| 10 |
+ <div class="card-body">Bitte wählen Sie, ob Sie gebrauchte Bag-in-Box-Kartons abgestellt haben.</div> |
|
| 11 | 11 |
</div>'; |
| 12 | 12 |
} |
| 13 | 13 |
|
| ... | ... |
@@ -4,9 +4,9 @@ session_start(); |
| 4 | 4 |
$headline = 'Ihr Obst'; |
| 5 | 5 |
$content = ''; |
| 6 | 6 |
if (isset($_REQUEST['error'])) {
|
| 7 |
- $content .= '<div class="panel panel-danger"> |
|
| 8 |
- <div class="panel-heading">Fehler</div> |
|
| 9 |
- <div class="panel-body">Bitte wählen Sie, wie Sie Ihr Obst angeliefert haben.</div> |
|
| 7 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 8 |
+ <div class="card-header">Fehler</div> |
|
| 9 |
+ <div class="card-body">Bitte wählen Sie, wie Sie Ihr Obst angeliefert haben.</div> |
|
| 10 | 10 |
</div>'; |
| 11 | 11 |
} |
| 12 | 12 |
|
| ... | ... |
@@ -4,9 +4,9 @@ session_start(); |
| 4 | 4 |
$headline = 'Ihr Obst'; |
| 5 | 5 |
$content = ''; |
| 6 | 6 |
if (isset($_REQUEST['error'])) {
|
| 7 |
- $content .= '<div class="panel panel-danger"> |
|
| 8 |
- <div class="panel-heading">Fehler</div> |
|
| 9 |
- <div class="panel-body">Bitte wählen Sie, wie Sie Ihr Obst anliefern möchten und geben Sie bei Anlieferung im Anhänger das Kennzeichen an.</div> |
|
| 7 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 8 |
+ <div class="card-header">Fehler</div> |
|
| 9 |
+ <div class="card-body">Bitte wählen Sie, wie Sie Ihr Obst angeliefert haben.</div> |
|
| 10 | 10 |
</div>'; |
| 11 | 11 |
} |
| 12 | 12 |
|
| ... | ... |
@@ -13,12 +13,12 @@ if (isset($_COOKIE['NUMBER'])) {
|
| 13 | 13 |
$number = $_COOKIE['NUMBER']; |
| 14 | 14 |
} |
| 15 | 15 |
if (isset($_REQUEST['error'])) {
|
| 16 |
- $content .= '<div class="panel panel-danger"> |
|
| 17 |
- <div class="panel-heading">Fehler</div>'; |
|
| 16 |
+ $content .= '<div class="card text-white bg-danger mb-3"> |
|
| 17 |
+ <div class="card-header">Fehler</div>'; |
|
| 18 | 18 |
if (isset($_REQUEST['num']) && trim($_REQUEST['num']) != '') {
|
| 19 |
- $content .= '<div class="panel-body">Die eingegebene Nummer scheint keine gültige Nummer zu sein.</div>'; |
|
| 19 |
+ $content .= '<div class="card-body">Die eingegebene Nummer scheint keine gültige Nummer zu sein.</div>'; |
|
| 20 | 20 |
} else {
|
| 21 |
- $content .= '<div class="panel-body">Bitte geben Sie unbedingt eine Telefonnummer an, damit wir Sie erreichen können.</div>'; |
|
| 21 |
+ $content .= '<div class="card-body">Bitte geben Sie unbedingt eine Telefonnummer an, damit wir Sie erreichen können.</div>'; |
|
| 22 | 22 |
} |
| 23 | 23 |
$content .= ' |
| 24 | 24 |
</div>'; |
| ... | ... |
@@ -40,7 +40,7 @@ $content .= ' |
| 40 | 40 |
<form class="form" action="save.php" method="post"> |
| 41 | 41 |
<input type="hidden" name="form" value="start"> |
| 42 | 42 |
<div class="form-group form-group-lg"> |
| 43 |
- <div class="input-group"><div class="input-group-prepend"><span class="input-group-text"><span class="fas fa-mobile-alt" aria-hidden="true"></span></span></div><input class="form-control" id="phone" name="phone" type="tel" placeholder="Telefonnummer" autocomplete="mobile tel" value="'.$number.'"></div> |
|
| 43 |
+ <div class="input-group"><div class="input-group-prepend"><span class="input-group-text"><span class="fas fa-mobile-alt" aria-hidden="true"></span></span></div><input class="form-control form-control-lg" id="phone" name="phone" type="tel" placeholder="Telefonnummer" autocomplete="mobile tel" value="'.$number.'"></div> |
|
| 44 | 44 |
<small class="form-text text-muted">Tipp: Wenn Sie hier eine Mobiltelefonnummer eingeben, werden Sie bequem per SMS benachrichtigt.</small> |
| 45 | 45 |
</div> |
| 46 | 46 |
<div class="form-group form-group-lg"> |
| ... | ... |
@@ -130,7 +130,7 @@ $content .= ' |
| 130 | 130 |
<div class="col-sm-10 col-xs-12"><label for="anmerkungen">Hier ist Platz für weitere Anmerkungen</label><textarea class="form-control" name="anmerkungen" placeholder="Weitere Anmerkungen">'.$_SESSION['anmerkungen'].'</textarea></div> |
| 131 | 131 |
</div> |
| 132 | 132 |
<div class="form-group form-group-lg row justify-content-center"> |
| 133 |
- <div class="col-10"><div class="checkbox"><label><input type="checkbox" id="agb" name="agb" value="ok">Ich habe <a id="terms-link" href="https://mosterei-wurst.de/so-einfach-gehts/anlieferung-ohne-termin/spielregeln-fuer-die-anlieferung-in-unsere-gitterboxen/" target="_blank">die Spielregeln</a> gelesen und bin damit einverstanden.</label></div></div> |
|
| 133 |
+ <div class="col-sm-10"><div class="checkbox form-control"><label><input type="checkbox" id="agb" name="agb" value="ok"> Ich habe <a id="terms-link" href="https://mosterei-wurst.de/so-einfach-gehts/anlieferung-ohne-termin/spielregeln-fuer-die-anlieferung-in-unsere-gitterboxen/" target="_blank">die Spielregeln</a> gelesen und bin damit einverstanden.</label></div></div> |
|
| 134 | 134 |
</div> |
| 135 | 135 |
<div class="form-group form-group-lg"> |
| 136 | 136 |
<div><input class="btn btn-primary btn-lg" type="submit" value="Auftrag absenden" name="submit" id="submit"></div> |
| ... | ... |
@@ -23,8 +23,8 @@ |
| 23 | 23 |
?> |
| 24 | 24 |
</head> |
| 25 | 25 |
<body> |
| 26 |
+ <div id="banner" class="mb-3 text-center"><img src="assets/images/banner.svg" width="244" height="65" alt="Mosterei Wurst - Murrhardt-Köchersberg - 07192-936436"></div> |
|
| 26 | 27 |
<div class="container text-center"> |
| 27 |
- <div><img src="assets/images/banner.png" width="280" height="66" alt="Mosterei Wurst - Murrhardt-Köchersberg - 07192-936436"></div> |
|
| 28 | 28 |
<h1><?= $headline ?></h1> |
| 29 | 29 |
<?= $content ?> |
| 30 | 30 |
<?php if (basename($_SERVER['PHP_SELF']) != 'finish.php') { ?>
|
| ... | ... |
@@ -61,7 +61,7 @@ |
| 61 | 61 |
</div> |
| 62 | 62 |
|
| 63 | 63 |
<div class="modal-footer"> |
| 64 |
- <button type="button" class="btn btn-light" data-dismiss="modal">Abbrechen</button> |
|
| 64 |
+ <button type="button" class="btn btn-outline-secondary" data-dismiss="modal">Abbrechen</button> |
|
| 65 | 65 |
<a class="btn btn-danger btn-ok">Eingaben löschen</a> |
| 66 | 66 |
</div> |
| 67 | 67 |
</div> |
| 68 | 68 |