");
- } else if (StringUtils.equals(style, "small")) {
- imgHeight = 18;
- div = false;
- } else {
- writer.println("
");
+ div = true;
}
+
+ if (! StringUtils.equals(style, "small")) {
+ MessageService msgService = (MessageService) getContext().getBean(
+ CentralConstants.CENTRAL_MESSAGE_SERVICE_BEAN_NAME);
+ helpWord = msgService.getMessage("label.help");
+ }
+
try {
HttpSession session = ((HttpServletRequest) this.pageContext.getRequest()).getSession();
Locale locale = (Locale) session.getAttribute(LocaleFilter.PREFERRED_LOCALE_KEY);
String languageCode = locale != null ? locale.getLanguage() : "";
-
+
if ((toolSignature != null) && (module != null)) {
// retrieve help URL for tool
@@ -101,15 +104,17 @@
return Tag.SKIP_BODY;
}
- writer.println("
");
+ writer.println("
"
+ + " " + helpWord
+ + " ");
} else if (page != null) {
String fullURL = HelpUtil.constructPageURL(page, languageCode);
- writer.println("
");
+ writer.println("
"
+ + " " + helpWord
+ + " ");
} else {
HelpTag.log.error("HelpTag unable to write out due to unspecified values.");
@@ -161,7 +166,7 @@
.getServletContext());
return ctx;
}
-
+
/**
* @return
*
Index: lams_central/web/css/defaultHTML_learner.css
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/css/defaultHTML_learner.css,v
diff -u -r1.32.2.11 -r1.32.2.12
--- lams_central/web/css/defaultHTML_learner.css 12 Apr 2016 04:06:21 -0000 1.32.2.11
+++ lams_central/web/css/defaultHTML_learner.css 14 Apr 2016 13:25:05 -0000 1.32.2.12
@@ -93,6 +93,10 @@
border-radius: 0px;
box-shadow: 0 1px 1px rgba(8, 8, 8, 0.88);
}
+.panel-monitor-page {
+ border-radius: 0px;
+ box-shadow: 0 1px 1px rgba(8, 8, 8, 0.88);
+}
.panel-learner-page-title,
.panel-admin-page-title {
-moz-border-bottom-colors: none;
@@ -185,4 +189,62 @@
td.arrows{
width:35px;
text-align: center;
-}
\ No newline at end of file
+}
+/* Tabs are a cross between pills (colouring) and tab outlines. */
+.nav-tabs > li.active > a{
+ color:#fff !important;
+ background-color:#337ab7 !important;
+}
+.nav-tabs > li > a{
+ border:1px solid #ddd
+}
+/* Icons to show panel is collapsed */
+.collapsable-icon-right a:after {
+ font-family: FontAwesome;
+ content:"\f078";
+ float: right;
+ color: grey;
+ margin-right: 5px;
+}
+.collapsable-icon-right a.collapsed:after {
+ content:"\f054";
+}
+.collapsable-icon-left a:after {
+ font-family: FontAwesome;
+ content:"\f078";
+ float: left;
+ color: grey;
+ margin-right: 5px;
+}
+.collapsable-icon-left a.collapsed:after {
+ content:"\f054";
+}
+
+div.navbar-heading {
+ padding:0;
+}
+
+nav.navbar-heading {
+ border: 0;
+ margin: 0;
+ color: inherit;
+}
+
+.navbar-heading .divider {
+ height: 50px;
+ margin-left: 5px;
+ margin-right: 5px;
+ border-left: 1px solid #dddddd;
+}
+
+.navbar-heading .in .divider {
+ height: 1px;
+ margin-left: 5px;
+ margin-right: 5px;
+ margin-bottom: 5px;
+ border-top: 1px solid #dddddd;
+}
+
+.navbar-heading .in .navbar-text {
+ padding-left: 15px;
+}
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/AdvancedAccordian.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/HybridTab.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/HybridTabAction.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/HybridTabBody.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/WEB-INF/tags/HybridTabHeader.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_daco/web/WEB-INF/tags/Page.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/WEB-INF/tags/Attic/Page.tag,v
diff -u -r1.1.2.1 -r1.1.2.2
--- lams_tool_daco/web/WEB-INF/tags/Page.tag 18 Mar 2016 09:01:53 -0000 1.1.2.1
+++ lams_tool_daco/web/WEB-INF/tags/Page.tag 14 Apr 2016 13:25:48 -0000 1.1.2.2
@@ -12,6 +12,12 @@
+
+
+
+
Index: lams_tool_daco/web/WEB-INF/tags/Tab.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/WEB-INF/tags/Tab.tag,v
diff -u -r1.1.12.2 -r1.1.12.3
--- lams_tool_daco/web/WEB-INF/tags/Tab.tag 12 Apr 2016 01:15:41 -0000 1.1.12.2
+++ lams_tool_daco/web/WEB-INF/tags/Tab.tag 14 Apr 2016 13:25:48 -0000 1.1.12.3
@@ -34,7 +34,7 @@
<%@ attribute name="value" required="false" rtexprvalue="true"%>
<%@ attribute name="key" required="false" rtexprvalue="true"%>
<%@ attribute name="inactive" required="false" rtexprvalue="true"%>
-<%@ attribute name="methodCall" required="false" rtexprvalue="true"%>
+<%@ attribute name="methodCall" required="false" rtexprvalue="true"%>
<%@ taglib uri="tags-core" prefix="c"%>
<%@ taglib uri="tags-fmt" prefix="fmt"%>
@@ -86,4 +86,4 @@
class="disabled"
-
${tabTitle}
+
${tabTitle}
Index: lams_tool_daco/web/WEB-INF/tags/Tabs.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/WEB-INF/tags/Tabs.tag,v
diff -u -r1.1.12.3 -r1.1.12.4
--- lams_tool_daco/web/WEB-INF/tags/Tabs.tag 12 Apr 2016 04:07:05 -0000 1.1.12.3
+++ lams_tool_daco/web/WEB-INF/tags/Tabs.tag 14 Apr 2016 13:25:48 -0000 1.1.12.4
@@ -52,4 +52,23 @@
\ No newline at end of file
+
+
+<%--
+ 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;">
+
+--%>
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld,v
diff -u -r1.6.2.4 -r1.6.2.5
--- lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld 22 Mar 2016 07:10:27 -0000 1.6.2.4
+++ lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld 14 Apr 2016 13:25:48 -0000 1.6.2.5
@@ -446,8 +446,24 @@
TSTable
/WEB-INF/tags/TSTable.tag
+
+
+ HybridTab
+ /WEB-INF/tags/HybridTab.tag
+
+
+ HybridTabHeader
+ /WEB-INF/tags/HybridTabHeader.tag
+ HybridTabBody
+ /WEB-INF/tags/HybridTabBody.tag
+
+
+ AdvancedAccordian
+ /WEB-INF/tags/AdvancedAccordian.tag
+
+
ImgButtonWrapper
/WEB-INF/tags/ImgButtonWrapper.tag
Index: lams_tool_daco/web/common/jqueryheader.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/common/jqueryheader.jsp,v
diff -u -r1.1.2.3 -r1.1.2.4
--- lams_tool_daco/web/common/jqueryheader.jsp 10 Feb 2016 10:01:44 -0000 1.1.2.3
+++ lams_tool_daco/web/common/jqueryheader.jsp 14 Apr 2016 13:25:48 -0000 1.1.2.4
@@ -5,18 +5,21 @@
-
-
+<%--
+ --%>
+
-
+
+
+
\ No newline at end of file
Index: lams_tool_daco/web/common/tabbedheader.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/common/tabbedheader.jsp,v
diff -u -r1.2.12.2 -r1.2.12.3
--- lams_tool_daco/web/common/tabbedheader.jsp 22 Mar 2016 07:10:27 -0000 1.2.12.2
+++ lams_tool_daco/web/common/tabbedheader.jsp 14 Apr 2016 13:25:48 -0000 1.2.12.3
@@ -5,13 +5,16 @@
-
+
+<%--
+ --%>
-
+
+
Index: lams_tool_daco/web/includes/javascript/dacoMonitoring.js
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/includes/javascript/dacoMonitoring.js,v
diff -u -r1.2.12.1 -r1.2.12.2
--- lams_tool_daco/web/includes/javascript/dacoMonitoring.js 26 Jan 2016 23:41:06 -0000 1.2.12.1
+++ lams_tool_daco/web/includes/javascript/dacoMonitoring.js 14 Apr 2016 13:25:48 -0000 1.2.12.2
@@ -20,4 +20,18 @@
var url = gStatisticsUrl+"&reqID="+(new Date()).getTime();
$("#statisticArea").load(url);
}
-
\ No newline at end of file
+
+ function refreshPage() {
+ var tabID = getCurrentTabID();
+ if ( ! tabID ) {
+ tabID = currentTab;
+ }
+ var param = {"reqID":((new Date()).getTime())};
+ $( "#body" ).load(
+ gRefreshUrl,
+ param,
+ function() {
+ doSelectTab(tabID);
+ currentTab = tabID;
+ });
+ }
Index: lams_tool_daco/web/pages/authoring/authoring.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/authoring.jsp,v
diff -u -r1.7.2.2 -r1.7.2.3
--- lams_tool_daco/web/pages/authoring/authoring.jsp 22 Mar 2016 07:10:27 -0000 1.7.2.2
+++ lams_tool_daco/web/pages/authoring/authoring.jsp 14 Apr 2016 13:25:48 -0000 1.7.2.3
@@ -36,60 +36,57 @@
-
-
-
-
-
-
-
-
-
- <%@ include file="/common/messages.jsp"%>
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
+
+
+ <%@ include file="/common/messages.jsp"%>
+
+
+<%--
+ --%>
+
+
+
+
+
+
<%-- Default value
cancelButtonLabelKey="label.common.cancel"
saveButtonLabelKey="label.authoring.save.button"
cancelConfirmMsgKey="message.authoring.cancel.save"
accessMode="author"
--%>
-
-
+
-
-
-
+
\ No newline at end of file
Index: lams_tool_daco/web/pages/learning/learning.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/learning.jsp,v
diff -u -r1.12.2.4 -r1.12.2.5
--- lams_tool_daco/web/pages/learning/learning.jsp 12 Apr 2016 04:07:05 -0000 1.12.2.4
+++ lams_tool_daco/web/pages/learning/learning.jsp 14 Apr 2016 13:25:48 -0000 1.12.2.5
@@ -48,16 +48,16 @@