123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <%--
- 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="#">О проекте</a>
- <a class="nav-link" href="#">Создать аккаунт</a>
- <a class="nav-link" href="#">Контакты</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="student">Исполнитель</spring:option>
- <spring:option value="admin">Администратор</spring:option>
- <spring:option value="owner">Заказчик</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>©2017 Mephorce</span>
- </footer>
- </body>
- </html>
|