Index: lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/web/action/AuthoringAction.java
===================================================================
diff -u -r3399163940c61c9132223c758d274486e57ff9b7 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/web/action/AuthoringAction.java (.../AuthoringAction.java) (revision 3399163940c61c9132223c758d274486e57ff9b7)
+++ lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/web/action/AuthoringAction.java (.../AuthoringAction.java) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -953,19 +953,19 @@
private List createFileListFromMultipleForm(MultipleImagesForm multipleForm) {
List fileList = new ArrayList();
- if (!StringUtils.isEmpty(multipleForm.getFile1().getFileName())) {
+ if (multipleForm.getFile1() != null && !StringUtils.isEmpty(multipleForm.getFile1().getFileName())) {
fileList.add(multipleForm.getFile1());
}
- if (!StringUtils.isEmpty(multipleForm.getFile2().getFileName())) {
+ if (multipleForm.getFile2() != null && !StringUtils.isEmpty(multipleForm.getFile2().getFileName())) {
fileList.add(multipleForm.getFile2());
}
- if (!StringUtils.isEmpty(multipleForm.getFile3().getFileName())) {
+ if (multipleForm.getFile3() != null && !StringUtils.isEmpty(multipleForm.getFile3().getFileName())) {
fileList.add(multipleForm.getFile3());
}
- if (!StringUtils.isEmpty(multipleForm.getFile4().getFileName())) {
+ if (multipleForm.getFile4() != null && !StringUtils.isEmpty(multipleForm.getFile4().getFileName())) {
fileList.add(multipleForm.getFile4());
}
- if (!StringUtils.isEmpty(multipleForm.getFile5().getFileName())) {
+ if (multipleForm.getFile5() != null && !StringUtils.isEmpty(multipleForm.getFile5().getFileName())) {
fileList.add(multipleForm.getFile5());
}
Index: lams_tool_images/web/WEB-INF/struts-config.xml
===================================================================
diff -u -r65efb0abb529cafc1977e284e2c9a4ed33722334 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 65efb0abb529cafc1977e284e2c9a4ed33722334)
+++ lams_tool_images/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -300,11 +300,6 @@
scope="request"
validate="false">
-
-
-
+<%@ 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_images/web/WEB-INF/tags/Arrow.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/Arrow.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/Arrow.tag (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
diff -u -r29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520)
+++ lams_tool_images/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -122,12 +122,12 @@
window.close();
}
-
-
-
-
-
+
+
-
+
+
+
+
\ No newline at end of file
Index: lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -18,6 +18,7 @@
<%-- Optional attribute --%>
<%@ attribute name="hasRatingLimits" required="false" rtexprvalue="true" %>
<%@ attribute name="formContentPrefix" required="false" rtexprvalue="true" %>
+<%@ attribute name="styleId" required="false" rtexprvalue="true" %>
<%@ attribute name="headerLabel" required="false" rtexprvalue="true" %>
<%@ attribute name="addLabel" required="false" rtexprvalue="true" %>
<%@ attribute name="deleteLabel" required="false" rtexprvalue="true" %>
@@ -106,16 +107,16 @@
jQuery(' ').append(jQuery(' ', {
'class': 'criteria-info',
html: ' ' +
- ' '
+ ' '
})).append(jQuery(' ', {
width: '40px',
- html: '
" />' +
+ html: '
" />' +
'
" />'
})).append(jQuery(' ', {
width: '20px',
- html: '
" />'
+ html: ' ">'
})).appendTo('#criterias-table');
reactivateArrows();
@@ -124,30 +125,29 @@
addCriteria();
addCriteria();
+ reactivateArrows();
function reactivateArrows() {
$('#criterias-table tr').each(function() {
$this = $(this); // cache $(this)
if ($this.is(':first-child')) {
- $(".up-arrow", $this).addClass("up-arrow-disabled").removeClass("up-arrow");
-
+ $(".arrow-up", $this).removeClass("fa fa-long-arrow-up fa-pull-left");
} else {
- $(".up-arrow-disabled", $this).addClass("up-arrow").removeClass("up-arrow-disabled");
+ $(".arrow-up", $this).addClass("fa fa-long-arrow-up fa-pull-left");
}
if ($this.is(':last-child')) {
- $(".down-arrow", $this).addClass("down-arrow-disabled").removeClass("down-arrow");
-
+ $(".arrow-down", $this).removeClass("fa fa-long-arrow-down fa-pull-right");
} else {
- $(".down-arrow-disabled", $this).addClass("down-arrow").removeClass("down-arrow-disabled");
+ $(".arrow-down", $this).addClass("fa fa-long-arrow-down fa-pull-right");
}
});
}
//upCriteria
- $( "body" ).on( "click", ".up-arrow", function() {
+ $( "body" ).on( "click", ".fa-long-arrow-up", function() {
var currentRow = $(this).closest('tr');
var currentCriteriaTd = $( ".criteria-info", currentRow);
var currentOrderId = $( "input[name^='criteriaOrderId']", currentCriteriaTd);
@@ -170,7 +170,7 @@
} );
//downCriteria
- $( "body" ).on( "click", ".down-arrow", function() {
+ $( "body" ).on( "click", ".fa-long-arrow-down", function() {
var currentRow = $(this).closest('tr');
var currentCriteriaTd = $( ".criteria-info", currentRow);
var currentOrderId = $( "input[name^='criteriaOrderId']", currentCriteriaTd);
@@ -193,7 +193,7 @@
});
//deleteCriteria
- $( "body" ).on( "click", ".delete-arrow", function() {
+ $( "body" ).on( "click", ".fa-times", function() {
var currentRow = $(this).closest('tr');
currentRow.remove();
@@ -241,112 +241,110 @@
}
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
">
-
-
">
-
-
+
-
+
-
-
-
-
-
" >
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ 10
+
+
+
+
+
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ 10
+
+
-
-
-
+
+
+ checked="checked"
+ />
+
+
+
-
-
-
-
-
-
-
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
-
-
-
-
-
-
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
+
+
+
+
-
-
-
- checked="checked"
- />
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
Index: lams_tool_images/web/WEB-INF/tags/CKEditor.tag
===================================================================
diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26)
+++ lams_tool_images/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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}Replace
+
+
@@ -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_images/web/WEB-INF/tags/Comments.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/Comments.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/Comments.tag (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/CommentsAuthor.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/CommentsAuthor.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/CommentsAuthor.tag (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/ImgButtonWrapper.tag
===================================================================
diff -u -r8a7c47632a6a93892f015f068d12adb376c0ae2d -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/ImgButtonWrapper.tag (.../ImgButtonWrapper.tag) (revision 8a7c47632a6a93892f015f068d12adb376c0ae2d)
+++ lams_tool_images/web/WEB-INF/tags/ImgButtonWrapper.tag (.../ImgButtonWrapper.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/Page.tag
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -12,25 +12,38 @@
+
+
+
+
Index: lams_tool_images/web/WEB-INF/tags/RestrictedUsageAccordian.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/Tab.tag
===================================================================
diff -u -r8a7c47632a6a93892f015f068d12adb376c0ae2d -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 8a7c47632a6a93892f015f068d12adb376c0ae2d)
+++ lams_tool_images/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/TabBody.tag
===================================================================
diff -u -r8a7c47632a6a93892f015f068d12adb376c0ae2d -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 8a7c47632a6a93892f015f068d12adb376c0ae2d)
+++ lams_tool_images/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/TabBodyArea.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/TabBodyArea.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/TabBodyArea.tag (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/TabBodys.tag
===================================================================
diff -u
--- lams_tool_images/web/WEB-INF/tags/TabBodys.tag (revision 0)
+++ lams_tool_images/web/WEB-INF/tags/TabBodys.tag (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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_images/web/WEB-INF/tags/Tabs.tag
===================================================================
diff -u -r8a7c47632a6a93892f015f068d12adb376c0ae2d -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 8a7c47632a6a93892f015f068d12adb376c0ae2d)
+++ lams_tool_images/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -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"%>
+
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${extraControl}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_images/web/WEB-INF/tags/headItems.tag
===================================================================
diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9)
+++ lams_tool_images/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -41,7 +41,9 @@
-
+
-
+
+
+
Index: lams_tool_images/web/WEB-INF/tlds/lams/lams.tld
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -178,7 +178,7 @@
css
org.lamsfoundation.lams.web.tag.CssTag
empty
-
+
Output stylesheet based on the user preferences.
style
@@ -408,10 +408,18 @@
/WEB-INF/tags/TabBody.tag
+ TabBodys
+ /WEB-INF/tags/TabBodys.tag
+
+
TabName
/WEB-INF/tags/TabName.tag
+ TabBodyArea
+ /WEB-INF/tags/TabBodyArea.tag
+
+
CKEditor
/WEB-INF/tags/CKEditor.tag
@@ -440,17 +448,29 @@
/WEB-INF/tags/DefineLater.tag
- TSTable
- /WEB-INF/tags/TSTable.tag
-
-
Alert
/WEB-INF/tags/Alert.tag
Page
/WEB-INF/tags/Page.tag
+
+
+ TSTable
+ /WEB-INF/tags/TSTable.tag
+
+
+ Arrow
+ /WEB-INF/tags/Arrow.tag
+
+
+ AdvancedAccordian
+ /WEB-INF/tags/AdvancedAccordian.tag
+
+ RestrictedUsageAccordian
+ /WEB-INF/tags/RestrictedUsageAccordian.tag
+
ImgButtonWrapper
/WEB-INF/tags/ImgButtonWrapper.tag
@@ -493,5 +513,13 @@
head
/WEB-INF/tags/Head.tag
+
+ Comments
+ /WEB-INF/tags/Comments.tag
+
+
+ CommentsAuthor
+ /WEB-INF/tags/CommentsAuthor.tag
+
Index: lams_tool_images/web/common/header.jsp
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/common/header.jsp (.../header.jsp) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/common/header.jsp (.../header.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -8,10 +8,10 @@
-
-
+
+
Index: lams_tool_images/web/common/messages.jsp
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/common/messages.jsp (.../messages.jsp) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/common/messages.jsp (.../messages.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,8 +1,8 @@
<%-- Error Messages --%>
-
+
-
+
\ No newline at end of file
Index: lams_tool_images/web/common/tabbedheader.jsp
===================================================================
diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9)
+++ lams_tool_images/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -4,10 +4,12 @@
+
-
+
+
+
-
Index: lams_tool_images/web/includes/javascript/imageGallerycommon.js
===================================================================
diff -u -rf3be94729c90c7390a6aea11d1886a4b72d96670 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/includes/javascript/imageGallerycommon.js (.../imageGallerycommon.js) (revision f3be94729c90c7390a6aea11d1886a4b72d96670)
+++ lams_tool_images/web/includes/javascript/imageGallerycommon.js (.../imageGallerycommon.js) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,8 +1,27 @@
+/**
+ * Launches the popup window for the instruction files
+ */
+function showMessage(url) {
+ $("#reourceInputArea").load(url, function() {
+ var area=document.getElementById("reourceInputArea");
+ if (area != null) {
+ area.style.width="100%";
+ area.style.height="100%";
+ area.style.display="block";
+ }
+ var elem = document.getElementById("saveCancelButtons");
+ if (elem != null) {
+ elem.style.display="none";
+ }
+ });
+}
+
function showBusy(targetDiv){
if($(targetDiv+"_Busy") != null){
document.getElementById(targetDiv+"_Busy").style.display = '';
}
}
+
function hideBusy(targetDiv){
if($(targetDiv+"_Busy") != null){
document.getElementById(targetDiv+"_Busy").style.display = 'none';
Index: lams_tool_images/web/includes/javascript/imageGalleryitem.js
===================================================================
diff -u -rf3be94729c90c7390a6aea11d1886a4b72d96670 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/includes/javascript/imageGalleryitem.js (.../imageGalleryitem.js) (revision f3be94729c90c7390a6aea11d1886a4b72d96670)
+++ lams_tool_images/web/includes/javascript/imageGalleryitem.js (.../imageGalleryitem.js) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,63 +1,152 @@
- var itemAttachmentTargetDiv = "itemAttachmentArea";
- function removeItemAttachment(idx){
- //var id = "instructionItem" + idx;
- //Element.remove(id);
- var url= removeItemAttachmentUrl;
- var reqIDVar = new Date();
- var param = "reqID="+reqIDVar.getTime();
- removeItemAttachmentLoading();
- var myAjax = new Ajax.Updater(
- itemAttachmentTargetDiv,
- url,
- {
- method:'post',
- parameters:param,
- onComplete:removeItemAttachmentComplete,
- evalScripts:true
- }
- );
- }
- function removeItemAttachmentLoading(){
- showBusy(itemAttachmentTargetDiv);
- }
- function removeItemAttachmentComplete(){
- hideBusy(itemAttachmentTargetDiv);
- }
-
- function cancelImageGalleryItem(){
- var win = null;
- if (window.hideMessage) {
- win = window;
- } else if (window.parent && window.parent.hideMessage) {
- win = window.parent;
- } else {
- win = window.top;
+var itemAttachmentTargetDiv = "itemAttachmentArea";
+function removeItemAttachment(idx){
+ removeItemAttachmentLoading();
+ $("#" + itemAttachmentTargetDiv).load(
+ removeItemAttachmentUrl,
+ {
+ reqID: new Date()
}
- win.hideMessage();
+ );
+}
+
+function removeItemAttachmentLoading(){
+ showBusy(itemAttachmentTargetDiv);
+}
+
+function cancelImageGalleryItem(){
+ var win = null;
+ if (window.hideMessage) {
+ win = window;
+ } else if (window.parent && window.parent.hideMessage) {
+ win = window.parent;
+ } else {
+ win = window.top;
}
- /**
- * Launches the popup window for the instruction files
- */
- function showMessage(url) {
- var area = window.document.getElementById('reourceInputArea');
- var elem = window.document.getElementById("saveCancelButtons");
- if (!area && window.parent) {
- area = window.parent.document.getElementById('reourceInputArea');
- elem = window.parent.document.getElementById("saveCancelButtons");
- }
- if (!area) {
- obj = window.top.document.getElementById('reourceInputArea');
- elem = window.top.document.getElementById("saveCancelButtons");
+ win.hideMessage();
+}
+
+function submitImageGalleryItem(){
+
+ if ( typeof CKEDITOR !== 'undefined' ) {
+ for ( instance in CKEDITOR.instances ) {
+ CKEDITOR.instances[instance].updateElement();
}
+ }
+
+ var formData = new FormData();
+ $.each($('#imageGalleryItemForm').serializeArray(), function(i, field) {
+ formData.append(field.name, field.value);
+ });
+
+ // validate uploading file if we add it for the first time
+ if (!eval($("#has-file").val())) {
+ var fileSelect = document.getElementById('file-select');
+ // Get the selected files from the input.
+ var files = fileSelect.files;
- if(area != null){
- area.style.width="100%";
- area.src=url;
- area.style.display="block";
+ if (files.length == 0) {
+ alert(LABEL_ITEM_BLANK);
+ return;
}
+ var file = files[0];
- if (elem != null) {
- elem.style.display="none";
+ // Check the file type.
+ if (file.name.length < 1) {
+ alert("file.name.length < 1");
+ return;
+ } else if (file.size > UPLOAD_FILE_LARGE_MAX_SIZE) {
+ alert(LABEL_MAX_FILE_SIZE);
+ return;
+ } else if (file.type != 'image/png' && file.type != 'image/jpg' && file.type != 'image/gif' && file.type != 'image/jpeg' ) {
+ alert(LABEL_NOT_ALLOWED_FORMAT);
+ return;
}
- location.hash = "reourceInputArea";
- }
+
+ // Add the file to the request.
+ formData.append('file', file, file.name);
+ }
+
+ $.ajax({
+ type: 'POST',
+ url: $("#imageGalleryItemForm").attr('action'),
+ data: formData,
+ processData: false,
+ contentType: false,
+ success: function(data) {
+ $('#imageGalleryListArea').html(data);
+ },
+ error: function(jqXHR, textStatus, errorMessage) {
+ alert(errorMessage);
+ }
+ });
+}
+
+function submitMultipleImageGalleryItems(){
+ var formData = new FormData();
+ formData.append('sessionMapID', $("#sessionMapID").val());
+
+ // Get selected files from the inputs
+ var validateFiles = [];
+ if ($('#file1').val()) {
+ var file = document.getElementById('file1').files[0];
+ validateFiles.push(file);
+ formData.append('file1', file, file.name);
+ }
+ if ($('#file2').val()) {
+ var file = document.getElementById('file2').files[0];
+ validateFiles.push(file);
+ formData.append('file2', file, file.name);
+ }
+ if ($('#file3').val()) {
+ var file = document.getElementById('file3').files[0];
+ validateFiles.push(file);
+ formData.append('file3', file, file.name);
+ }
+ if ($('#file4').val()) {
+ var file = document.getElementById('file4').files[0];
+ validateFiles.push(file);
+ formData.append('file4', file, file.name);
+ }
+ if ($('#file5').val()) {
+ var file = document.getElementById('file5').files[0];
+ validateFiles.push(file);
+ formData.append('file5', file, file.name);
+ }
+
+ // validate files
+ if (validateFiles.length == 0) {
+ alert(LABEL_ITEM_BLANK);
+ return;
+ }
+ for (var i = 0; i < validateFiles.length; i++) {
+ var file = validateFiles[i];
+
+ // Check the file type.
+ if(file.name.length < 1) {
+ alert("file.name.length < 1");
+ return;
+ } else if (file.size > UPLOAD_FILE_LARGE_MAX_SIZE) {
+ alert(LABEL_MAX_FILE_SIZE);
+ return;
+ } else if (file.type != 'image/png' && file.type != 'image/jpg' && file.type != 'image/gif' && file.type != 'image/jpeg' ) {
+ alert(LABEL_NOT_ALLOWED_FORMAT);
+ return;
+ }
+
+ // Add the file to the request.
+ }
+
+ $.ajax({
+ type: 'POST',
+ url: saveMultipleImagesUrl,
+ data: formData,
+ processData: false,
+ contentType: false,
+ success: function(data) {
+ $('#imageGalleryListArea').html(data);
+ },
+ error: function(jqXHR, textStatus, errorMessage) {
+ alert(errorMessage);
+ }
+ });
+}
Index: lams_tool_images/web/pages/authoring/advance.jsp
===================================================================
diff -u -r434a2aec5c62876edcb6dc8908896939080f1cf2 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/authoring/advance.jsp (.../advance.jsp) (revision 434a2aec5c62876edcb6dc8908896939080f1cf2)
+++ lams_tool_images/web/pages/authoring/advance.jsp (.../advance.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -3,10 +3,10 @@
-
-
-
-
-
+
+
+
-
+
-
-
-
+
+
-
+
-
-
-
+
+
-
+
-
-
-
+
+
+
-
-
checked="checked"
-
disabled="disabled"
- />
+
+
+
+ checked="checked"
+ disabled="disabled"
+ />
-
+
-
checked="checked"
-
disabled="disabled"
- />
+
-
+
+
display:none;
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
-
-
-
-
- <%@ include file="/common/messages.jsp"%>
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
+
+ <%@ include file="/common/messages.jsp"%>
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- <%-- Default value
- cancelButtonLabelKey="label.authoring.cancel.button"
- saveButtonLabelKey="label.authoring.save.button"
- cancelConfirmMsgKey="authoring.msg.cancel.save"
+
+
+
-
-
+ contentFolderID="${formBean.contentFolderID}" />
+
+
-
+
-
-
-
-
-
+
+
+
+
Index: lams_tool_images/web/pages/authoring/basic.jsp
===================================================================
diff -u -rf3be94729c90c7390a6aea11d1886a4b72d96670 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/authoring/basic.jsp (.../basic.jsp) (revision f3be94729c90c7390a6aea11d1886a4b72d96670)
+++ lams_tool_images/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -10,22 +10,6 @@
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
+
+
+
+
+
+
<%@ include file="/pages/authoring/parts/itemlist.jsp"%>
-
- ');" class="button-add-item">
-
-
-
-
+
+
+
+
+
+
-
+
+
Index: lams_tool_images/web/pages/authoring/parts/addimage.jsp
===================================================================
diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/authoring/parts/addimage.jsp (.../addimage.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9)
+++ lams_tool_images/web/pages/authoring/parts/addimage.jsp (.../addimage.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,88 +1,66 @@
-
-
<%@ include file="/common/taglibs.jsp"%>
-
-
-
- <%@ include file="/common/header.jsp"%>
-
-
-
-
-
-
-
+
+
+
-
-
+
-
-
<%@ include file="/common/messages.jsp"%>
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+ contentFolderID="${sessionMap.imageGalleryForm.contentFolderID}"
+ resizeParentFrameName="reourceInputArea" />
-
-
-
+
+
-
-
- <%@ include file="/pages/authoring/parts/imagefile.jsp"%>
-
-
+
-
+ ');"
+ class="btn btn-default btn-xs">
+
+
-
+
-
-
-
+
+
+
+
+
Index: lams_tool_images/web/pages/authoring/parts/addmultipleimages.jsp
===================================================================
diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/authoring/parts/addmultipleimages.jsp (.../addmultipleimages.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9)
+++ lams_tool_images/web/pages/authoring/parts/addmultipleimages.jsp (.../addmultipleimages.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,64 +1,56 @@
-
-
<%@ include file="/common/taglibs.jsp"%>
+
+
+
+
+
-
-
- <%@ include file="/common/header.jsp"%>
-
-
-
-
-
-
-
-
-
-
<%@ include file="/common/messages.jsp"%>
-
-
-
-
-
-
-
-
+
Index: lams_tool_images/web/pages/authoring/parts/imagefile.jsp
===================================================================
diff -u -r616336eff87580ecb6f13770899bc9af7eff4fa8 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/authoring/parts/imagefile.jsp (.../imagefile.jsp) (revision 616336eff87580ecb6f13770899bc9af7eff4fa8)
+++ lams_tool_images/web/pages/authoring/parts/imagefile.jsp (.../imagefile.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,45 +1,38 @@
<%@ include file="/common/taglibs.jsp"%>
-
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
+
-
Index: lams_tool_images/web/pages/authoring/parts/itemlist.jsp
===================================================================
diff -u -r21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/authoring/parts/itemlist.jsp (.../itemlist.jsp) (revision 21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59)
+++ lams_tool_images/web/pages/authoring/parts/itemlist.jsp (.../itemlist.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,102 +1,74 @@
<%@ include file="/common/taglibs.jsp"%>
-
+
-
-
-
-
-
+
+
<%-- This script will works when a new resoruce item submit in order to refresh "ImageGallery List" panel. --%>
Index: lams_tool_images/web/pages/learning/parts/addimage.jsp
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/learning/parts/addimage.jsp (.../addimage.jsp) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/pages/learning/parts/addimage.jsp (.../addimage.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -15,56 +15,59 @@
-
-
-
+
+
+
+
+
<%@ include file="/common/messages.jsp"%>
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
-
+
Index: lams_tool_images/web/pages/learning/parts/addmultipleimages.jsp
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/learning/parts/addmultipleimages.jsp (.../addmultipleimages.jsp) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/pages/learning/parts/addmultipleimages.jsp (.../addmultipleimages.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -9,58 +9,62 @@
<%@ include file="/common/header.jsp"%>
-
-
-
-
+
+
+
+
+
+
<%@ include file="/common/messages.jsp"%>
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
-
-
+
+
+
Index: lams_tool_images/web/pages/learning/parts/commentsarea.jsp
===================================================================
diff -u -r0ac411e19ec849c9586c506feede55d178f84d56 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/learning/parts/commentsarea.jsp (.../commentsarea.jsp) (revision 0ac411e19ec849c9586c506feede55d178f84d56)
+++ lams_tool_images/web/pages/learning/parts/commentsarea.jsp (.../commentsarea.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -75,7 +75,7 @@
-
+
disabled="disabled"
checked="checked"
@@ -104,7 +104,8 @@
-
+
Index: lams_tool_images/web/pages/monitoring/editactivity.jsp
===================================================================
diff -u -r4ee829e747865834b56a708e884c3ad3bd1d0492 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/monitoring/editactivity.jsp (.../editactivity.jsp) (revision 4ee829e747865834b56a708e884c3ad3bd1d0492)
+++ lams_tool_images/web/pages/monitoring/editactivity.jsp (.../editactivity.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -3,16 +3,15 @@
-
+
-
+
-
+
- :
@@ -22,7 +21,6 @@
- :
@@ -35,7 +33,7 @@
-
+
Index: lams_tool_images/web/pages/monitoring/imagesummary.jsp
===================================================================
diff -u -r2ef18e4c87e2e7929950dbeb990c6715ef16c0c2 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/monitoring/imagesummary.jsp (.../imagesummary.jsp) (revision 2ef18e4c87e2e7929950dbeb990c6715ef16c0c2)
+++ lams_tool_images/web/pages/monitoring/imagesummary.jsp (.../imagesummary.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -36,16 +36,21 @@
-
-
+
+
+
+
+
+
-
-
-
${image.mediumFileUuid}&preferDownload=false
@@ -54,18 +59,21 @@
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
-
-
-
-
@@ -79,16 +87,15 @@
- ${groupSummary[0].sessionName}
+
+ ${groupSummary[0].sessionName}
+
-
-
- : ${groupSummary[0].numberOfVotesForImage}
-
-
-
+
+ : ${groupSummary[0].numberOfVotesForImage}
+
-
+
@@ -126,20 +133,21 @@
-
-
-
-
-
+
-
-
+
+
+
Index: lams_tool_images/web/pages/monitoring/monitoring.jsp
===================================================================
diff -u -r2ef18e4c87e2e7929950dbeb990c6715ef16c0c2 -r60ab803bf843562083cfb66764ddfcb3b0a83841
--- lams_tool_images/web/pages/monitoring/monitoring.jsp (.../monitoring.jsp) (revision 2ef18e4c87e2e7929950dbeb990c6715ef16c0c2)
+++ lams_tool_images/web/pages/monitoring/monitoring.jsp (.../monitoring.jsp) (revision 60ab803bf843562083cfb66764ddfcb3b0a83841)
@@ -1,5 +1,4 @@
-
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="org.lamsfoundation.lams.tool.imageGallery.ImageGalleryConstants"%>
@@ -13,35 +12,16 @@
-
+
-
@@ -95,9 +74,9 @@
$(document).ready(function(){
$(".tablesorter").tablesorter({
- theme: 'blue',
- widthFixed: true,
- widgets: ['zebra'],
+ theme: 'bootstrap',
+ headerTemplate : '{content} {icon}',
+ widgets: ["uitheme", "resizable", "filter"],
headers: {
0: { sorter: false }
@@ -129,26 +108,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
-