|
@@ -9,23 +9,48 @@
|
|
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
|
|
<html>
|
|
|
<head>
|
|
|
- <title>reg admin</title>
|
|
|
+ <title>Регистрация Администратора</title>
|
|
|
+ <style type="text/css">
|
|
|
+ <%@include file="../cssforpr.css" %>
|
|
|
+ <%@include file="../bootstrap.min.css" %>
|
|
|
+ </style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<%--
|
|
|
Все сообщения ${<название сообщения} буду ошибками в случае неправильного заполнения/ не заполнения поля, около которого появляется
|
|
|
--%>
|
|
|
-<spring:form method="post" modelAttribute="admin" action="regAdminAction">
|
|
|
- <spring:input path="modFamily" type="text" placeholder="Фамилия"/>${famMessage} <br/>
|
|
|
- <spring:input path="modFirstName" type="text" placeholder="Имя"/>${nameMessage} <br/>
|
|
|
- <spring:input path="modSecName" type="text" placeholder="Отчество"/>${secNameMessage} <br/>
|
|
|
- <spring:input path="modEmail" type="text" placeholder="E-mail"/>${emailMessage} <br/>
|
|
|
- <spring:input path="modHometown" type="text" placeholder="Город"/>${hometownMessage} <br/>
|
|
|
- <spring:input path="modPhone" type="text" placeholder="Телефон"/>${phoneMessage} <br/>
|
|
|
- <spring:input path="modBirthdate" type="date" placeholder="День рождения"/>${birthMessage} <br/>
|
|
|
- <spring:input path="modPassword" type="password" placeholder="Пароль"/>${passMessage} <br/>
|
|
|
- ${errorMessage}<br/>
|
|
|
- <spring:button>Зарегистрироваться</spring:button>
|
|
|
-</spring:form>
|
|
|
+
|
|
|
+<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">
|
|
|
+
|
|
|
+ <spring:form method="post" modelAttribute="admin" action="regAdminAction">
|
|
|
+ <h1>Регистрация Администратора</h1>
|
|
|
+ <spring:input path="modFamily" type="text" placeholder="Фамилия"/>${famMessage} <br/>
|
|
|
+ <spring:input path="modFirstName" type="text" placeholder="Имя"/>${nameMessage} <br/>
|
|
|
+ <spring:input path="modSecName" type="text" placeholder="Отчество"/>${secNameMessage} <br/>
|
|
|
+ <spring:input path="modEmail" type="text" placeholder="E-mail"/>${emailMessage} <br/>
|
|
|
+ <spring:input path="modHometown" type="text" placeholder="Город"/>${hometownMessage} <br/>
|
|
|
+ <spring:input path="modPhone" type="text" placeholder="Телефон"/>${phoneMessage} <br/>
|
|
|
+ <spring:input path="modBirthdate" type="date" placeholder="День рождения"/>${birthMessage} <br/>
|
|
|
+ <spring:input path="modPassword" type="password" placeholder="Пароль"/>${passMessage} <br/>
|
|
|
+ ${errorMessage}<br/>
|
|
|
+ <spring:button>Зарегистрироваться</spring:button>
|
|
|
+ </spring:form>
|
|
|
+</div>
|
|
|
+
|
|
|
+<footer class="main-footer">
|
|
|
+ <span>©2017 Mephorce</span>
|
|
|
+</footer>
|
|
|
+
|
|
|
</body>
|
|
|
</html>
|