📄 testview.jsp
字号:
<%-- * CyberTester - J2EE Web application for creating, delivering and managing tests/exams/surveys. * Copyright (C) 2004 CyberDemia Research and Services Pty Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program (see the file COPYING); if not, write to the * Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * See the COPYING file located in the top-level-directory of * the archive of this program for complete text of license.--%><%@ page language="java" %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/c.tld" prefix="c" %><%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt" %><%@ taglib uri="/WEB-INF/cd_core.tld" prefix="cyberdemia" %><%@ taglib uri="/WEB-INF/cd_cybertester.tld" prefix="cybertester" %><html:html xhtml="true"> <head> <title><fmt:message key="title.admin.testview" /></title> <meta http-equiv="pragmas" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <link rel="stylesheet" href="<%= request.getContextPath() %>/cybertester.css" type="text/css" /> <link rel="stylesheet" href="<%= request.getContextPath() %>/admin/admin.css" type="text/css" /> <html:base/> </head> <body> <%@ include file="/include/header.jsp" %> <h1><html:img page="/images/admintests_big.gif" alt="Tests admin" /> <fmt:message key="h1.admin.testview" /></h1> <cybertester:hierarchyNode hierarchyNodeId="${testData.owner.hierarchyId}" /> <table width="100%" class="viewer" > <tr> <th width="1%" class="label"><fmt:message key="label.admin.testview.name" /></th> <td width="99%" class="value"><c:out value="${testData.name}" /></td> </tr> <tr> <th width="1%" class="label"><fmt:message key="label.admin.testview.passing" /></th> <td width="99%" class="value"><c:out value="${testData.passPercentage}" /></td> </tr> <c:if test="${testData.timeLimitSeconds gt 0}" > <tr> <th width="1%" class="label"><html:img page="/images/clock.gif" alt="This test has a time limit" /><fmt:message key="label.admin.testview.timeLimit" /></th> <td width="99%" class="value"><c:out value="${testData.timeLimitSeconds}" /> <fmt:message key="label.admin.testview.timeLimit.seconds" /></td> </tr> </c:if> </table> <p> <html:link page="/admin/editTest.do?mode=edit" paramId="testId" paramName="testData" paramProperty="id" > <html:img page="/images/pencil.gif" alt="Edit Test" /> <fmt:message key="label.link.admin.testview.editTest" /> </html:link> </p> <c:choose> <c:when test="${testData.relatedResourcesCount gt 0}"> <hr /> <table width="80%" class="viewer" > <tr><th class="label" colspan="3"><fmt:message key="label.admin.testview.questions" /></th></tr> <tr> <th class="label" width="1%"><fmt:message key="label.admin.testview.question.name" /></th> <th class="label" width="1%"><fmt:message key="label.admin.testview.question.score" /></th> <th class="label" width="98%"><fmt:message key="label.admin.testview.question.content" /></th> </tr> <c:forEach var="relResource" items="${testData.relatedResources}"> <tr> <td class="value" nowrap="nowrap"><c:out value="${relResource.name}" /></td> <td class="value"><c:out value="${relResource.properties.score}" /></td> <td class="value"><c:out value="${relResource.properties.description}" /></td> </tr> </c:forEach> </table> </c:when> <c:otherwise> <div><fmt:message key="label.admin.testview.noQuestions" /></div> </c:otherwise> </c:choose> <hr /> <p> <html:link page="/admin/goAdmin.do"><html:img page="/images/home.gif" alt="Click to return to Admin Home" /> <fmt:message key="label.link.adminHome" /></html:link> </p> <%@ include file="/include/footer.jsp" %> </body></html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -