EduConnect / app /admin /templates /admin_login.html
dtyago's picture
Cleanup code for better UX
5b1d21d
raw
history blame contribute delete
No virus
795 Bytes
<html>
<head>
<title>EduConnect Administration - login page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/css/mvp.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<h1>Please login</h1>
<br>
<form action="/admin/login" method="post">
<input type="text" placeholder="Username" name="username" value="{{
request.form.username }}">
<input type="password" placeholder="Password" name="password" value="{{
request.form.password }}">
<input class="btn btn-default" type="submit" value="Login">
</form>
{% if error %}
<p class="error"><strong>Error:</strong> {{ error }}
{% endif %}
</div>
</body>
</html>