Index: lams_tool_spreadsheet/.settings/org.jboss.ide.eclipse.as.core.prefs =================================================================== diff -u --- lams_tool_spreadsheet/.settings/org.jboss.ide.eclipse.as.core.prefs (revision 0) +++ lams_tool_spreadsheet/.settings/org.jboss.ide.eclipse.as.core.prefs (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.jboss.ide.eclipse.as.core.singledeployable.deployableList= Index: lams_tool_spreadsheet/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_spreadsheet/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -119,6 +119,6 @@ label.off =Off label.submit =Finish label.search =Search... +label.refresh = Refresh - #======= End labels: Exported 114 labels for en AU ===== Index: lams_tool_spreadsheet/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_spreadsheet/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -120,6 +120,6 @@ label.off =Off label.submit =Finish label.search =Search... +label.refresh = Refresh - #======= End labels: Exported 114 labels for en AU ===== Index: lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/model/SpreadsheetUser.java =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/model/SpreadsheetUser.java (.../SpreadsheetUser.java) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/model/SpreadsheetUser.java (.../SpreadsheetUser.java) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -251,5 +251,17 @@ public void setAccessDate(Date accessDate) { this.accessDate = accessDate; } + + /** Username displayed in monitoring */ + public String getFullUsername() { + StringBuilder buf = new StringBuilder(); + buf.append(getLastName()) + .append(" ") + .append(getFirstName()) + .append(" (") + .append(getLoginName()) + .append(")"); + return buf.toString(); + } } Index: lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/MonitoringAction.java =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/MonitoringAction.java (.../MonitoringAction.java) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/MonitoringAction.java (.../MonitoringAction.java) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -169,8 +169,7 @@ SpreadsheetUser user = (SpreadsheetUser) userAndReflection[0]; responseRow.put(SpreadsheetConstants.ATTR_USER_UID, user.getUid()); - responseRow.put(SpreadsheetConstants.ATTR_USER_NAME, - StringEscapeUtils.escapeHtml(user.getLastName() + " " + user.getFirstName())); + responseRow.put(SpreadsheetConstants.ATTR_USER_NAME, StringEscapeUtils.escapeHtml(user.getFullUsername())); if (user.getUserModifiedSpreadsheet() != null) { responseRow.put("userModifiedSpreadsheet", "true"); if (user.getUserModifiedSpreadsheet().getMark() != null) { @@ -232,7 +231,9 @@ List userList = service.getUserListBySessionId(sessionId); request.setAttribute(AttributeNames.PARAM_TOOL_SESSION_ID, sessionId); request.setAttribute(SpreadsheetConstants.ATTR_USER_LIST, userList); - + request.setAttribute(SpreadsheetConstants.ATTR_SESSION_MAP_ID, + WebUtil.readStrParam(request, SpreadsheetConstants.ATTR_SESSION_MAP_ID)); + return mapping.findForward("viewAllMarks"); } @@ -380,14 +381,23 @@ MarkForm markForm = (MarkForm) form; markForm.setSessionMapID(sessionMapID); markForm.setUserUid(user.getUid()); - if (user.getUserModifiedSpreadsheet().getMark() != null) { - SpreadsheetMark mark = user.getUserModifiedSpreadsheet().getMark(); - markForm.setMarks(NumberUtil.formatLocalisedNumber(mark.getMarks(), request.getLocale(), - SpreadsheetConstants.MARK_NUM_DEC_PLACES)); - markForm.setComments(mark.getComments()); - } + markForm.setUserName(user.getFullUsername()); - return user == null ? null : mapping.findForward(SpreadsheetConstants.SUCCESS); + String code = null; + if (user.getUserModifiedSpreadsheet() != null) { + markForm.setCode(user.getUserModifiedSpreadsheet().getUserModifiedSpreadsheet()); + + if (user.getUserModifiedSpreadsheet().getMark() != null) { + SpreadsheetMark mark = user.getUserModifiedSpreadsheet().getMark(); + markForm.setMarks(NumberUtil.formatLocalisedNumber(mark.getMarks(), request.getLocale(), + SpreadsheetConstants.MARK_NUM_DEC_PLACES)); + markForm.setComments(mark.getComments()); + } + + } + request.setAttribute(SpreadsheetConstants.ATTR_CODE, code); + + return mapping.findForward(SpreadsheetConstants.SUCCESS); } public ActionForward saveMark(ActionMapping mapping, ActionForm form, HttpServletRequest request, Index: lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/ViewItemAction.java =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/ViewItemAction.java (.../ViewItemAction.java) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/action/ViewItemAction.java (.../ViewItemAction.java) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -120,7 +120,7 @@ Long userId = WebUtil.readLongParam(request, SpreadsheetConstants.ATTR_USER_UID); SpreadsheetUser user = getSpreadsheetService().getUser(userId); - request.setAttribute(SpreadsheetConstants.ATTR_USER_NAME, user.getLoginName()); + request.setAttribute(SpreadsheetConstants.ATTR_USER_NAME, user.getFullUsername()); String code = null; if (user.getUserModifiedSpreadsheet() != null) { code = user.getUserModifiedSpreadsheet().getUserModifiedSpreadsheet(); Index: lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/form/MarkForm.java =================================================================== diff -u -r2f725f8ef2aa09a2663b2335bf67213074426d11 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/form/MarkForm.java (.../MarkForm.java) (revision 2f725f8ef2aa09a2663b2335bf67213074426d11) +++ lams_tool_spreadsheet/src/java/org/lamsfoundation/lams/tool/spreadsheet/web/form/MarkForm.java (.../MarkForm.java) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -40,6 +40,8 @@ private Long userUid; private String marks; private String comments; + private String code; // Read only. Needed to reload the screen on error + private String userName; // Read only. Needed to reload the screen on error public String getSessionMapID() { return sessionMapID; @@ -73,4 +75,20 @@ this.comments = comments; } + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + } Index: lams_tool_spreadsheet/web/WEB-INF/tags/AdvancedAccordian.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/AdvancedAccordian.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/AdvancedAccordian.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,53 @@ +<% + /**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * 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; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + + /** + * AdvancedAccordian.tag + * Author: Fiona Malikoff + * Description: Creates the show/hide entry for the Advanced Settings in Montoring. + * Wiki: + */ +%> +<%@ attribute name="title" required="true" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +
+
+ + +
+ +
+
+
+ \ No newline at end of file Index: lams_tool_spreadsheet/web/WEB-INF/tags/Arrow.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/Arrow.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/Arrow.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,35 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-function" prefix="fn" %> + +<%-- state = up: up arrow; state = down: down arrow --%> +<%@ attribute name="state" required="true" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="onclick" required="false" rtexprvalue="true"%> + + + + title="${title}" + + + + + + + + + onclick="${onclick}" + + + + + + + + + + + + + + Index: lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520) +++ lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -122,12 +122,12 @@ window.close(); } -

- - - - +

+ -

+ + + +
\ No newline at end of file Index: lams_tool_spreadsheet/web/WEB-INF/tags/CKEditor.tag =================================================================== diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26) +++ lams_tool_spreadsheet/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -10,7 +10,12 @@ <%@ attribute name="contentFolderID" required="false" rtexprvalue="true"%> <%@ attribute name="displayExpanded" required="false" rtexprvalue="true"%> <%@ attribute name="resizeParentFrameName" required="false" rtexprvalue="true"%> +<%@ attribute name="method" required="false" rtexprvalue="true"%> + + + + @@ -19,6 +24,10 @@ + + ${toolbarSet}Inline + + @@ -33,10 +42,10 @@ - + - ckeditor/ + /lams/ckeditor/ @@ -59,10 +68,9 @@ var editor = CKEDITOR.instances["${id}"]; if (editor) { editor.destroy(true); } - var instance = CKEDITOR.replace( "${id}", { + var instance = CKEDITOR.${method}( "${id}", { width : "${width}", height : "${height}", - autoGrow_minHeight : "${height}".replace("px", ""), toolbar : "${toolbarSet}", language : "${language}", defaultLangugage : "en", Index: lams_tool_spreadsheet/web/WEB-INF/tags/Comments.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/Comments.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/Comments.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,47 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + +<%@ attribute name="toolSessionId" required="true" rtexprvalue="true"%> +<%@ attribute name="toolSignature" required="true" rtexprvalue="true"%> +<%@ attribute name="height" required="false" rtexprvalue="true"%> +<%@ attribute name="width" required="false" rtexprvalue="true"%> +<%@ attribute name="mode" required="false" rtexprvalue="true"%> +<%@ attribute name="likeAndDislike" required="false" rtexprvalue="true"%> +<%@ attribute name="readOnly" required="false" rtexprvalue="true"%> +<%@ attribute name="pageSize" required="false" rtexprvalue="true"%> +<%@ attribute name="sortBy" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + &mode=${mode} + + + + + + + + + + + + + + +
+ \ No newline at end of file Index: lams_tool_spreadsheet/web/WEB-INF/tags/CommentsAuthor.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/CommentsAuthor.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/CommentsAuthor.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,51 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> + +<%@ attribute name="allowCommentsVariableName" required="false" rtexprvalue="true"%> +<%@ attribute name="allowCommentLabelKey" required="false" rtexprvalue="true"%> +<%@ attribute name="likeDislikeVariableName" required="false" rtexprvalue="true"%> +<%@ attribute name="likeOnlyCommentLabelKey" required="false" rtexprvalue="true"%> +<%@ attribute name="likeDislikeLabelKey" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + +
+ +
+
+     +   +
+ + + + Index: lams_tool_spreadsheet/web/WEB-INF/tags/ImgButtonWrapper.tag =================================================================== diff -u -r7f9f772433a7fd55c4475241d4e3bc0765f474e8 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/ImgButtonWrapper.tag (.../ImgButtonWrapper.tag) (revision 7f9f772433a7fd55c4475241d4e3bc0765f474e8) +++ lams_tool_spreadsheet/web/WEB-INF/tags/ImgButtonWrapper.tag (.../ImgButtonWrapper.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -1,37 +1,37 @@ -<% -/**************************************************************** - * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * ============================================================= - * License Information: http://lamsfoundation.org/licensing/lams/2.0/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2.0 - * as published by the Free Software Foundation. - * - * 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; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - * USA - * - * http://www.gnu.org/licenses/gpl.txt - * **************************************************************** - */ - - /** - * ImgButtonWrapper.tag - * Author: Mitchell Seaton - * Description: Simple wrapper that will display buttons correctly when RTL page rendering is used. - */ - - %> -<%@ tag body-content="scriptless" %> -
-
- -
-
+<% +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * 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; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + + /** + * ImgButtonWrapper.tag + * Author: Mitchell Seaton + * Description: Simple wrapper that will display buttons correctly when RTL page rendering is used. + */ + + %> +<%@ tag body-content="scriptless" %> +
+
+ +
+
Index: lams_tool_spreadsheet/web/WEB-INF/tags/Page.tag =================================================================== diff -u -r0a141270feef0d18c3d156b6549d379c4ac45148 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 0a141270feef0d18c3d156b6549d379c4ac45148) +++ lams_tool_spreadsheet/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -12,25 +12,38 @@
+ + + + + +
-
- + +
- - - - -
+ + + +
+
+
+
+
+ + + + Index: lams_tool_spreadsheet/web/WEB-INF/tags/RestrictedUsageAccordian.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,54 @@ +<% + /**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * 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; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + + /** + * AdvancedAccordian.tag + * Author: Fiona Malikoff + * Description: Creates the show/hide entry for the Restricted Usage Settings in Monitoring. + * Wiki: + */ +%> +<%@ attribute name="title" required="true" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +
+
+ + + +
+ +
+
+
+ \ No newline at end of file Index: lams_tool_spreadsheet/web/WEB-INF/tags/TSTable.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/TSTable.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/TSTable.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,53 @@ +<%-- Tablesorter Table and Pager --%> +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="numColumns" required="true" rtexprvalue="true"%> +<%@ attribute name="dataId" required="false" rtexprvalue="true"%> +<%@ attribute name="tableClass" required="false" rtexprvalue="true"%> +<%@ attribute name="pagerClass" required="false" rtexprvalue="true"%> +<%@ attribute name="test" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + \ No newline at end of file Index: lams_tool_spreadsheet/web/WEB-INF/tags/Tab.tag =================================================================== diff -u -r7f9f772433a7fd55c4475241d4e3bc0765f474e8 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 7f9f772433a7fd55c4475241d4e3bc0765f474e8) +++ lams_tool_spreadsheet/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -24,8 +24,8 @@ /** * Tab.tag - * Author: Mitchell Seaton - * Description: Creates a tab element. + * Author: Fiona Malikoff + * Description: Creates a tab element within the Hybrid Tab Header. * Wiki: */ %> @@ -54,6 +54,9 @@ <%-- Usually methodCall is selectTab, but the calling code can override methodCall if desired. this is handy if the page needs different logic on initialisation and user switching tabs + + -- onclick="${methodCall}(${id});return false;"> + --%> @@ -73,13 +76,14 @@
- + + + class="active" + + + + + class="disabled" + + +
  • ${tabTitle}
  • Index: lams_tool_spreadsheet/web/WEB-INF/tags/TabBody.tag =================================================================== diff -u -r7f9f772433a7fd55c4475241d4e3bc0765f474e8 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 7f9f772433a7fd55c4475241d4e3bc0765f474e8) +++ lams_tool_spreadsheet/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -28,25 +28,17 @@ * Wiki: */ - %> -<%@ tag body-content="scriptless"%> +%> <%@ attribute name="id" required="true" rtexprvalue="true"%> <%@ attribute name="tabTitle" required="false" rtexprvalue="true"%> <%@ attribute name="titleKey" required="false" rtexprvalue="true"%> <%@ attribute name="page" required="false" rtexprvalue="true"%> <%@ taglib uri="tags-core" prefix="c"%> <%@ taglib uri="tags-bean" prefix="bean"%> - -
    - - - - - - - - + + + active + -
    - +
    Index: lams_tool_spreadsheet/web/WEB-INF/tags/TabBodyArea.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/TabBodyArea.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/TabBodyArea.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,39 @@ +<%/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * 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; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + +/** + * TabBodyArea.tag + * Author: Fiona Malikoff + * Description: Creates the panel body area for a nav bar screen + * Wiki: + */ + +%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-bean" prefix="bean"%> + +
    + +
    + + \ No newline at end of file Index: lams_tool_spreadsheet/web/WEB-INF/tags/TabBodys.tag =================================================================== diff -u --- lams_tool_spreadsheet/web/WEB-INF/tags/TabBodys.tag (revision 0) +++ lams_tool_spreadsheet/web/WEB-INF/tags/TabBodys.tag (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -0,0 +1,37 @@ +<%/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * License Information: http://lamsfoundation.org/licensing/lams/2.0/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2.0 + * as published by the Free Software Foundation. + * + * 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; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ + +/** + * TabBodys.tag + * Author: Fiona Malikoff + * Description: Create a tabbody list from nested TabBody tags. + * Wiki: + */ + + %> +<%@ tag body-content="scriptless"%> + + +
    + +
    Index: lams_tool_spreadsheet/web/WEB-INF/tags/Tabs.tag =================================================================== diff -u -r7f9f772433a7fd55c4475241d4e3bc0765f474e8 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 7f9f772433a7fd55c4475241d4e3bc0765f474e8) +++ lams_tool_spreadsheet/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -23,47 +23,70 @@ /** * Tabs.tag - * Author: Mitchell Seaton - * Description: Create a tab list from a input collection or nested Tab tags. - * Wiki: + * Author: Fiona Malikoff + * Description: Create a hybrid panel header that contains a nav bar that acts like tabs. */ - %> -<%@ tag body-content="scriptless"%> -<%@ attribute name="collection" type="java.util.Collection" required="false" rtexprvalue="true"%> +%> <%@ attribute name="control" required="false" rtexprvalue="true"%> -<%@ attribute name="useKey" required="false" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="refreshOnClickAction" required="false" rtexprvalue="true"%> +<%@ attribute name="helpToolSignature" required="false" rtexprvalue="true"%> +<%@ attribute name="helpModule" required="false" rtexprvalue="true"%> +<%@ attribute name="extraControl" required="false" rtexprvalue="true"%> + <%@ taglib uri="tags-core" prefix="c"%> <%@ taglib uri="tags-lams" prefix="lams"%> + + + + + + - - - - + +
    + -

    - - - -

    +
    + +
    +
    + +
    -

    - -

    - @@ -41,20 +40,6 @@ -
    -

    - -

    - - -
    - - - <%@ include file="/common/messages.jsp"%> @@ -63,28 +48,38 @@ - + ${lang} + - - - + + + + - - - + + <%@ include file="/common/messages.jsp"%> + + + + + + + + + + + + + + + -
    - - - -
    - Index: lams_tool_spreadsheet/web/pages/authoring/basic.jsp =================================================================== diff -u -r8179037dc958585c054547eb7de9be14c6aed233 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 8179037dc958585c054547eb7de9be14c6aed233) +++ lams_tool_spreadsheet/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -3,43 +3,19 @@ - - - - - - - - - +
    + + +
    +
    + + +
    +
    + + +
    - - - - -
    -
    - -
    - -
    -
    - -
    - -
    -
    - -
    - -
    - - - Index: lams_tool_spreadsheet/web/pages/authoring/definelater.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/authoring/definelater.jsp (.../definelater.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_spreadsheet/web/pages/authoring/definelater.jsp (.../definelater.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -5,11 +5,7 @@ <%@ page import="java.util.HashSet"%> <%@ page import="org.lamsfoundation.lams.tool.spreadsheet.SpreadsheetConstants"%> <%@ page import="java.util.Set"%> -<%Set tabs = new HashSet(); - tabs.add("label.authoring.heading.basic"); - pageContext.setAttribute("tabs", tabs); - %> <fmt:message key="label.authoring.title" /> @@ -21,11 +17,8 @@ function init(){ selectTab(1); //select the default tab; - initEditor("Title"); + initEditor("Title"); // what is this? initEditor("Instructions"); - initEditor("OnlineInstruction"); - initEditor("OfflineInstruction"); - } function doSelectTab(tabId) { @@ -43,43 +36,40 @@ -
    + - -

    - -

    - -
    - <%@ include file="/common/messages.jsp"%> - - - -
    - - - + + + + + + + + <%@ include file="/common/messages.jsp"%> + + + + + + -
    + + + + -
    - -
    Index: lams_tool_spreadsheet/web/pages/authoring/definelaterforbid.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/authoring/definelaterforbid.jsp (.../definelaterforbid.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_spreadsheet/web/pages/authoring/definelaterforbid.jsp (.../definelaterforbid.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -8,14 +8,9 @@ <%@ include file="/common/header.jsp"%> -
    -
    -

    - -

    - + + -
    -
    + Index: lams_tool_spreadsheet/web/pages/learning/learning.jsp =================================================================== diff -u -r0305bf13f929848b6a03d3512be0ca25e0678803 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/learning/learning.jsp (.../learning.jsp) (revision 0305bf13f929848b6a03d3512be0ca25e0678803) +++ lams_tool_spreadsheet/web/pages/learning/learning.jsp (.../learning.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -77,46 +77,42 @@
    -
    - - - - - - - - - - - - -
    - - - - - - - - - - -
    - - - - - - - - - - -
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + +
    +
    +
    +
    +
    + + + + + + + + +
    +
    +
    -
    -
    +
    +
    +
    Index: lams_tool_spreadsheet/web/pages/monitoring/editactivity.jsp =================================================================== diff -u -rd21e7fac21ab19cb876cdf2673297d3204614828 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/editactivity.jsp (.../editactivity.jsp) (revision d21e7fac21ab19cb876cdf2673297d3204614828) +++ lams_tool_spreadsheet/web/pages/monitoring/editactivity.jsp (.../editactivity.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -3,12 +3,12 @@ -

    + -

    +
    - +
    - - - -
    @@ -28,17 +28,13 @@
    - - - - - - - -
    + + + + + + + + \ No newline at end of file Index: lams_tool_spreadsheet/web/pages/monitoring/monitoring.jsp =================================================================== diff -u -r2ef18e4c87e2e7929950dbeb990c6715ef16c0c2 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/monitoring.jsp (.../monitoring.jsp) (revision 2ef18e4c87e2e7929950dbeb990c6715ef16c0c2) +++ lams_tool_spreadsheet/web/pages/monitoring/monitoring.jsp (.../monitoring.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -36,26 +36,23 @@ var reqIDVar = new Date(); var param = "toolContentID=" + ${param.toolContentID}; messageLoading(); - var myAjax = new Ajax.Updater( - statisticTargetDiv, - url, - { - method:'get', - parameters:param, - onComplete:messageComplete, - evalScripts:true - } - ); + $("#"+statisticTargetDiv).load( + url, + param, + function(data) { + messageComplete(); + } + ); } - + function showBusy(targetDiv){ if($(targetDiv+"_Busy") != null){ - Element.show(targetDiv+"_Busy"); + $(targetDiv+"_Busy").show(); } } function hideBusy(targetDiv){ if($(targetDiv+"_Busy") != null){ - Element.hide(targetDiv+"_Busy"); + $(targetDiv+"_Busy").hide(); } } function messageLoading(){ @@ -68,26 +65,29 @@ -
    -

    - -

    - -
    - - + + + + + + -
    + + + + - -
    + + Index: lams_tool_spreadsheet/web/pages/monitoring/parts/advanceoptions.jsp =================================================================== diff -u -rfb099c65e1987ef8ff8f8aa4a0d987fd77247750 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/parts/advanceoptions.jsp (.../advanceoptions.jsp) (revision fb099c65e1987ef8ff8f8aa4a0d987fd77247750) +++ lams_tool_spreadsheet/web/pages/monitoring/parts/advanceoptions.jsp (.../advanceoptions.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -1,15 +1,9 @@ -

    - + + - - - -

    -
    - <%-- Overall TaskList information --%> - + + \ No newline at end of file Index: lams_tool_spreadsheet/web/pages/monitoring/parts/editmark.jsp =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/parts/editmark.jsp (.../editmark.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_spreadsheet/web/pages/monitoring/parts/editmark.jsp (.../editmark.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -4,73 +4,71 @@ <%@ include file="/common/header.jsp"%> - - + - - - - <%@ include file="/common/messages.jsp"%> + + + - - - - - - - -

    - -

    + + -
    - -
    + + + + <%@ include file="/common/messages.jsp"%> -
    - -
    +

     ${formBean.userName}

    + + + + + + + + +
    + + +
    -
    - -
    +
    + + +
    + + + + + + + + + + + + -
    - -
    - -
    - - - +

    + - + - +

    + + + + + +
    + +
    Index: lams_tool_spreadsheet/web/pages/monitoring/parts/statisticspart.jsp =================================================================== diff -u -r7bd98bf484806ec5ce961fe49e34c0bd24997d85 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/parts/statisticspart.jsp (.../statisticspart.jsp) (revision 7bd98bf484806ec5ce961fe49e34c0bd24997d85) +++ lams_tool_spreadsheet/web/pages/monitoring/parts/statisticspart.jsp (.../statisticspart.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -1,37 +1,55 @@ <%-- This is for AJAX call to refresh statistic page --%> <%@ include file="/common/taglibs.jsp"%> + + + + + + + - - + + +
    +
    + +   + +
    + +
    + + +
    - + + - - - - - - - - - - - - - -
    - - + + + +
    - - - -
    - - - -
    - - - -
    + + + + + + + + + + + + + + + + + + + +
    +
    + + \ No newline at end of file Index: lams_tool_spreadsheet/web/pages/monitoring/parts/summarylist.jsp =================================================================== diff -u -r0d10b0f6afaf65b7d04a5c2fa54688962f4b9379 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/parts/summarylist.jsp (.../summarylist.jsp) (revision 0d10b0f6afaf65b7d04a5c2fa54688962f4b9379) +++ lams_tool_spreadsheet/web/pages/monitoring/parts/summarylist.jsp (.../summarylist.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -4,24 +4,19 @@
    - - + + - - - - -

    Mark Updated to ${mark}

    Index: lams_tool_spreadsheet/web/pages/monitoring/parts/viewallmarks.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/parts/viewallmarks.jsp (.../viewallmarks.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_spreadsheet/web/pages/monitoring/parts/viewallmarks.jsp (.../viewallmarks.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -1,123 +1,89 @@ - - <%@include file="/common/taglibs.jsp"%> <%@ page import="org.lamsfoundation.lams.tool.spreadsheet.SpreadsheetConstants"%> + + <fmt:message key="activity.title" /> - -
    -

    - -

    + + +
    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - - - - -
    - - - -
    - - - +
    +
    + +
    +
    +
    +
    +
    + - -
    - - - - - - - - - - - - - + + + +
    +
    +
    + + + + + + + + + + ?userUid=${user.uid}&toolContentID=${sessionMap.toolContentID}&sessionMapID=${sessionMapID} + - - - - - + +
    +
    +
    +
    +
    + + + + + + + + +
    +
    + + -
    - - - - - - - - - - -
    -
    -
    - - - -
    -
    + +
    +
    + + + + + +
    \ No newline at end of file Index: lams_tool_spreadsheet/web/pages/monitoring/statistics.jsp =================================================================== diff -u -r56d116683b7554e8ad3677cd0e12866ac3feb834 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/statistics.jsp (.../statistics.jsp) (revision 56d116683b7554e8ad3677cd0e12866ac3feb834) +++ lams_tool_spreadsheet/web/pages/monitoring/statistics.jsp (.../statistics.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -1,5 +1,5 @@ <%@ include file="/common/taglibs.jsp"%> - +
    <%@ include file="parts/statisticspart.jsp"%>
    \ No newline at end of file Index: lams_tool_spreadsheet/web/pages/monitoring/summary.jsp =================================================================== diff -u -r0d10b0f6afaf65b7d04a5c2fa54688962f4b9379 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/monitoring/summary.jsp (.../summary.jsp) (revision 0d10b0f6afaf65b7d04a5c2fa54688962f4b9379) +++ lams_tool_spreadsheet/web/pages/monitoring/summary.jsp (.../summary.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -6,37 +6,11 @@ -

    - -

    +
    +

    + +

    +
    + +
    + + + +
    -
    -
    <%-- Summary list --%> @@ -103,15 +80,4 @@ <%@ include file="/pages/monitoring/parts/summarylist.jsp"%>
    - -

    - -

    -
    - <%@ include file="parts/advanceoptions.jsp"%> Index: lams_tool_spreadsheet/web/pages/reviewitem/reviewitem.jsp =================================================================== diff -u -r2ef18e4c87e2e7929950dbeb990c6715ef16c0c2 -r0acc4ca56f472b81307b4936c0cc797b71d5cf85 --- lams_tool_spreadsheet/web/pages/reviewitem/reviewitem.jsp (.../reviewitem.jsp) (revision 2ef18e4c87e2e7929950dbeb990c6715ef16c0c2) +++ lams_tool_spreadsheet/web/pages/reviewitem/reviewitem.jsp (.../reviewitem.jsp) (revision 0acc4ca56f472b81307b4936c0cc797b71d5cf85) @@ -1,46 +1,42 @@ <%@ include file="/common/taglibs.jsp"%> - <fmt:message key="label.reviewitem.title" /> <%@ include file="/common/header.jsp"%> + -
    -

    ${userName}


    + + +

     ${userName}

    -
    -
    - -
    + + +
    -


    - - - - -
    - -
    + + +
    -
    + + +