<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <script type="text/javascript" src="/webjars/jquery/3.6.0/jquery.min.js"></script>
</head>
<body>
    <div class="container" layout:fragment="content">
        <div th:if="${param.error}" class="alert alert-danger margin-bottom">
            Пользователь не найден или пароль указан не верно
        </div>
        <div th:if="${param.logout}" class="alert alert-success margin-bottom">
            Выход успешно произведен
        </div>
        <form th:action="@{/login}" method="post" class="container-padding">
            <div class="mb-3">
                <input type="text" name="username" id="username" class="form-control“
    placeholder="Логин" required="true" autofocus="true"/>
            </div>
            <div class="mb-3">
                <input type="password" name="password" id="password" class="form-control“
    placeholder="Пароль" required="true"/>
            </div>
            <button type="submit" class="btn btn-success button-fixed">Войти</button>
        </form>
    </div>
</body>
</html>