Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions neo_dolfin/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@
<!-- <img src="../static/img/title.png" alt="Title_login" class="Title_login"> -->
<img src="../static/img/style.png" alt="style" class="style">
<div class="input_area">
<form method="POST" action="/login">
<input type="text" name="email" class="form-control" placeholder="Email" required>
<form method="POST" action="/login">
<input type="text" name="username" class="form-control" placeholder="Username" required>
<input type="password" name="password" class="form-control" placeholder="Password" required>
<!-- Add the toggle button for password visibility -->
<button type="button" id="togglePassword">Show</button>
<div class="link-container">
<a href="./register" class="auth-link">
<div>New to DolFin?</div>
<div>Register Here</div>
</a>

<a href="./resetpw" class="auth-link">Forgot Password?</a>
<a href="#" class="auth-link">Forgot Password?</a>
</div>
<input type="submit" class="btn float-right" value="Login" style="font-weight: bold;">
</form>
Expand Down Expand Up @@ -117,4 +119,4 @@
<script language="JavaScript" type="text/javascript" src="{{url_for('static', filename='js/login.js')}}"></script>

</body>
</html>
</html>