HighscoresServerTest/server/templates/auth.html

23 lines
No EOL
863 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="auth">
<h2>Login</h2>
<form action="" method="POST">
<input type="text" name="username" placeholder="Username | Email" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
</div>
<p style="text-align: center;">or</p>
<div class="auth">
<h2>Register</h2>
<form action="" method="POST">
<input type="text" name="username" placeholder="Username" required>
<input type="email" name="email" placeholder="Email - Optional">
<input type="password" name="password" placeholder="Password" required>
<button type="submit" class="secondary">Register</button>
</form>
</div>
{% endblock %}