register.html 1.7 KB

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html lang="el">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Εγγραφή - WiSearch</title>
  6. <style>
  7. body { background: #202124; color: #bdc1c6; font-family: Arial; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; }
  8. .box { background: #292a2d; padding: 40px; border-radius: 8px; border: 1px solid #3c4043; width: 300px; text-align: center; }
  9. h2 { color: #81c995; margin-bottom: 25px; }
  10. input { background: #303134; border: 1px solid #3c4043; color: white; padding: 12px; margin-bottom: 15px; width: 100%; border-radius: 4px; box-sizing: border-box; }
  11. button { background: #81c995; color: #202124; border: none; padding: 12px; width: 100%; border-radius: 4px; cursor: pointer; font-weight: bold; }
  12. </style>
  13. </head>
  14. <body>
  15. <div class="box">
  16. <h2>Δημιουργία Λογαριασμού</h2>
  17. {% with messages = get_flashed_messages() %}
  18. {% if messages %}{% for msg in messages %}<div style="color:#f28b82; margin-bottom:15px;">{{ msg }}</div>{% endfor %}{% endif %}
  19. {% endwith %}
  20. <form method="POST">
  21. <input type="text" name="username" placeholder="Επιθυμητό Username" required>
  22. <input type="password" name="password" placeholder="Password" required>
  23. <button type="submit">Εγγραφή</button>
  24. </form>
  25. <p style="margin-top: 20px; font-size: 13px;">Έχετε ήδη λογαριασμό; <a href="/login" style="color: #8ab4f8;">Σύνδεση</a></p>
  26. <p><a href="/" style="color: #9aa0a6; font-size: 11px; text-decoration: none;">← Επιστροφή στην αναζήτηση</a></p>
  27. </div>
  28. </body>
  29. </html>