📄 quesview.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" %><html:html xhtml="true"> <head> <title><fmt:message key="title.quesview" /></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() %>/testee/testee.css" type="text/css" /> <html:base/> </head> <body> <table width="100%" class="viewer"> <tr> <th width="1%" class="label"><fmt:message key="label.quesview.title" /></th> <td width="99%" class="value"><c:out value="${quesData.name}" /></td> </tr> <tr> <th width="1%" class="label"><fmt:message key="label.quesview.difficulty" /></th> <td width="99%" class="value"><c:out value="${quesData.difficulty.name}" /></td> </tr> <c:if test="${quesData.timeLimitSeconds > 0}" > <tr> <th width="1%" class="label"><html:img page="/images/clock.gif" alt="This question has a time limit" /><fmt:message key="label.quesview.timeLimit" /></th> <td width="99%" class="value"><c:out value="${quesData.timeLimitSeconds}" /> <fmt:message key="label.quesview.timeLimit.seconds" /></td> </tr> </c:if> <tr> <th colspan="2" class="label"><fmt:message key="label.quesview.question" /></th> </tr> <tr > <td colspan="2" class="value"><pre><c:out value="${quesData.question}" /></pre></td> </tr> <c:if test="${not empty quesData.hint}" > <tr > <th colspan="2" class="label"><fmt:message key="label.quesview.hint" /></th> </tr> <tr > <td colspan="2" class="value"><pre><c:out value="${quesData.hint}" /></pre></td> </tr> </c:if> <tr> <th width="1%" class="label"><fmt:message key="label.quesview.type" /></th> <td width="99%" class="value"><c:out value="${typeStr}" /></td> </tr> <c:choose> <c:when test="${not empty formattedChoices}" > <tr> <th colspan="2" class="label"><fmt:message key="label.quesview.answerChoices" /></th> </tr> <tr> <td colspan="2" class="value"> <ol type="1" start="0"> <c:forEach var="choice" items="${formattedChoices}" > <li <c:if test="${choice.correct}">class="correctChoice"</c:if> > <pre><c:out value="${choice.text}" /></pre> </li> </c:forEach> </ol> </td> </tr> </c:when> <c:when test="${not empty quesData.answer}" > <tr> <th colspan="2" class="label"><fmt:message key="label.quesview.keywords" /></th> </tr> <tr> <td colspan="2" class="value"> <c:if test="${quesData.mustMatchAllKeywords}" > <div><fmt:message key="text.quesview.mustMatchAllKeywords" /></div> </c:if> <ol type="1" start="0"> <c:forTokens var="keyword" items="${quesData.answer}" delims="," > <li><c:out value="${keyword}" /></li> </c:forTokens> </ol> </td> </tr> </c:when> </c:choose> <c:if test="${not empty quesData.explanation}" > <tr> <th colspan="2" class="label"><fmt:message key="label.quesview.explanation" /></th> </tr> <tr> <td colspan="2" class="value"><pre><c:out value="${quesData.explanation}" /></pre></td> </tr> </c:if> </table> <hr /> <p> <a href="javascript:window.close()"><fmt:message key="label.link.closeWindow" /></a> </p> </body></html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -