23 lines
646 B
HTML
23 lines
646 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>mxPIC EDA - Login</title>
|
|
</head>
|
|
<body>
|
|
<h2>Login to mxPIC System</h2>
|
|
<!-- The form sends data to the /login route in server.py -->
|
|
<form action="/login" method="POST">
|
|
<label>Username:</label><br>
|
|
<input type="text" name="username" required><br><br>
|
|
|
|
<label>Password:</label><br>
|
|
<input type="password" name="password" required><br><br>
|
|
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
<!-- Display error messages if login fails -->
|
|
{% if error %}
|
|
<p style="color:red;">{{ error }}</p>
|
|
{% endif %}
|
|
</body>
|
|
</html> |