<!DOCTYPE html>
<html lang="en"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="default" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<nav layout:fragment="navbar">
    <div class="navbar-header">
        <a class="navbar-brand" href="/"><span class="ui-menuitem-text"><i
                class="fa fa-plane fa-4" aria-hidden="true"></i> Balance</span></a>
    </div>
</nav>
<div layout:fragment="content">
    <section class="bg-light" id="portfolio">
        <div class="container">
            <div class="row justify-content-md-center">
                <div class="col-lg-6">
                    <form th:action="@{/login}" method="post" class="margined-top-10">
                        <fieldset>
                            <div class="form-group">
                                <input type="text" name="username" id="username" class="form-control"
                                       placeholder="Логин" required="true" autofocus="true"/>
                            </div>
                            <div class="form-group">
                                <input type="password" name="password" id="password" class="form-control"
                                       placeholder="Пароль" required="true"/>
                            </div>
                            <button type="submit" class="btn btn-success btn-block">Войти</button>
                            <div class="form-group">
                                <small class="form-text text-muted">
                                    <a href="/resetRequest">Забыли пароль?</a>
                                </small>
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
    </section>
</div>
</body>
</html>