88<body >
99<jsp:include page =" fragments/bodyHeader.jsp" />
1010
11- <section >
12- <h3 ><spring:message code =" user.title" /></h3 >
13-
14- <table border =" 1" cellpadding =" 8" cellspacing =" 0" >
15- <thead >
16- <tr >
17- <th ><spring:message code =" user.name" /></th >
18- <th ><spring:message code =" user.email" /></th >
19- <th ><spring:message code =" user.roles" /></th >
20- <th ><spring:message code =" user.active" /></th >
21- <th ><spring:message code =" user.registered" /></th >
22- </tr >
23- </thead >
24- <c:forEach items =" ${ requestScope. users } " var =" user" >
25- <jsp:useBean id =" user" type =" ru.javawebinar.topjava.model.User" />
11+ <div class =" jumbotron pt-4" >
12+ <div class =" container" >
13+ <h3 class =" text-center" ><spring:message code =" user.title" /></h3 >
14+ <button class =" btn btn-primary" >
15+ <span class =" fa fa-plus" ></span >
16+ <spring:message code =" common.add" />
17+ </button >
18+ <table class =" table table-striped mt-3" >
19+ <thead >
2620 <tr >
27- <td ><c:out value =" ${ user. name } " /></td >
28- <td ><a href =" mailto:${ user. email } " >${ user. email } </a ></td >
29- <td >${ user. roles } </td >
30- <td >${ user. enabled } </td >
31- <td ><fmt:formatDate value =" ${ user. registered } " pattern =" dd-MM-yyyy" /></td >
21+ <th ><spring:message code =" user.name" /></th >
22+ <th ><spring:message code =" user.email" /></th >
23+ <th ><spring:message code =" user.roles" /></th >
24+ <th ><spring:message code =" user.active" /></th >
25+ <th ><spring:message code =" user.registered" /></th >
26+ <th ></th >
27+ <th ></th >
3228 </tr >
33- </c:forEach >
34- </table >
35- </section >
29+ </thead >
30+ <c:forEach items =" ${ requestScope. users } " var =" user" >
31+ <jsp:useBean id =" user" type =" ru.javawebinar.topjava.model.User" />
32+ <tr >
33+ <td ><c:out value =" ${ user. name } " /></td >
34+ <td ><a href =" mailto:${ user. email } " >${ user. email } </a ></td >
35+ <td >${ user. roles } </td >
36+ <td ><input type =" checkbox" <c:if test =" ${ user. enabled } " >checked</c:if >/></td >
37+ <td ><fmt:formatDate value =" ${ user. registered } " pattern =" dd-MMMM-yyyy" /></td >
38+ <td ><a ><span class =" fa fa-pencil" ></span ></a ></td >
39+ <td ><a ><span class =" fa fa-remove" ></span ></a ></td >
40+ </tr >
41+ </c:forEach >
42+ </table >
43+ </div >
44+ </div >
3645<jsp:include page =" fragments/footer.jsp" />
3746</body >
3847</html >
0 commit comments