58 lines
2.5 KiB
PHP
58 lines
2.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Registrieren</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
</head>
|
|
<body class="bg-gray-100 flex items-center justify-center min-h-screen">
|
|
|
|
<div class="bg-white shadow-md rounded-lg p-8 w-full max-w-md">
|
|
<h2 class="text-2xl font-bold mb-6 text-center">Registrieren</h2>
|
|
|
|
<form action="#" method="POST" class="space-y-5">
|
|
<div>
|
|
<label for="vorname" class="block text-sm font-medium text-gray-700">Vorname</label>
|
|
<input type="text" id="vorname" name="vorname" required
|
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="nachname" class="block text-sm font-medium text-gray-700">Nachname</label>
|
|
<input type="text" id="nachname" name="nachname" required
|
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="email" class="block text-sm font-medium text-gray-700">E-Mail</label>
|
|
<input type="email" id="email" name="email" required
|
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="password" class="block text-sm font-medium text-gray-700">Passwort</label>
|
|
<input type="password" id="password" name="password" required
|
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="passwordWid" class="block text-sm font-medium text-gray-700">Passwort bestätigen</label>
|
|
<input type="password" id="passwordWid" name="passwordWid" required
|
|
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500">
|
|
</div>
|
|
|
|
<button type="submit" name="submit"
|
|
class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 transition duration-200">
|
|
Registrieren
|
|
</button>
|
|
</form>
|
|
|
|
<p class="mt-6 text-center text-sm text-gray-600">
|
|
Schon ein Konto? <a href="<?= PROJEKT_URL ?>/Login" class="text-blue-600 hover:underline">Login</a>
|
|
</p>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|