-
+
-
-
-
-
-
- |
-
-
-
- ">
-
- ">
+
+
+
+
+
+
+ |
+
+
+
+ ">
+
+ ">
+
-
-
-
-
- ">
+
+
+
+ ">
+
+
+ ">
-
- ">
-
- |
-
-
- " >
- |
-
+ |
+
+
+ " >
+ |
+
+
-
+
+
+
+
+
+
+
+
+ 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/Rating.tag
===================================================================
diff -u -rf3be94729c90c7390a6aea11d1886a4b72d96670 -ra41ef185bfa95828df54b39993cbcfbad31f1d55
--- lams_tool_images/web/WEB-INF/tags/Rating.tag (.../Rating.tag) (revision f3be94729c90c7390a6aea11d1886a4b72d96670)
+++ lams_tool_images/web/WEB-INF/tags/Rating.tag (.../Rating.tag) (revision a41ef185bfa95828df54b39993cbcfbad31f1d55)
@@ -13,105 +13,165 @@
<%@ taglib uri="tags-function" prefix="fn" %>
-<%@ attribute name="ratingDtos" required="false" rtexprvalue="true" type="java.util.Collection" %>
+<%@ attribute name="itemRatingDto" required="true" rtexprvalue="true" type="org.lamsfoundation.lams.rating.dto.ItemRatingDTO" %>
<%-- Optional attribute --%>
<%@ attribute name="disabled" required="false" rtexprvalue="true" %>
-<%@ attribute name="numberVotesLabel" required="false" rtexprvalue="true" %>
+<%@ attribute name="isItemAuthoredByUser" required="false" rtexprvalue="true" %>
+<%@ attribute name="maxRates" required="false" rtexprvalue="true" %>
+<%@ attribute name="countRatedItems" required="false" rtexprvalue="true" %>
+<%@ attribute name="yourRatingLabel" required="false" rtexprvalue="true" %>
+<%@ attribute name="averageRatingLabel" required="false" rtexprvalue="true" %>
+<%@ attribute name="minNumberWordsLabel" required="false" rtexprvalue="true" %>
<%-- Default value for message key --%>
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+<%--Rating stars area---------------------------------------%>
-
-
-
+
-
-
+
Index: lams_tool_images/web/pages/authoring/authoring.jsp
===================================================================
diff -u -rf3be94729c90c7390a6aea11d1886a4b72d96670 -ra41ef185bfa95828df54b39993cbcfbad31f1d55
--- lams_tool_images/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision f3be94729c90c7390a6aea11d1886a4b72d96670)
+++ lams_tool_images/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision a41ef185bfa95828df54b39993cbcfbad31f1d55)
@@ -3,23 +3,24 @@
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="org.lamsfoundation.lams.tool.imageGallery.ImageGalleryConstants"%>
-
<%@ include file="/common/tabbedheader.jsp"%>
+
+
+
-
+
-
-
Index: lams_tool_images/web/pages/learning/learning.jsp
===================================================================
diff -u -rf3be94729c90c7390a6aea11d1886a4b72d96670 -ra41ef185bfa95828df54b39993cbcfbad31f1d55
--- lams_tool_images/web/pages/learning/learning.jsp (.../learning.jsp) (revision f3be94729c90c7390a6aea11d1886a4b72d96670)
+++ lams_tool_images/web/pages/learning/learning.jsp (.../learning.jsp) (revision a41ef185bfa95828df54b39993cbcfbad31f1d55)
@@ -36,12 +36,8 @@
#check-for-new-button, #add-new-image-button, #delete-button {
}
.extra-controls-inner {
- width: 60%;
- margin: 0px auto;
+ float: right;
}
- .extra-controls-inner2 {
- text-align: center;
- }
.caption{
color:#0087e5;
font:italic 14px georgia,serif;
@@ -51,19 +47,22 @@
font-size:11px;
}
#extra-controls {
- display: table-cell;
+ text-align: center;
+ float: right;
+ clear: both;
+ padding-top: 20px;
}
- #comments-area {
- display: table-cell;
- width: 68%;
+ [id^=comments-area] {
+ width: 400px;
+ float: right;
+ clear: both;
+ padding: 10px 0 20px;
}
- #comment-textarea {
- margin-right:10px;
- width:99%;
+ [id^=comment-textarea] {
+ width: 370px;
}
- #comment-button {
+ .button.add-comment {
margin-right: 2px;
- float: right;
margin-top: 10px;
}
table.forum {
@@ -83,15 +82,22 @@
text-align: center;
padding-top: 10px;
}
- #image-info {
- display: table;
- width: 100%;
+ #image-info:after {
+ content: " ";
+ display: block;
+ height: 0;
+ clear: both;
}
-
+ #kkk{
+ float:right;
+ }
.space-bottom-top {
padding-top: 40px;
}
+
+
+
@@ -166,22 +172,9 @@
return false;
}
- var imageInfoTargetDiv = "#image-info";
- function addNewComment(currentImageUid, comment) {
- var url = "";
- $(imageInfoTargetDiv).load(
- url,
- {
- currentImageUid: currentImageUid,
- comment: comment,
- sessionMapID: "${sessionMapID}"
- }
- );
- }
-
function loadImageData(imageUid) {
- $(imageInfoTargetDiv).load(
+ $("#image-info").load(
"",
{
imageUid: imageUid,
@@ -217,6 +210,39 @@
+
+