<%--
  Created by IntelliJ IDEA.
  User: Кинетик
  Date: 28.12.2016
  Time: 18:51
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="../bootstrap.min.css" rel="stylesheet">

<html>

<head>
  <title>Login Page</title>
  <style type="text/css">
    <%@include file="../cssforpr.css" %>
    <%@include file="../bootstrap.min.css" %>
  </style>
</head>

<body>

<div class="inner">
    <h3 class="masthead-brand">Mephorce</h3>
    <nav class="nav nav-masthead">
        <a class="nav-link active" href="/">Войти</a>
        <a class="nav-link" href="/aboutUs">О проекте</a>
        <a class="nav-link" href="/registrate">Создать аккаунт</a>
        <a class="nav-link" href="/contacts">Контакты</a>
    </nav>
</div>

    <div class="logo"></div>
    <div class="login-block">
  <h1>Вход в систему</h1>
  <spring:form method="post"  modelAttribute="userJSP" action="check-user">
     <spring:select path="name" type="text" value="" placeholder="Логин" id="username">
         <spring:option value="исполнитель">Исполнитель</spring:option>
         <spring:option value="модератор">Администратор</spring:option>
         <spring:option value="заказчик">Заказчик</spring:option>
     </spring:select> <br/>
     <spring:input path="password" type="password" value="" placeholder="Пароль" id="password"/>   <br/>
    ${message}<br/>
    <spring:button>Вход</spring:button>
  </spring:form>
</div>

<footer class="main-footer">
    <span>&copy;2017 Mephorce</span>
</footer>

</body>

</html>
