creation des page d'evaluation
This commit is contained in:
70
YACOSWeb/WebContent/WEB-INF/jsp/evaluation.jsp
Normal file
70
YACOSWeb/WebContent/WEB-INF/jsp/evaluation.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||
<!--
|
||||
<%@ page session="false" %> spring -> true par defaut
|
||||
-->
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title><fmt:message key="title"/></title>
|
||||
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||
<div class="mainBloc">
|
||||
<div class="header"> </div>
|
||||
<div class="content">
|
||||
|
||||
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||
<div id="main_content">
|
||||
|
||||
<h2 align="center"><fmt:message key="evaluation.title"/></h2>
|
||||
|
||||
|
||||
|
||||
<form:form method="post" commandName="evaluationForm">
|
||||
|
||||
<table>
|
||||
<c:forEach items="${simpleRatings}" var="criterion" varStatus="j">
|
||||
|
||||
<tr>
|
||||
<td>${criterion.name}</td>
|
||||
|
||||
<c:forEach varStatus="i" begin="${criterion.min_rating}" end="${criterion.max_rating}">
|
||||
|
||||
<td>${i}</td>
|
||||
|
||||
<td><form:radiobutton path="simpleRatings[${j.index}].value" value="${i}" /></td>
|
||||
</c:forEach>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
<tr>
|
||||
<td><fmt:message key="evaluation.commentAuthor"/></td>
|
||||
<td><form:input path="commentAuthor"/></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><fmt:message key="evaluation.commentPCMember"/></td>
|
||||
<td><form:input path="commentPCMember"/></td>
|
||||
<tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/>
|
||||
|
||||
</form:form>
|
||||
|
||||
<a href="<c:url value="main.htm"/>">Home</a>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer"> </div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user