Blame view

src/main/webapp/WEB-INF/pages/login.jsp 1.48 KB
322c9502   Julien Cartigny   Ad Spring securit...
1
2
  <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
f130c6a2   jcartign   Removing boostrap...
3
4
5
6
7
  
  <jsp:include page="header.jsp">
      <jsp:param name="pageTitle" value="Login page"/>
  </jsp:include>
  
322c9502   Julien Cartigny   Ad Spring securit...
8
  <c:url value="/login" var="loginUrl"/>
c1d2852e   Zak   Ajout css
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  
  
  <div class="container-fluid"/>
  
      
  <h1 class="name">CONNEXION</h1>
          <div class="panel panel-info  signInForm ">
              <div class="panel-body">
                    <form action="${loginUrl}" method="post" >
                          <b><c:out value="${message}"></c:out></b>
                          <div class="form-group">
                              <label for="username">Username</label>
                              <input class="form-control" type="text" id="username" name="username"/>                        
                          </div>
                          <div class="form-group">
                              <label for="password">Password</label>
                              <input class="form-control" type="password" id="password" name="password"/>
                          </div>
                          <input type="hidden"
                                 name="${_csrf.parameterName}"
                                 value="${_csrf.token}"/>
                          <div class="text-center">
                          <button type="submit" class="btn btn-info">Log in</button>
                          </div>
                  </form>
              </div>
          </div>
          
      
  </div>
  
  
a8656157   Julien Cartigny   Support for boots...
41
  <jsp:include page="footer.jsp"/>