📄 groupview.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 errorPage="/exception.jsp" language="java" buffer="64kb" %><%@ 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.groupview" /></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/adminusers_big.gif" alt="Groups admin" /> <fmt:message key="h1.admin.groupview" /></h1> <c:if test="${actionFeedback != null}"> <p class="feedback"> <c:out value="${actionFeedback}" /> </p> </c:if> <cybertester:hierarchyNode hierarchyNodeId="${groupData.parentId}" /> <table width="100%" class="viewer" > <tr> <th width="1%" class="label"><fmt:message key="label.admin.groupview.id" /></th> <td width="99%" class="value"><c:out value="${groupData.id}" /></td> </tr> <tr> <th width="1%" class="label"><fmt:message key="label.admin.groupview.name" /></th> <td width="99%" class="value"><c:out value="${groupData.name}" /></td> </tr> <tr> <th width="1%" class="label"><fmt:message key="label.admin.groupview.users" /></th> <td width="99%" class="value"> <ul> <c:forEach var="user" items="${groupData.users}" > <li><c:out value="${user.login}" /></li> </c:forEach> </ul> </td> </tr> </table> <c:choose> <c:when test="${(testList != null) and (! empty testList) }"> <form id="assignTestsForm" name="assignTestsForm" action="<cyberdemia:encodeUrl>/admin/assocTestsToGroup.do</cyberdemia:encodeUrl>" method="post" > <input type="hidden" name="groupId" value="<c:out value="${groupData.id}" />" /> <table width="95%" class="editor" style="margin-top:10px;"> <tr> <th colspan="2" class="label"><fmt:message key="label.admin.groupview.assocTests" /></th> </tr> <c:forEach var="test" items="${testList}"> <tr> <td width="99%"><c:out value="${test.name}" /></td> <td width="1%"><input type="checkbox" name="<c:out value="${assocParamPrefix}" /><c:out value="${test.id}" />" value="true" /></td> </tr> </c:forEach> <tr> <td colspan="2" class="label"> <input type="submit" value="<fmt:message key="label.button.admin.groupview.assocTests" />" /> </td> </tr> </table> </form> <div class="footnotes"><fmt:message key="text.admin.groupview.assocTests.footnote" /></div> </c:when> <c:otherwise> <p> <fmt:message key="text.admin.groupview.assocTests.noTest" /> </p> </c:otherwise> </c:choose> <hr /> <p> <html:link page="/admin/getGroups.do"><html:img page="/images/magnifier.gif" alt="Click to search for Groups" /> <fmt:message key="label.link.admin.groupview.searchGroup" /></html:link> </p> <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 + -