Added alerts to login and signup pate

This commit is contained in:
2024-01-05 13:56:46 +00:00
parent f1065b8150
commit c6ef411930
5 changed files with 101 additions and 10 deletions

View File

@ -1,5 +1,3 @@
<link rel="stylesheet" href="{{url_for('static', filename='css/loginform.css')}}" />
<div id="login-form-wrap">
<h2>Login</h2>
<form class="login-form" method="POST">
@ -7,6 +5,16 @@
<input type="password" id="password" name="password" placeholder="Password" required>
<input type="submit" id="login" value="Login">
</form>
{% if error != None %}
<label>
<input type="checkbox" class="alertCheckbox" autocomplete="off" />
<div class="alert error">
<span class="alertClose">X</span>
<span class="alertText">{{error}}
<br class="clear"/></span>
</div>
</label>
{% endif %}
<div id="create-account-wrap">
<p>Not a member? <a href="signup">Create Account</a><p>
</div>