WyR/app/templates/admin/login.html

45 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Admin Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<header class="app-header">
<a class="brand" href="{{ url_for('public.home') }}">wyr</a>
<nav class="site-nav">
<a href="{{ url_for('public.home') }}">Public Site</a>
</nav>
</header>
<main class="page admin-page">
<section class="main-card admin-card">
<p class="eyebrow">Restricted</p>
<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>
</section>
</main>
<footer class="app-footer">
<span>secure area</span>
<span>session auth</span>
</footer>
</body>
</html>