<!doctype html>
<html lang="ru">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Admin Login</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/login.css') }}" />
</head>
<body>
  <form method="post">
    <h1>Редактор матрицы</h1>
    {% if error %}<p class="error">{{ error }}</p>{% endif %}
    <input type="hidden" name="action" value="login" />
    <input name="username" placeholder="Логин" autocomplete="username" required />
    <input type="password" name="password" placeholder="Пароль" autocomplete="current-password" required />
    <button type="submit">Войти</button>
  </form>
</body>
</html>
