human_evaluator / templates /login.html
iyadsultan's picture
first com,mit
fd62e61
<!-- templates/login.html -->
<!DOCTYPE html>
<html>
<head>
<title>Login - Human Notes Evaluator</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<style>
.login-container {
max-width: 400px;
margin: 100px auto;
padding: 20px;
text-align: center;
background: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
.login-btn {
width: 100%;
margin-top: 20px;
}
.resource-links {
margin-top: 30px;
text-align: center;
}
.resource-links a {
display: inline-block;
margin: 0 10px;
color: #3498db;
text-decoration: none;
}
.resource-links a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="login-container">
<h1>Human Notes Evaluator</h1>
<form method="POST">
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit" class="submit-btn login-btn">Login</button>
</form>
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
</div>
<div class="resource-links">
<a href="{{ url_for('view_instructions') }}">View Instructions</a> |
<a href="{{ url_for('download_instructions') }}">Download Instructions</a> |
<a href="{{ url_for('download_template') }}">Download Template CSV</a>
</div>
</body>
</html>