WyR/app/templates/admin/login.html

33 lines
848 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Admin Login</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<main class="page admin-page">
<nav class="site-nav">
<a href="{{ url_for('public.home') }}">Public Site</a>
</nav>
<h1>Admin Login</h1>
{% for message in get_flashed_messages() %}
<p class="error">{{ message }}</p>
{% endfor %}
<form class="admin-form" action="{{ url_for('admin.login') }}" method="POST">
<label for="username">Username</label>
<input id="username" name="username" type="text" required>
<label for="password">Password</label>
<input id="password" name="password" type="password" required>
<button class="button-compact" type="submit">Log In</button>
</form>
</main>
</body>
</html>