[Ils-source] r1514 - trunk/webapp
scribe at crosswire.org
scribe at crosswire.org
Thu Jan 5 05:56:39 MST 2017
Author: scribe
Date: 2017-01-05 05:56:38 -0700 (Thu, 05 Jan 2017)
New Revision: 1514
Modified:
trunk/webapp/report_employeecourseatt.jsp
Log:
only removed windows new lines
Modified: trunk/webapp/report_employeecourseatt.jsp
===================================================================
--- trunk/webapp/report_employeecourseatt.jsp 2016-12-18 17:45:47 UTC (rev 1513)
+++ trunk/webapp/report_employeecourseatt.jsp 2017-01-05 12:56:38 UTC (rev 1514)
@@ -236,26 +236,26 @@
}
function toggleCourseDetails(courseID) {
if ($('.subCourseID_'+courseID+':first').is(":visible")) {
- $('#courseHeader_'+courseID).html('+');
+ $('#courseHeader_'+courseID).html('+');
$('.subCourseID_'+courseID).hide();
}
else {
- $('#courseHeader_'+courseID).html('–');
+ $('#courseHeader_'+courseID).html('–');
$('.subCourseID_'+courseID).show();
}
}
function toggleCurriculumDetails(courseID) {
if ($('.subCurriculumID_'+courseID+':first').is(":visible")) {
- $('#curriculumHeader_'+courseID).html('˄<br>˅');
+ $('#curriculumHeader_'+courseID).html('˄<br>˅');
$('.subCurriculumID_'+courseID).hide();
$('.historyDetail').hide();
- $('.courseHeader').html('+');
+ $('.courseHeader').html('+');
}
else {
- $('#curriculumHeader_'+courseID).html('˅<br>˄');
+ $('#curriculumHeader_'+courseID).html('˅<br>˄');
$('.subCurriculumID_'+courseID).show();
$('.historyDetail').hide();
- $('.courseHeader').html('+');
+ $('.courseHeader').html('+');
}
}
@@ -298,19 +298,19 @@
<td><table class="tableDataList tableDataListStudentRecords">
<thead>
<tr>
- <th style="width: 16px !important;" title="Hide/Show Courses within Curriculum"></th>
- <th style="width: 22px !important;" title="Hide/Show All History for an Item"></th>
+ <th style="width: 16px !important;" title="Hide/Show Courses within Curriculum"></th>
+ <th style="width: 22px !important;" title="Hide/Show All History for an Item"></th>
<% if (managing) { %>
- <th style="width: 160px !important;">Comments</th>
+ <th style="width: 160px !important;">Comments</th>
<% } %>
- <th style="width: 60px !important;">Status</th>
- <th style="width: 60px !important;">No.</th>
- <th style="width: 160px !important;">Course Name</th>
- <th style="width: 70px !important;">Timeframe</th>
- <th style="width: 70px !important;">Start Date </th>
- <th style="width: 70px !important;">End Date</th>
- <th style="width: 50px !important;">Score %</th>
- <th style="width: 35px !important;">Cert</th>
+ <th style="width: 60px !important;">Status</th>
+ <th style="width: 60px !important;">No.</th>
+ <th style="width: 160px !important;">Course Name</th>
+ <th style="width: 70px !important;">Timeframe</th>
+ <th style="width: 70px !important;">Start Date </th>
+ <th style="width: 70px !important;">End Date</th>
+ <th style="width: 50px !important;">Score %</th>
+ <th style="width: 35px !important;">Cert</th>
</tr>
</thead>
<tbody>
@@ -398,7 +398,7 @@
if (headerAddition != null) out.write(headerAddition);
out.write("</td><td>");
if (moreHTML.length() > 0) {
- out.write("<span class=\"courseHeader\" title=\"Show / Hide history for this record.\" id=\"courseHeader_"+ca.getCourseAttemptCourseID()+"\" onclick=\"toggleCourseDetails('"+ca.getCourseAttemptCourseID()+"');return false;\">–</span>");
+ out.write("<span class=\"courseHeader\" title=\"Show / Hide history for this record.\" id=\"courseHeader_"+ca.getCourseAttemptCourseID()+"\" onclick=\"toggleCourseDetails('"+ca.getCourseAttemptCourseID()+"');return false;\">–</span>");
}
out.write("</td>");
out.write(html);
@@ -413,7 +413,7 @@
Logger logger = Logger.getLogger("getCurriculumHTML");
StringWriter out = new StringWriter();
- String headerAddition = ("<span class=\"curHeader\" id=\"curriculumHeader_"+caCur.getCourseAttemptCourseID()+"\" title=\"Show / Hide Courses within this Curriculum\" onclick=\"toggleCurriculumDetails('"+caCur.getCourseAttemptCourseID()+"');return false;\">˅<br>˄</span>");
+ String headerAddition = ("<span class=\"curHeader\" id=\"curriculumHeader_"+caCur.getCourseAttemptCourseID()+"\" title=\"Show / Hide Courses within this Curriculum\" onclick=\"toggleCurriculumDetails('"+caCur.getCourseAttemptCourseID()+"');return false;\">˅<br>˄</span>");
String html = getCourseHTML(courseAttempts, caCur, managing, user, wordNum, headerAddition, null, false, courseCurriculum, curriculaList, courses, courseCourseAttempts);
String moreHTML = "";
for (int j = 0; j < courseAttempts.size(); ++j) {
More information about the Ils-source
mailing list