Consistent styling on login screen

Adjustment of the way sessions are displayed
Removing useless styling
This commit is contained in:
Michał Gdula 2023-06-13 01:38:32 +03:00
parent 26ce573726
commit 22b5fa13fb
7 changed files with 101 additions and 135 deletions

View file

@ -4,9 +4,17 @@
<h2>Login</h2>
<p>Welcome back!</p>
<form action="{{ url_for('auth.login') }}" method="POST">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
<span class="text-input">
<label for="login-username">Username</label>
<input type="text" name="username" placeholder="Jerry" id="login-username" required>
</span>
<span class="text-input">
<label for="login-password">Password</label>
<input type="password" name="password" placeholder="password123" id="login-password" required>
</span>
<button type="submit" class="button primary">Login</button>
</form>
</div>
@ -14,9 +22,17 @@
<h2>Register</h2>
<p>Don't have an account? Register here!</p>
<form action="{{ url_for('auth.register') }}" method="POST">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Register</button>
<span class="text-input">
<label for="register-username">Username</label>
<input type="text" name="username" placeholder="Jerry" id="register-username" required>
</span>
<span class="text-input">
<label for="register-password">Password</label>
<input type="password" name="password" placeholder="password123" id="register-password" required>
</span>
<button type="submit" class="button primary">Register</button>
</form>
</div>
{% endblock %}