diff --git a/php/php-dog/foundEmail.php b/php/php-dog/foundEmail.php index 68d0f46..caf4aaf 100644 --- a/php/php-dog/foundEmail.php +++ b/php/php-dog/foundEmail.php @@ -72,7 +72,7 @@ if (!filter_var($toEmail, FILTER_VALIDATE_EMAIL)) return; } -$subject = 'Tier gefunden: ' . $name .' ID: '. $qr_id; +$subject = 'Tier gefunden: ' . $name .' ID: '. $qr_id; // $headers = // array( diff --git a/php/php-dog/wantNewPw.php b/php/php-dog/wantNewPw.php index 4111279..e3a3878 100644 --- a/php/php-dog/wantNewPw.php +++ b/php/php-dog/wantNewPw.php @@ -43,18 +43,18 @@ function sendMail($email, $pwtoken) $mail = new CNetcupMailer(); $mail->CharSet = "UTF-8"; - $mail->setFrom('dog@hope-fly.de', 'Administrator'); + $mail->setFrom('dog@hope-fly.de', 'Administrator hope-fly.de/dog'); $mail->addAddress($email); //Add a recipient $mail->addReplyTo('No Reply'); $mail->isHTML(true); //Attachments //Content - $mail->Subject = 'Passwort zurücksetzen!'; + $mail->Subject = 'Ihr neues Passwort!'; $mail->Body = "
Gültig bis $expiresStr
-Setzen"; +Link gültig 30 Minuten bis $expiresStr
+Passwort setzen"; return $mail->send(); } diff --git a/src/components/ContactForm.css b/src/components/ContactForm.css index d54879a..5a4a7bf 100644 --- a/src/components/ContactForm.css +++ b/src/components/ContactForm.css @@ -53,6 +53,10 @@ div.flexCenter padding: 20px; justify-content: center; width: 60%; + + padding: 10px; + border-style: solid; + border-width: 2px; } .formForm @@ -92,6 +96,7 @@ div.flexCenter { display: flex; flex-direction: column; + align-items: center; } .textArea diff --git a/src/components/InputForm.css b/src/components/InputForm.css index b552d12..e251df5 100644 --- a/src/components/InputForm.css +++ b/src/components/InputForm.css @@ -1,8 +1,30 @@ .InputForm form { - width: 65%; display: flex; flex-direction: column; align-items: flex-end; } + +.InputForm +.frame +{ + padding: 10px; + margin: 10px; + border: 2px; + border-radius: 5px; + border-style: solid; + + + display: flex; + flex-direction: column; + align-items: center; +} + +.InputForm +.frameCenter +{ + align-items: center; + display: flex; + flex-direction: column; +} diff --git a/src/components/Login.tsx b/src/components/Login.tsx index 028f1ad..13a9e83 100644 --- a/src/components/Login.tsx +++ b/src/components/Login.tsx @@ -70,13 +70,14 @@ const Login = () =>